Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.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.TimeTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable") translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001507/0.001507, allocations: 109.7 kB / 16.37 MB, free: 6.262 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.001797/0.001797, allocations: 189.7 kB / 17.3 MB, free: 5.848 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.628/1.628, allocations: 205.1 MB / 223.2 MB, free: 12.2 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.877/1.877, allocations: 292.3 MB / 0.5496 GB, free: 17.5 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.0016/0.0016, allocations: 71.89 kB / 0.673 GB, free: 5.785 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2093/0.2109, allocations: 114.6 MB / 0.7848 GB, free: 3.113 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable): time 0.003729/0.2147, allocations: 2.472 MB / 0.7872 GB, free: 0.6211 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.4559/0.6706, allocations: 1.467 MB / 0.7887 GB, free: 46.51 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003717/0.6711, allocations: 11.28 kB / 0.7887 GB, free: 46.51 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.000651/0.6718, allocations: 318.9 kB / 0.789 GB, free: 46.5 MB / 0.6544 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.000728/0.6725, allocations: 333.7 kB / 0.7893 GB, free: 46.49 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009751/0.6735, allocations: 387.7 kB / 0.7897 GB, free: 46.48 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0008166/0.6743, allocations: 0.7101 MB / 0.7904 GB, free: 46.48 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002161/0.6745, allocations: 75.42 kB / 0.7904 GB, free: 46.47 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003771/0.6749, allocations: 319.5 kB / 0.7907 GB, free: 46.42 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003374/0.6753, allocations: 314 kB / 0.791 GB, free: 46.37 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 6.055e-05/0.6753, allocations: 30.25 kB / 0.7911 GB, free: 46.37 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002458/0.6756, allocations: 92.8 kB / 0.7912 GB, free: 46.36 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001725/0.6758, allocations: 189.5 kB / 0.7913 GB, free: 46.34 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0002339/0.676, allocations: 269.5 kB / 0.7916 GB, free: 46.23 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0007135/0.6767, allocations: 0.7406 MB / 0.7923 GB, free: 46.09 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.923e-06/0.6767, allocations: 2.406 kB / 0.7923 GB, free: 46.09 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.704e-06/0.6768, allocations: 0 / 0.7923 GB, free: 46.09 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 9.548e-06/0.6768, allocations: 0 / 0.7923 GB, free: 46.09 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.001417/0.6782, allocations: 1.003 MB / 0.7933 GB, free: 45.42 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.677e-05/0.6782, allocations: 10.47 kB / 0.7933 GB, free: 45.42 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001281/0.6784, allocations: 75.09 kB / 0.7934 GB, free: 45.38 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007919/0.6792, allocations: 0.63 MB / 0.794 GB, free: 45.07 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.168e-05/0.6792, allocations: 11.28 kB / 0.794 GB, free: 45.07 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.588e-05/0.6793, allocations: 18.06 kB / 0.794 GB, free: 45.07 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003637/0.6796, allocations: 199.5 kB / 0.7942 GB, free: 45 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.195e-05/0.6797, allocations: 0 / 0.7942 GB, free: 45 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.051e-05/0.6797, allocations: 6.875 kB / 0.7942 GB, free: 45 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.422e-06/0.6797, allocations: 4.375 kB / 0.7942 GB, free: 45 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000241/0.6799, allocations: 98 kB / 0.7943 GB, free: 45 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001267/0.6812, allocations: 1.055 MB / 0.7954 GB, free: 44.39 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005245/0.6818, allocations: 275.7 kB / 0.7956 GB, free: 44.28 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001845/0.6819, allocations: 103.7 kB / 0.7957 GB, free: 44.24 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 3.858e-05/0.682, allocations: 7.062 kB / 0.7957 GB, free: 44.24 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003694/0.6824, allocations: 231.2 kB / 0.7959 GB, free: 44.15 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=25): time 1.763e-06/0.6824, allocations: 0.6875 kB / 0.7959 GB, free: 44.15 MB / 0.6544 GB Notification: Performance of matching and sorting (n=25): time 0.0008955/0.6833, allocations: 426.7 kB / 0.7963 GB, free: 44.08 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.389e-05/0.6834, allocations: 158.4 kB / 0.7965 GB, free: 43.89 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001177/0.6845, allocations: 1.038 MB / 0.7975 GB, free: 43.75 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 3.409e-05/0.6846, allocations: 39.08 kB / 0.7975 GB, free: 43.72 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002113/0.6848, allocations: 282.7 kB / 0.7978 GB, free: 43.63 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 6.863e-05/0.6849, allocations: 80.53 kB / 0.7979 GB, free: 43.59 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001883/0.6851, allocations: 143.2 kB / 0.798 GB, free: 43.57 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 8.529e-05/0.6852, allocations: 337.2 kB / 0.7984 GB, free: 43.26 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003616/0.6855, allocations: 210.4 kB / 0.7986 GB, free: 43.23 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004166/0.686, allocations: 308.8 kB / 0.7988 GB, free: 43.08 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006453/0.6866, allocations: 412.7 kB / 0.7992 GB, free: 42.87 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.378e-06/0.6866, allocations: 0 / 0.7992 GB, free: 42.87 MB / 0.6544 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001209/0.6878, allocations: 0.6614 MB / 0.7999 GB, free: 42.63 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.402e-05/0.6879, allocations: 6.953 kB / 0.7999 GB, free: 42.63 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.051e-05/0.6879, allocations: 5.156 kB / 0.7999 GB, free: 42.63 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.45e-05/0.6879, allocations: 2.469 kB / 0.7999 GB, free: 42.63 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004971/0.6884, allocations: 118.2 kB / 0.8 GB, free: 42.63 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.675e-05/0.6885, allocations: 4.906 kB / 0.8 GB, free: 42.63 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003416/0.6888, allocations: 46.95 kB / 0.8001 GB, free: 42.6 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.004e-05/0.6889, allocations: 30.91 kB / 0.8001 GB, free: 42.59 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 25 ($PRE.timTabLin.tab.nextTimeEvent,$whenCondition5,$PRE.timTabLinHol.tab.nextTimeEvent,$whenCondition4,$PRE.timTabLinDer.tab.nextTimeEvent,$whenCondition3,$PRE.timTabCon.tab.nextTimeEvent,$whenCondition2,$PRE.timTabLinCon.tab.nextTimeEvent,$whenCondition1,timTabLinCon.tab.nextTimeEventScaled,$PRE.timTabLinCon.tab.nextTimeEventScaled,timTabLinCon.tab.nextTimeEvent,timTabCon.tab.nextTimeEventScaled,$PRE.timTabCon.tab.nextTimeEventScaled,timTabCon.tab.nextTimeEvent,timTabLinDer.tab.nextTimeEventScaled,$PRE.timTabLinDer.tab.nextTimeEventScaled,timTabLinDer.tab.nextTimeEvent,timTabLinHol.tab.nextTimeEventScaled,$PRE.timTabLinHol.tab.nextTimeEventScaled,timTabLinHol.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,$PRE.timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (75): * Single equations (assignments): 75 * Array equations: 0 * Algorithm blocks: 0 * 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.0003631/0.6892, allocations: 280.6 kB / 0.8004 GB, free: 42.42 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001155/0.6894, allocations: 72.41 kB / 0.8004 GB, free: 42.38 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001167/0.6895, allocations: 72.67 kB / 0.8005 GB, free: 42.35 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.025e-06/0.6895, allocations: 5.531 kB / 0.8005 GB, free: 42.35 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.6895, allocations: 0 / 0.8005 GB, free: 42.35 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001431/0.6897, allocations: 156.5 kB / 0.8007 GB, free: 42.21 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.649e-05/0.6897, allocations: 13.36 kB / 0.8007 GB, free: 42.2 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001737/0.6899, allocations: 16.56 kB / 0.8007 GB, free: 42.2 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.996e-05/0.69, allocations: 25.47 kB / 0.8007 GB, free: 42.2 MB / 0.6544 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007456/0.6908, allocations: 0.6672 MB / 0.8014 GB, free: 41.71 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008033/0.6916, allocations: 0.809 MB / 0.8021 GB, free: 41.09 MB / 0.6544 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002443/0.6918, allocations: 101.1 kB / 0.8022 GB, free: 41.06 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0008926/0.6927, allocations: 0.6066 MB / 0.8028 GB, free: 40.83 MB / 0.6544 GB Notification: Performance of Backend: time 1.102e-06/0.6928, allocations: 1.125 kB / 0.8028 GB, free: 40.83 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.002984/0.6957, allocations: 0.8786 MB / 0.8037 GB, free: 40.64 MB / 0.6544 GB Notification: Performance of SimCode: time 0.002774/0.6985, allocations: 1.625 MB / 0.8053 GB, free: 39.64 MB / 0.6544 GB Notification: Performance of Templates: time 0.02106/0.7196, allocations: 7.937 MB / 0.813 GB, free: 39.11 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.pipe 2>&1)