Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset.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.Validation.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001084/0.001084, allocations: 105.2 kB / 16.36 MB, free: 6.312 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.001013/0.001013, allocations: 189.5 kB / 17.3 MB, free: 5.871 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.544/1.544, allocations: 205.1 MB / 223.2 MB, free: 12.22 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 2.032/2.032, allocations: 292.3 MB / 0.5496 GB, free: 17.53 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.001726/0.001726, allocations: 66.09 kB / 0.6729 GB, free: 5.855 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2646/0.2664, allocations: 114.6 MB / 0.7848 GB, free: 3.176 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset): time 0.002255/0.2686, allocations: 0.8851 MB / 0.7857 GB, free: 2.285 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001484/0.2701, allocations: 1.18 MB / 0.7868 GB, free: 1.09 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.716e-05/0.2702, allocations: 0 / 0.7868 GB, free: 1.09 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 4.52e-05/0.2703, allocations: 7.875 kB / 0.7868 GB, free: 1.082 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 7.867e-05/0.2704, allocations: 23.78 kB / 0.7869 GB, free: 1.059 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005552/0.2709, allocations: 147.4 kB / 0.787 GB, free: 0.918 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0002229/0.2712, allocations: 179.6 kB / 0.7872 GB, free: 0.7422 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001365/0.2713, allocations: 29.11 kB / 0.7872 GB, free: 0.7148 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001131/0.2714, allocations: 71.81 kB / 0.7873 GB, free: 0.6445 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001142/0.2716, allocations: 63.73 kB / 0.7873 GB, free: 0.582 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 3.157e-05/0.2716, allocations: 19.94 kB / 0.7874 GB, free: 0.5625 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 7.92e-05/0.2717, allocations: 27.98 kB / 0.7874 GB, free: 0.5352 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 3.295e-05/0.2717, allocations: 27.91 kB / 0.7874 GB, free: 0.5078 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 8.169e-05/0.2718, allocations: 67.72 kB / 0.7875 GB, free: 452 kB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002162/0.272, allocations: 171.5 kB / 0.7876 GB, free: 280 kB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.272, allocations: 0 / 0.7876 GB, free: 280 kB / 0.6544 GB Notification: Performance of FrontEnd: time 2.134e-06/0.272, allocations: 0 / 0.7876 GB, free: 280 kB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.15e-06/0.2721, allocations: 0 / 0.7876 GB, free: 280 kB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.5762/0.8482, allocations: 450.3 kB / 0.7881 GB, free: 49.43 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 7.356e-05/0.8483, allocations: 9.531 kB / 0.7881 GB, free: 49.43 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.622e-05/0.8484, allocations: 14 kB / 0.7881 GB, free: 49.43 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006572/0.8491, allocations: 248.9 kB / 0.7883 GB, free: 49.23 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.153e-05/0.8491, allocations: 12.56 kB / 0.7883 GB, free: 49.23 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.734e-05/0.8492, allocations: 15.25 kB / 0.7883 GB, free: 49.23 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002513/0.8494, allocations: 86.45 kB / 0.7884 GB, free: 49.2 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.204e-05/0.8495, allocations: 4.875 kB / 0.7884 GB, free: 49.19 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.859e-05/0.8495, allocations: 5.859 kB / 0.7884 GB, free: 49.19 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.64e-06/0.8495, allocations: 0.875 kB / 0.7884 GB, free: 49.19 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001885/0.8497, allocations: 50.95 kB / 0.7885 GB, free: 49.19 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008459/0.8505, allocations: 393.1 kB / 0.7889 GB, free: 48.91 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000135/0.8507, allocations: 41.34 kB / 0.7889 GB, free: 48.89 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.411e-05/0.8508, allocations: 26.17 kB / 0.7889 GB, free: 48.88 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.495e-05/0.8508, allocations: 0 / 0.7889 GB, free: 48.88 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003937/0.8512, allocations: 104 kB / 0.789 GB, free: 48.84 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=10): time 5.571e-06/0.8513, allocations: 2.578 kB / 0.789 GB, free: 48.84 MB / 0.6544 GB Notification: Performance of matching and sorting (n=10): time 0.0004925/0.8518, allocations: 137.6 kB / 0.7892 GB, free: 48.8 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.918e-05/0.8518, allocations: 56.44 kB / 0.7892 GB, free: 48.73 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000142/0.8519, allocations: 143.7 kB / 0.7894 GB, free: 48.63 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 3.724e-05/0.852, allocations: 33.11 kB / 0.7894 GB, free: 48.6 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 8.867e-05/0.8521, allocations: 105.4 kB / 0.7895 GB, free: 48.51 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.444e-05/0.8521, allocations: 29.47 kB / 0.7895 GB, free: 48.5 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.173e-05/0.8522, allocations: 46.23 kB / 0.7896 GB, free: 48.48 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001044/0.8523, allocations: 321.4 kB / 0.7899 GB, free: 48.17 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001728/0.8525, allocations: 57.39 kB / 0.7899 GB, free: 48.17 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002059/0.8527, allocations: 126.2 kB / 0.79 GB, free: 48.07 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003777/0.8531, allocations: 203.5 kB / 0.7902 GB, free: 47.93 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.037e-06/0.8532, allocations: 6.344 kB / 0.7902 GB, free: 47.93 MB / 0.6544 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005351/0.8537, allocations: 244.3 kB / 0.7905 GB, free: 47.86 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 5.912e-05/0.8538, allocations: 36.28 kB / 0.7905 GB, free: 47.83 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.036e-05/0.8538, allocations: 3.812 kB / 0.7905 GB, free: 47.83 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.628e-05/0.8538, allocations: 4.375 kB / 0.7905 GB, free: 47.83 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001233/0.854, allocations: 27.94 kB / 0.7905 GB, free: 47.83 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.39e-05/0.854, allocations: 10 kB / 0.7906 GB, free: 47.83 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002481/0.8542, allocations: 45.44 kB / 0.7906 GB, free: 47.82 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.01e-05/0.8543, allocations: 12.59 kB / 0.7906 GB, free: 47.82 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 7 (booleanPulse.y,$PRE.booleanPulse.y,$whenCondition4,$whenCondition1,$whenCondition2,sampleTrigger.y,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 15 * 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 0.0001187/0.8544, allocations: 126.1 kB / 0.7907 GB, free: 47.71 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.77e-05/0.8544, allocations: 12.89 kB / 0.7907 GB, free: 47.7 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.775e-05/0.8545, allocations: 18.53 kB / 0.7908 GB, free: 47.7 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.979e-06/0.8545, allocations: 0.7812 kB / 0.7908 GB, free: 47.7 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-06/0.8545, allocations: 0 / 0.7908 GB, free: 47.7 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 4.709e-05/0.8546, allocations: 90.17 kB / 0.7908 GB, free: 47.6 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.049e-05/0.8546, allocations: 4.703 kB / 0.7908 GB, free: 47.6 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.135e-05/0.8547, allocations: 4.625 kB / 0.7909 GB, free: 47.6 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.294e-05/0.8548, allocations: 13.69 kB / 0.7909 GB, free: 47.6 MB / 0.6544 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004221/0.8552, allocations: 204.1 kB / 0.7911 GB, free: 47.5 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005389/0.8558, allocations: 334 kB / 0.7914 GB, free: 47.28 MB / 0.6544 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001412/0.8559, allocations: 40.64 kB / 0.7914 GB, free: 47.28 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 7.159e-05/0.856, allocations: 110.1 kB / 0.7915 GB, free: 47.21 MB / 0.6544 GB Notification: Performance of Backend: time 1.583e-06/0.856, allocations: 0 / 0.7915 GB, free: 47.21 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0008009/0.8568, allocations: 239.2 kB / 0.7918 GB, free: 47.08 MB / 0.6544 GB Notification: Performance of SimCode: time 0.0008234/0.8577, allocations: 0.7077 MB / 0.7924 GB, free: 46.45 MB / 0.6544 GB Notification: Performance of Templates: time 0.005686/0.8634, allocations: 1.748 MB / 0.7941 GB, free: 46.38 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset.pipe 2>&1)