Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse") translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001163/0.001163, allocations: 115.8 kB / 16.38 MB, free: 6.016 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001148/0.001148, allocations: 189.1 kB / 17.31 MB, free: 5.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.481/1.481, allocations: 205.1 MB / 223.2 MB, free: 12.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.83/1.83, allocations: 292.3 MB / 0.5496 GB, free: 17.43 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001489/0.001489, allocations: 76.11 kB / 0.673 GB, free: 5.855 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.293/0.2945, allocations: 114.6 MB / 0.7848 GB, free: 3.18 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse): time 0.002084/0.2967, allocations: 0.7354 MB / 0.7855 GB, free: 2.445 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.00133/0.298, allocations: 1.117 MB / 0.7866 GB, free: 1.312 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.445e-05/0.2981, allocations: 4 kB / 0.7866 GB, free: 1.309 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.149e-05/0.2981, allocations: 3.938 kB / 0.7866 GB, free: 1.305 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 7.741e-05/0.2982, allocations: 15.86 kB / 0.7867 GB, free: 1.289 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004497/0.2987, allocations: 130.9 kB / 0.7868 GB, free: 1.164 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001763/0.2989, allocations: 139.7 kB / 0.7869 GB, free: 1.027 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 9.589e-05/0.299, allocations: 12 kB / 0.7869 GB, free: 1.016 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 7.456e-05/0.299, allocations: 51.89 kB / 0.787 GB, free: 0.9648 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 9.956e-05/0.2991, allocations: 35.89 kB / 0.787 GB, free: 0.9297 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.395e-05/0.2992, allocations: 12 kB / 0.787 GB, free: 0.918 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 7.125e-05/0.2992, allocations: 27.92 kB / 0.7871 GB, free: 0.8906 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 2.062e-05/0.2993, allocations: 11.94 kB / 0.7871 GB, free: 0.8789 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 6.289e-05/0.2993, allocations: 39.89 kB / 0.7871 GB, free: 0.8398 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001775/0.2995, allocations: 135.6 kB / 0.7872 GB, free: 0.707 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.2995, allocations: 3.984 kB / 0.7872 GB, free: 0.7031 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.443e-06/0.2995, allocations: 0 / 0.7872 GB, free: 0.7031 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 4.539e-06/0.2996, allocations: 8 kB / 0.7872 GB, free: 0.6953 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005181/0.3001, allocations: 393 kB / 0.7876 GB, free: 260 kB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.443e-05/0.3001, allocations: 8.031 kB / 0.7876 GB, free: 252 kB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.871e-05/0.3002, allocations: 4.938 kB / 0.7876 GB, free: 248 kB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001329/0.3003, allocations: 176.3 kB / 0.7878 GB, free: 32 kB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.035e-05/0.3004, allocations: 8.375 kB / 0.7878 GB, free: 24 kB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.857e-05/0.3004, allocations: 4.375 kB / 0.7878 GB, free: 20 kB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3385/0.6389, allocations: 46.19 kB / 0.7879 GB, free: 48.96 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.708e-05/0.639, allocations: 3 kB / 0.7879 GB, free: 48.96 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.839e-05/0.639, allocations: 1.281 kB / 0.7879 GB, free: 48.96 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.254e-06/0.639, allocations: 0.75 kB / 0.7879 GB, free: 48.96 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.032e-05/0.6391, allocations: 12.09 kB / 0.7879 GB, free: 48.96 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004724/0.6396, allocations: 340.2 kB / 0.7882 GB, free: 48.69 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 5.359e-05/0.6396, allocations: 32.11 kB / 0.7882 GB, free: 48.67 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.22e-05/0.6397, allocations: 13.17 kB / 0.7882 GB, free: 48.66 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.215e-05/0.6397, allocations: 0 / 0.7882 GB, free: 48.66 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001251/0.6398, allocations: 64.17 kB / 0.7883 GB, free: 48.61 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=4): time 1.513e-06/0.6398, allocations: 0 / 0.7883 GB, free: 48.61 MB / 0.6544 GB Notification: Performance of matching and sorting (n=4): time 0.0002095/0.64, allocations: 82.36 kB / 0.7884 GB, free: 48.58 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.045e-05/0.6401, allocations: 52.41 kB / 0.7884 GB, free: 48.52 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.473e-05/0.6402, allocations: 128.6 kB / 0.7886 GB, free: 48.42 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.821e-05/0.6402, allocations: 28.39 kB / 0.7886 GB, free: 48.39 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 4.281e-05/0.6402, allocations: 90.78 kB / 0.7887 GB, free: 48.31 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.239e-05/0.6403, allocations: 10.47 kB / 0.7887 GB, free: 48.31 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.161e-05/0.6403, allocations: 33.91 kB / 0.7887 GB, free: 48.29 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 4.765e-05/0.6404, allocations: 320.8 kB / 0.789 GB, free: 47.98 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.074e-05/0.6405, allocations: 38.08 kB / 0.789 GB, free: 47.98 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.849e-05/0.6406, allocations: 55.48 kB / 0.7891 GB, free: 47.95 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.661e-05/0.6407, allocations: 87.39 kB / 0.7892 GB, free: 47.9 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.6407, allocations: 2.062 kB / 0.7892 GB, free: 47.9 MB / 0.6544 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002415/0.6409, allocations: 163.8 kB / 0.7893 GB, free: 47.84 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 3.193e-05/0.641, allocations: 41.12 kB / 0.7894 GB, free: 47.8 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.641, allocations: 1.969 kB / 0.7894 GB, free: 47.8 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.455e-05/0.641, allocations: 7.375 kB / 0.7894 GB, free: 47.8 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.004e-05/0.641, allocations: 2.906 kB / 0.7894 GB, free: 47.8 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.955e-06/0.6411, allocations: 0.9844 kB / 0.7894 GB, free: 47.8 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001884/0.6412, allocations: 26.84 kB / 0.7894 GB, free: 47.8 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.922e-05/0.6413, allocations: 9.875 kB / 0.7894 GB, free: 47.8 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,pulse.booPul.y,$PRE.pulse.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.643e-05/0.6413, allocations: 120.1 kB / 0.7895 GB, free: 47.69 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.196e-05/0.6414, allocations: 7.703 kB / 0.7896 GB, free: 47.68 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.508e-05/0.6414, allocations: 10.28 kB / 0.7896 GB, free: 47.68 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.6414, allocations: 0 / 0.7896 GB, free: 47.68 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.6414, allocations: 0 / 0.7896 GB, free: 47.68 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.5e-05/0.6414, allocations: 89.56 kB / 0.7896 GB, free: 47.58 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.523e-05/0.6415, allocations: 4.984 kB / 0.7897 GB, free: 47.58 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.818e-05/0.6415, allocations: 0 / 0.7897 GB, free: 47.58 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.517e-05/0.6415, allocations: 6.375 kB / 0.7897 GB, free: 47.58 MB / 0.6544 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 9.416e-05/0.6416, allocations: 142.2 kB / 0.7898 GB, free: 47.47 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 9.93e-05/0.6417, allocations: 237.6 kB / 0.79 GB, free: 47.27 MB / 0.6544 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 2.728e-05/0.6418, allocations: 12.03 kB / 0.79 GB, free: 47.27 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 3.606e-05/0.6418, allocations: 101.2 kB / 0.7901 GB, free: 47.19 MB / 0.6544 GB Notification: Performance of Backend: time 1.142e-06/0.6418, allocations: 2.625 kB / 0.7901 GB, free: 47.19 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0004706/0.6423, allocations: 215 kB / 0.7903 GB, free: 47.07 MB / 0.6544 GB Notification: Performance of SimCode: time 0.0004815/0.6428, allocations: 0.5946 MB / 0.7909 GB, free: 46.49 MB / 0.6544 GB Notification: Performance of Templates: time 0.004083/0.6469, allocations: 1.378 MB / 0.7923 GB, free: 46.47 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.pipe 2>&1)