Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen") translateModel(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00127/0.00127, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001553/0.001553, allocations: 193.3 kB / 16.13 MB, free: 6.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.496/1.496, allocations: 222.9 MB / 239.8 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.982/2.982, allocations: 472.6 MB / 0.7447 GB, free: 4.898 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001255/0.001255, allocations: 72.22 kB / 0.9114 GB, free: 33.62 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3763/0.3776, allocations: 159.9 MB / 1.068 GB, free: 10.86 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen): time 0.002637/0.3802, allocations: 1.562 MB / 1.069 GB, free: 9.289 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001192/0.3815, allocations: 0.74 MB / 1.07 GB, free: 8.543 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.192e-05/0.3815, allocations: 0 / 1.07 GB, free: 8.543 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.553e-05/0.3815, allocations: 3.938 kB / 1.07 GB, free: 8.539 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.328e-05/0.3816, allocations: 7.922 kB / 1.07 GB, free: 8.531 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004745/0.3821, allocations: 103.8 kB / 1.07 GB, free: 8.43 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 9.063e-05/0.3822, allocations: 71.83 kB / 1.07 GB, free: 8.359 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 9.15e-05/0.3823, allocations: 19.97 kB / 1.07 GB, free: 8.34 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 7.687e-05/0.3824, allocations: 23.92 kB / 1.07 GB, free: 8.316 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 6.442e-05/0.3825, allocations: 43.77 kB / 1.07 GB, free: 8.273 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.057e-05/0.3825, allocations: 4 kB / 1.07 GB, free: 8.27 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001878/0.3827, allocations: 87.91 kB / 1.07 GB, free: 8.184 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 3.016e-05/0.3827, allocations: 19.92 kB / 1.07 GB, free: 8.164 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.903e-05/0.3828, allocations: 27.86 kB / 1.07 GB, free: 8.137 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002286/0.383, allocations: 135.9 kB / 1.07 GB, free: 8.004 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.369e-06/0.383, allocations: 7.938 kB / 1.07 GB, free: 7.996 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.555e-06/0.383, allocations: 3.984 kB / 1.07 GB, free: 7.992 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.218e-06/0.383, allocations: 0 / 1.07 GB, free: 7.992 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006069/0.3836, allocations: 409 kB / 1.071 GB, free: 7.539 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.941e-05/0.3837, allocations: 12.03 kB / 1.071 GB, free: 7.527 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.096e-05/0.3837, allocations: 16.84 kB / 1.071 GB, free: 7.512 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000114/0.3839, allocations: 176.2 kB / 1.071 GB, free: 7.301 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.244e-05/0.3839, allocations: 384 / 1.071 GB, free: 7.301 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.848e-05/0.3839, allocations: 4.375 kB / 1.071 GB, free: 7.297 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001796/0.3841, allocations: 73.97 kB / 1.071 GB, free: 7.219 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.208e-06/0.3841, allocations: 0 / 1.071 GB, free: 7.219 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.045e-05/0.3842, allocations: 0 / 1.071 GB, free: 7.219 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.3842, allocations: 3.938 kB / 1.071 GB, free: 7.215 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001306/0.3843, allocations: 39.91 kB / 1.071 GB, free: 7.176 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006153/0.3849, allocations: 316.8 kB / 1.071 GB, free: 6.816 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000135/0.3851, allocations: 42.56 kB / 1.071 GB, free: 6.766 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.973e-05/0.3852, allocations: 36.95 kB / 1.071 GB, free: 6.727 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.677e-05/0.3852, allocations: 12 kB / 1.071 GB, free: 6.715 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002616/0.3855, allocations: 87.3 kB / 1.071 GB, free: 6.617 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=7): time 1.553e-06/0.3855, allocations: 0 / 1.071 GB, free: 6.617 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7): time 0.0004156/0.3859, allocations: 129.5 kB / 1.072 GB, free: 6.484 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.49e-05/0.386, allocations: 55.41 kB / 1.072 GB, free: 6.418 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001054/0.3861, allocations: 129.7 kB / 1.072 GB, free: 6.281 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.158e-05/0.3861, allocations: 29.7 kB / 1.072 GB, free: 6.246 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.135e-05/0.3862, allocations: 88.14 kB / 1.072 GB, free: 6.156 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.359e-05/0.3862, allocations: 19.73 kB / 1.072 GB, free: 6.137 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.144e-05/0.3862, allocations: 29.7 kB / 1.072 GB, free: 6.102 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001187/0.3864, allocations: 322.8 kB / 1.072 GB, free: 5.777 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.707e-05/0.3865, allocations: 27.98 kB / 1.072 GB, free: 5.75 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.403e-05/0.3866, allocations: 50.5 kB / 1.072 GB, free: 5.691 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001563/0.3867, allocations: 70.55 kB / 1.072 GB, free: 5.613 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.3867, allocations: 0 / 1.072 GB, free: 5.613 MB / 0.8262 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002381/0.387, allocations: 113.5 kB / 1.072 GB, free: 5.496 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.688e-05/0.387, allocations: 8.062 kB / 1.072 GB, free: 5.488 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.139e-06/0.387, allocations: 0 / 1.072 GB, free: 5.488 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.557e-05/0.387, allocations: 4 kB / 1.073 GB, free: 5.484 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001059/0.3871, allocations: 15.92 kB / 1.073 GB, free: 5.469 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.132e-06/0.3872, allocations: 3.938 kB / 1.073 GB, free: 5.465 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.612e-05/0.3872, allocations: 4 kB / 1.073 GB, free: 5.461 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.89e-05/0.3873, allocations: 11.98 kB / 1.073 GB, free: 5.449 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 9 (win.occ,win.curSeed,$PRE.win.curSeed,win.p,$PRE.win.p,win.on,$PRE.win.on,win.sampleTrigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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 9.822e-05/0.3874, allocations: 117.8 kB / 1.073 GB, free: 5.324 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.921e-05/0.3874, allocations: 11.91 kB / 1.073 GB, free: 5.312 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.837e-05/0.3874, allocations: 8.375 kB / 1.073 GB, free: 5.305 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.3874, allocations: 4 kB / 1.073 GB, free: 5.301 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.3874, allocations: 0 / 1.073 GB, free: 5.301 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.3874, allocations: 0 / 1.073 GB, free: 5.301 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005086/0.388, allocations: 382.3 kB / 1.073 GB, free: 4.871 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.388, allocations: 0 / 1.073 GB, free: 4.871 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.257e-05/0.388, allocations: 7.984 kB / 1.073 GB, free: 4.863 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.225e-06/0.388, allocations: 4 kB / 1.073 GB, free: 4.859 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.346e-05/0.388, allocations: 4 kB / 1.073 GB, free: 4.855 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.388, allocations: 0 / 1.073 GB, free: 4.855 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.3881, allocations: 3.938 kB / 1.073 GB, free: 4.852 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003205/0.3884, allocations: 219.3 kB / 1.073 GB, free: 4.621 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.071e-05/0.3884, allocations: 85.02 kB / 1.073 GB, free: 4.52 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.004e-05/0.3885, allocations: 0 / 1.073 GB, free: 4.52 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.725e-05/0.3886, allocations: 4 kB / 1.073 GB, free: 4.516 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.52e-05/0.3886, allocations: 15.92 kB / 1.073 GB, free: 4.5 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.002e-05/0.3886, allocations: 4 kB / 1.073 GB, free: 4.496 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.973e-05/0.3887, allocations: 95.2 kB / 1.073 GB, free: 4.402 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3887, allocations: 0 / 1.073 GB, free: 4.402 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003124/0.389, allocations: 39.98 kB / 1.073 GB, free: 4.363 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 (win.sampleTrigger,$whenCondition1,win.occ,win.on,win.p,win.curSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003673/0.3894, allocations: 162.7 kB / 1.074 GB, free: 4.211 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002489/0.3896, allocations: 75.89 kB / 1.074 GB, free: 4.137 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.3896, allocations: 0 / 1.074 GB, free: 4.137 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001022/0.3898, allocations: 35.97 kB / 1.074 GB, free: 4.102 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002752/0.39, allocations: 8.562 kB / 1.074 GB, free: 4.094 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000422/0.3905, allocations: 194.2 kB / 1.074 GB, free: 3.871 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002805/0.3908, allocations: 0.6867 MB / 1.075 GB, free: 3.16 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.1e-05/0.3908, allocations: 7.984 kB / 1.075 GB, free: 3.152 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.908e-05/0.3908, allocations: 15.44 kB / 1.075 GB, free: 3.137 MB / 0.8262 GB Notification: Performance of SimCode: time 4.6e-07/0.3909, allocations: 0 / 1.075 GB, free: 3.137 MB / 0.8262 GB Notification: Performance of Templates: time 0.005259/0.3961, allocations: 1.371 MB / 1.076 GB, free: 1.773 MB / 0.8262 GB make -j1 -f Buildings_3.0.0_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.makefile (rm -f Buildings_3.0.0_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe ; mkfifo Buildings_3.0.0_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe >> ../files/Buildings_3.0.0_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.sim & ./Buildings_3.0.0_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe 2>&1)