Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth") translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001164/0.001164, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001172/0.001173, allocations: 189.2 kB / 16.14 MB, free: 6.703 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.345/1.345, allocations: 205.1 MB / 222 MB, free: 4.75 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.544/1.544, allocations: 251.7 MB / 0.5088 GB, free: 3.305 MB / 414.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.001348/0.001349, allocations: 67.91 kB / 0.6216 GB, free: 1.984 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4925/0.4939, allocations: 104.7 MB / 0.7238 GB, free: 13.16 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth): time 0.002783/0.4967, allocations: 1.554 MB / 0.7253 GB, free: 11.59 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001321/0.498, allocations: 0.7874 MB / 0.7261 GB, free: 10.79 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.271e-05/0.4981, allocations: 0 / 0.7261 GB, free: 10.79 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 3.554e-05/0.4981, allocations: 3.938 kB / 0.7261 GB, free: 10.79 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 6.132e-05/0.4982, allocations: 7.938 kB / 0.7261 GB, free: 10.78 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.000481/0.4987, allocations: 107.8 kB / 0.7262 GB, free: 10.67 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001007/0.4988, allocations: 71.77 kB / 0.7263 GB, free: 10.6 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 8.458e-05/0.4989, allocations: 11.98 kB / 0.7263 GB, free: 10.59 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 8.141e-05/0.499, allocations: 23.92 kB / 0.7263 GB, free: 10.57 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 6.639e-05/0.4991, allocations: 43.81 kB / 0.7263 GB, free: 10.52 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.749e-05/0.4991, allocations: 7.938 kB / 0.7264 GB, free: 10.52 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001738/0.4993, allocations: 95.84 kB / 0.7264 GB, free: 10.42 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.358e-05/0.4993, allocations: 11.92 kB / 0.7265 GB, free: 10.41 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 4.737e-05/0.4994, allocations: 35.86 kB / 0.7265 GB, free: 10.38 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002126/0.4996, allocations: 133.6 kB / 0.7266 GB, free: 10.25 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.4996, allocations: 0 / 0.7266 GB, free: 10.25 MB / 0.545 GB Notification: Performance of FrontEnd: time 8.81e-07/0.4996, allocations: 0 / 0.7266 GB, free: 10.25 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.599e-06/0.4996, allocations: 0 / 0.7266 GB, free: 10.25 MB / 0.545 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.0006222/0.5002, allocations: 424.9 kB / 0.727 GB, free: 9.777 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.822e-05/0.5003, allocations: 8.031 kB / 0.727 GB, free: 9.77 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.478e-05/0.5003, allocations: 8.844 kB / 0.727 GB, free: 9.762 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001268/0.5005, allocations: 176.2 kB / 0.7272 GB, free: 9.551 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.304e-05/0.5005, allocations: 8.375 kB / 0.7272 GB, free: 9.543 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.016e-05/0.5005, allocations: 8.375 kB / 0.7272 GB, free: 9.535 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001876/0.5007, allocations: 69.91 kB / 0.7273 GB, free: 9.461 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.867e-06/0.5007, allocations: 0 / 0.7273 GB, free: 9.461 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.334e-05/0.5007, allocations: 3.984 kB / 0.7273 GB, free: 9.457 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.735e-06/0.5008, allocations: 8 kB / 0.7273 GB, free: 9.449 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001282/0.5009, allocations: 35.92 kB / 0.7273 GB, free: 9.414 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006026/0.5015, allocations: 320.7 kB / 0.7276 GB, free: 9.051 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001334/0.5016, allocations: 54.48 kB / 0.7277 GB, free: 8.988 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.979e-05/0.5017, allocations: 28.97 kB / 0.7277 GB, free: 8.957 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.294e-05/0.5018, allocations: 4 kB / 0.7277 GB, free: 8.953 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002124/0.502, allocations: 79.38 kB / 0.7278 GB, free: 8.863 MB / 0.545 GB Notification: Performance of pre-optimization done (n=7): time 1.703e-06/0.502, allocations: 0 / 0.7278 GB, free: 8.863 MB / 0.545 GB Notification: Performance of matching and sorting (n=7): time 0.0003958/0.5024, allocations: 141.6 kB / 0.7279 GB, free: 8.719 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.895e-05/0.5024, allocations: 55.34 kB / 0.728 GB, free: 8.652 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001052/0.5026, allocations: 121.8 kB / 0.7281 GB, free: 8.523 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.879e-05/0.5026, allocations: 25.7 kB / 0.7281 GB, free: 8.492 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.906e-05/0.5026, allocations: 96.14 kB / 0.7282 GB, free: 8.395 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.12e-05/0.5027, allocations: 15.8 kB / 0.7282 GB, free: 8.379 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.847e-05/0.5027, allocations: 29.7 kB / 0.7283 GB, free: 8.344 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001109/0.5028, allocations: 318.8 kB / 0.7286 GB, free: 8.023 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.736e-05/0.5029, allocations: 23.98 kB / 0.7286 GB, free: 8 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.742e-05/0.503, allocations: 50.55 kB / 0.7286 GB, free: 7.941 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000148/0.5032, allocations: 78.48 kB / 0.7287 GB, free: 7.855 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.5032, allocations: 0 / 0.7287 GB, free: 7.855 MB / 0.545 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002205/0.5034, allocations: 113.5 kB / 0.7288 GB, free: 7.738 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.411e-05/0.5034, allocations: 8 kB / 0.7288 GB, free: 7.73 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.5035, allocations: 4.062 kB / 0.7288 GB, free: 7.727 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.305e-05/0.5035, allocations: 0 / 0.7288 GB, free: 7.727 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.452e-05/0.5036, allocations: 8 kB / 0.7288 GB, free: 7.719 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.356e-05/0.5037, allocations: 11.92 kB / 0.7289 GB, free: 7.707 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.96e-05/0.5037, allocations: 19.78 kB / 0.7289 GB, free: 7.688 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.209e-05/0.5038, allocations: 0 / 0.7289 GB, free: 7.688 MB / 0.545 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.766e-05/0.5039, allocations: 125.7 kB / 0.729 GB, free: 7.555 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.367e-05/0.5039, allocations: 0 / 0.729 GB, free: 7.555 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.872e-05/0.5039, allocations: 20.36 kB / 0.729 GB, free: 7.535 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.5039, allocations: 0 / 0.729 GB, free: 7.535 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/0.5039, allocations: 0 / 0.729 GB, free: 7.535 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.5039, allocations: 0 / 0.729 GB, free: 7.535 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005124/0.5045, allocations: 382.4 kB / 0.7294 GB, free: 7.105 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.5045, allocations: 0 / 0.7294 GB, free: 7.105 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.956e-05/0.5045, allocations: 7.938 kB / 0.7294 GB, free: 7.098 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.893e-06/0.5045, allocations: 0 / 0.7294 GB, free: 7.098 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.305e-05/0.5045, allocations: 7.984 kB / 0.7294 GB, free: 7.09 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.5045, allocations: 4 kB / 0.7294 GB, free: 7.086 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.335e-06/0.5046, allocations: 4.406 kB / 0.7294 GB, free: 7.082 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002591/0.5048, allocations: 199.5 kB / 0.7296 GB, free: 6.871 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.736e-05/0.5049, allocations: 85.02 kB / 0.7297 GB, free: 6.77 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.466e-05/0.5049, allocations: 7.984 kB / 0.7297 GB, free: 6.762 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.524e-05/0.505, allocations: 8 kB / 0.7297 GB, free: 6.754 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.469e-05/0.505, allocations: 15.92 kB / 0.7297 GB, free: 6.738 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.885e-06/0.5051, allocations: 0 / 0.7297 GB, free: 6.738 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.647e-05/0.5051, allocations: 91.27 kB / 0.7298 GB, free: 6.648 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5051, allocations: 4 kB / 0.7298 GB, free: 6.645 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002936/0.5054, allocations: 39.94 kB / 0.7298 GB, free: 6.605 MB / 0.545 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.00033/0.5058, allocations: 168.1 kB / 0.73 GB, free: 6.445 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002122/0.506, allocations: 67.89 kB / 0.7301 GB, free: 6.379 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.506, allocations: 0 / 0.7301 GB, free: 6.379 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 9.386e-05/0.5061, allocations: 35.92 kB / 0.7301 GB, free: 6.344 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002442/0.5063, allocations: 15.22 kB / 0.7301 GB, free: 6.332 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003588/0.5067, allocations: 194.2 kB / 0.7303 GB, free: 6.113 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002263/0.5069, allocations: 0.6887 MB / 0.731 GB, free: 5.398 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.548e-05/0.507, allocations: 4 kB / 0.731 GB, free: 5.395 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.68e-05/0.507, allocations: 15.44 kB / 0.731 GB, free: 5.383 MB / 0.545 GB Notification: Performance of SimCode: time 2.71e-07/0.507, allocations: 0 / 0.731 GB, free: 5.383 MB / 0.545 GB Notification: Performance of Templates: time 0.004144/0.5112, allocations: 1.368 MB / 0.7323 GB, free: 4.023 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.makefile (rm -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.sim & ./Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe 2>&1)