Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.942/2.942, allocations: 287.3 MB / 302.3 MB, free: 8.297 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001545/0.001545, allocations: 182.1 kB / 370.8 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.389/2.389, allocations: 205.4 MB / 0.6295 GB, free: 10.61 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001257/0.001256, allocations: 94.95 kB / 0.7428 GB, free: 6.613 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007682/0.0007684, allocations: 18.73 kB / 0.8657 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2753/0.2761, allocations: 115.3 MB / 0.9782 GB, free: 28.36 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset): time 0.001496/0.2776, allocations: 0.5727 MB / 0.9788 GB, free: 27.79 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002447/0.2801, allocations: 1.15 MB / 0.9799 GB, free: 26.62 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.637e-05/0.2803, allocations: 0 / 0.9799 GB, free: 26.62 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 3.181e-05/0.2803, allocations: 3.938 kB / 0.9799 GB, free: 26.62 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.000159/0.2805, allocations: 15.97 kB / 0.9799 GB, free: 26.6 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009148/0.2814, allocations: 127.1 kB / 0.98 GB, free: 26.48 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002178/0.2817, allocations: 91.83 kB / 0.9801 GB, free: 26.39 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001766/0.2819, allocations: 33.05 kB / 0.9802 GB, free: 26.36 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001469/0.282, allocations: 51.83 kB / 0.9802 GB, free: 26.31 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001552/0.2822, allocations: 51.81 kB / 0.9803 GB, free: 26.26 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 5.077e-05/0.2823, allocations: 8 kB / 0.9803 GB, free: 26.25 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000129/0.2824, allocations: 23.97 kB / 0.9803 GB, free: 26.23 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 4.376e-05/0.2825, allocations: 15.92 kB / 0.9803 GB, free: 26.21 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 7.518e-05/0.2826, allocations: 49.64 kB / 0.9803 GB, free: 26.16 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002653/0.2828, allocations: 112 kB / 0.9805 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.2829, allocations: 0 / 0.9805 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.785e-06/0.2829, allocations: 0 / 0.9805 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.633e-06/0.2829, allocations: 0 / 0.9805 GB, free: 26.05 MB / 0.6198 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.001035/0.284, allocations: 428.7 kB / 0.9809 GB, free: 25.57 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.748e-05/0.284, allocations: 12.03 kB / 0.9809 GB, free: 25.56 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001052/0.2842, allocations: 19.89 kB / 0.9809 GB, free: 25.54 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009092/0.2851, allocations: 258.6 kB / 0.9811 GB, free: 25.25 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.64e-05/0.2851, allocations: 8 kB / 0.9811 GB, free: 25.24 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.731e-05/0.2852, allocations: 12 kB / 0.9812 GB, free: 25.23 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003057/0.2855, allocations: 95.61 kB / 0.9812 GB, free: 25.13 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.116e-05/0.2855, allocations: 7.938 kB / 0.9813 GB, free: 25.12 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.729e-05/0.2856, allocations: 0 / 0.9813 GB, free: 25.12 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.352e-06/0.2856, allocations: 0 / 0.9813 GB, free: 25.12 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003029/0.2859, allocations: 63.89 kB / 0.9813 GB, free: 25.06 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009186/0.2868, allocations: 388.4 kB / 0.9817 GB, free: 24.63 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001793/0.287, allocations: 58.44 kB / 0.9817 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.536e-05/0.287, allocations: 3.984 kB / 0.9817 GB, free: 24.56 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003195/0.2874, allocations: 91.48 kB / 0.9818 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=10): time 2.004e-06/0.2874, allocations: 0 / 0.9818 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of matching and sorting (n=10): time 0.0006338/0.288, allocations: 145.5 kB / 0.982 GB, free: 24.31 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.086e-05/0.2881, allocations: 55.41 kB / 0.982 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001211/0.2882, allocations: 147.8 kB / 0.9822 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.166e-05/0.2883, allocations: 25.7 kB / 0.9822 GB, free: 24.06 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 7.177e-05/0.2883, allocations: 116.1 kB / 0.9823 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.849e-05/0.2884, allocations: 35.53 kB / 0.9823 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.987e-05/0.2884, allocations: 0 / 0.9823 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.335e-05/0.2885, allocations: 326.8 kB / 0.9826 GB, free: 23.58 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002376/0.2887, allocations: 51.91 kB / 0.9827 GB, free: 23.53 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002741/0.289, allocations: 131.1 kB / 0.9828 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002652/0.2893, allocations: 97.61 kB / 0.9829 GB, free: 23.26 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.649e-06/0.2893, allocations: 3.953 kB / 0.9829 GB, free: 23.26 MB / 0.6198 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0006962/0.29, allocations: 243 kB / 0.9832 GB, free: 23.01 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 4.168e-05/0.2901, allocations: 44.25 kB / 0.9832 GB, free: 22.96 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/0.2901, allocations: 8 kB / 0.9832 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.8e-05/0.2901, allocations: 4 kB / 0.9832 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001905/0.2903, allocations: 31.92 kB / 0.9832 GB, free: 22.92 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.889e-06/0.2903, allocations: 4 kB / 0.9832 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003891/0.2907, allocations: 55.8 kB / 0.9833 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.414e-05/0.2908, allocations: 16.38 kB / 0.9833 GB, free: 22.84 MB / 0.6198 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 ($whenCondition4,$PRE.booleanPulse.y,booleanPulse.y,$whenCondition1,$whenCondition2,$whenCondition3,sampleTrigger.y) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001147/0.2909, allocations: 129.8 kB / 0.9834 GB, free: 22.71 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.322e-05/0.291, allocations: 11.86 kB / 0.9834 GB, free: 22.7 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.127e-05/0.291, allocations: 12.72 kB / 0.9835 GB, free: 22.69 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.291, allocations: 3.938 kB / 0.9835 GB, free: 22.68 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.291, allocations: 0 / 0.9835 GB, free: 22.68 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.291, allocations: 4 kB / 0.9835 GB, free: 22.68 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007861/0.2918, allocations: 414.2 kB / 0.9839 GB, free: 22.22 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.2919, allocations: 0 / 0.9839 GB, free: 22.22 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001632/0.292, allocations: 15.98 kB / 0.9839 GB, free: 22.2 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.18e-06/0.2921, allocations: 4 kB / 0.9839 GB, free: 22.2 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.723e-05/0.2921, allocations: 11.94 kB / 0.9839 GB, free: 22.19 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.355e-06/0.2921, allocations: 0 / 0.9839 GB, free: 22.19 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.2921, allocations: 0 / 0.9839 GB, free: 22.19 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005997/0.2927, allocations: 251.3 kB / 0.9841 GB, free: 21.93 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.371e-05/0.2928, allocations: 85.02 kB / 0.9842 GB, free: 21.82 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.617e-05/0.2928, allocations: 0 / 0.9842 GB, free: 21.82 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001499/0.293, allocations: 16.03 kB / 0.9842 GB, free: 21.81 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.328e-05/0.293, allocations: 7.984 kB / 0.9842 GB, free: 21.8 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.369e-05/0.293, allocations: 4 kB / 0.9842 GB, free: 21.8 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 6.695e-05/0.2931, allocations: 103.8 kB / 0.9843 GB, free: 21.7 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.273e-06/0.2931, allocations: 0 / 0.9843 GB, free: 21.7 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004195/0.2936, allocations: 43.83 kB / 0.9844 GB, free: 21.65 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (intDef.y,intWitRes1.y,intWitRes2.y) * Number of discrete variables: 6 (sampleTrigger.y,$whenCondition4,$whenCondition3,$whenCondition1,$whenCondition2,booleanPulse.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001762/0.2937, allocations: 103.2 kB / 0.9845 GB, free: 21.54 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0005643/0.2943, allocations: 191.2 kB / 0.9847 GB, free: 21.34 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.2943, allocations: 0 / 0.9847 GB, free: 21.34 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001843/0.2945, allocations: 44.16 kB / 0.9847 GB, free: 21.3 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000297/0.2948, allocations: 24.75 kB / 0.9847 GB, free: 21.27 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006425/0.2955, allocations: 297.7 kB / 0.985 GB, free: 20.96 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000196/0.2957, allocations: 0.7126 MB / 0.9857 GB, free: 20.22 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001164/0.2958, allocations: 16.64 kB / 0.9857 GB, free: 20.21 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.052e-05/0.2959, allocations: 15.44 kB / 0.9857 GB, free: 20.19 MB / 0.6198 GB Notification: Performance of SimCode: time 7.01e-07/0.2959, allocations: 0 / 0.9857 GB, free: 20.19 MB / 0.6198 GB Notification: Performance of Templates: time 0.005493/0.3014, allocations: 1.465 MB / 0.9872 GB, free: 18.75 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset.pipe 2>&1)