Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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.Zhang2012WindowsAll,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll") translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001147/0.001147, allocations: 102 kB / 16.27 MB, free: 6.414 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.001428/0.001428, allocations: 189.7 kB / 17.2 MB, free: 5.953 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.295/1.295, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.173/2.173, allocations: 390.3 MB / 0.6653 GB, free: 0.6992 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00137/0.00137, allocations: 65.72 kB / 0.8132 GB, free: 33.11 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.253/0.2544, allocations: 140.4 MB / 0.9503 GB, free: 8.863 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll): time 0.002992/0.2575, allocations: 1.497 MB / 0.9517 GB, free: 7.352 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001327/0.2588, allocations: 0.7323 MB / 0.9524 GB, free: 6.613 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.531e-05/0.2589, allocations: 0 / 0.9524 GB, free: 6.613 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.552e-05/0.2589, allocations: 3.938 kB / 0.9524 GB, free: 6.609 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 5.386e-05/0.259, allocations: 7.875 kB / 0.9525 GB, free: 6.602 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005837/0.2596, allocations: 127.6 kB / 0.9526 GB, free: 6.477 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001219/0.2597, allocations: 75.77 kB / 0.9527 GB, free: 6.402 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001096/0.2599, allocations: 15.97 kB / 0.9527 GB, free: 6.387 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 9.651e-05/0.26, allocations: 39.86 kB / 0.9527 GB, free: 6.348 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 7.156e-05/0.26, allocations: 43.81 kB / 0.9527 GB, free: 6.305 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.761e-05/0.2601, allocations: 4 kB / 0.9528 GB, free: 6.301 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002109/0.2603, allocations: 99.84 kB / 0.9528 GB, free: 6.203 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.84e-05/0.2603, allocations: 15.98 kB / 0.9529 GB, free: 6.188 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 5.162e-05/0.2604, allocations: 31.8 kB / 0.9529 GB, free: 6.156 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002447/0.2606, allocations: 136 kB / 0.953 GB, free: 6.023 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 8.506e-06/0.2607, allocations: 0 / 0.953 GB, free: 6.023 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.462e-06/0.2607, allocations: 3.938 kB / 0.953 GB, free: 6.02 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.392e-06/0.2607, allocations: 0 / 0.953 GB, free: 6.02 MB / 0.7325 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.0006255/0.2613, allocations: 420.9 kB / 0.9534 GB, free: 5.555 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.677e-05/0.2613, allocations: 8.031 kB / 0.9534 GB, free: 5.547 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.322e-05/0.2614, allocations: 12.83 kB / 0.9534 GB, free: 5.535 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001152/0.2615, allocations: 172.3 kB / 0.9536 GB, free: 5.328 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.926e-05/0.2616, allocations: 4.375 kB / 0.9536 GB, free: 5.324 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.982e-05/0.2616, allocations: 12.38 kB / 0.9536 GB, free: 5.312 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001858/0.2618, allocations: 69.91 kB / 0.9537 GB, free: 5.238 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.935e-06/0.2618, allocations: 4 kB / 0.9537 GB, free: 5.234 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.474e-05/0.2618, allocations: 4 kB / 0.9537 GB, free: 5.23 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.541e-06/0.2618, allocations: 0 / 0.9537 GB, free: 5.23 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001267/0.262, allocations: 35.97 kB / 0.9537 GB, free: 5.195 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006055/0.2626, allocations: 312.7 kB / 0.954 GB, free: 4.84 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001396/0.2627, allocations: 62.48 kB / 0.9541 GB, free: 4.77 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.201e-05/0.2628, allocations: 32.97 kB / 0.9541 GB, free: 4.734 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.887e-05/0.2629, allocations: 4 kB / 0.9541 GB, free: 4.73 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002017/0.2631, allocations: 75.44 kB / 0.9542 GB, free: 4.645 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=7): time 2.144e-06/0.2631, allocations: 0 / 0.9542 GB, free: 4.645 MB / 0.7325 GB Notification: Performance of matching and sorting (n=7): time 0.0003923/0.2635, allocations: 141.5 kB / 0.9543 GB, free: 4.5 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.911e-05/0.2635, allocations: 55.34 kB / 0.9544 GB, free: 4.434 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.089e-05/0.2636, allocations: 129.7 kB / 0.9545 GB, free: 4.297 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.814e-05/0.2636, allocations: 25.7 kB / 0.9545 GB, free: 4.266 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 4.708e-05/0.2637, allocations: 96.08 kB / 0.9546 GB, free: 4.168 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.144e-05/0.2637, allocations: 19.73 kB / 0.9546 GB, free: 4.148 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.103e-05/0.2638, allocations: 25.72 kB / 0.9547 GB, free: 4.117 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 9.534e-05/0.2639, allocations: 326.8 kB / 0.955 GB, free: 3.789 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.493e-05/0.264, allocations: 27.98 kB / 0.955 GB, free: 3.762 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.413e-05/0.2641, allocations: 50.55 kB / 0.9551 GB, free: 3.703 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001602/0.2642, allocations: 70.8 kB / 0.9551 GB, free: 3.625 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.2643, allocations: 4 kB / 0.9551 GB, free: 3.621 MB / 0.7325 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002331/0.2645, allocations: 113.5 kB / 0.9552 GB, free: 3.504 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.507e-05/0.2645, allocations: 8 kB / 0.9552 GB, free: 3.496 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.2645, allocations: 0 / 0.9552 GB, free: 3.496 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.24e-05/0.2645, allocations: 0 / 0.9552 GB, free: 3.496 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.941e-05/0.2646, allocations: 15.98 kB / 0.9553 GB, free: 3.48 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.406e-06/0.2647, allocations: 4 kB / 0.9553 GB, free: 3.477 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.968e-05/0.2647, allocations: 11.89 kB / 0.9553 GB, free: 3.465 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.112e-05/0.2648, allocations: 4.062 kB / 0.9553 GB, free: 3.461 MB / 0.7325 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 8.913e-05/0.2649, allocations: 125.7 kB / 0.9554 GB, free: 3.328 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.584e-05/0.2649, allocations: 0 / 0.9554 GB, free: 3.328 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.864e-05/0.2649, allocations: 12.38 kB / 0.9554 GB, free: 3.316 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.834e-06/0.2649, allocations: 0 / 0.9554 GB, free: 3.316 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.132e-06/0.2649, allocations: 3.984 kB / 0.9554 GB, free: 3.312 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.2649, allocations: 3.984 kB / 0.9554 GB, free: 3.309 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004307/0.2654, allocations: 390.3 kB / 0.9558 GB, free: 2.871 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.2654, allocations: 0 / 0.9558 GB, free: 2.871 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.978e-05/0.2654, allocations: 7.938 kB / 0.9558 GB, free: 2.863 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.138e-06/0.2654, allocations: 4 kB / 0.9558 GB, free: 2.859 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.788e-06/0.2655, allocations: 0 / 0.9558 GB, free: 2.859 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.2655, allocations: 0 / 0.9558 GB, free: 2.859 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/0.2655, allocations: 7.875 kB / 0.9558 GB, free: 2.852 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002671/0.2657, allocations: 207.5 kB / 0.956 GB, free: 2.633 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 3.678e-05/0.2658, allocations: 85.02 kB / 0.9561 GB, free: 2.531 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.044e-05/0.2658, allocations: 4 kB / 0.9561 GB, free: 2.527 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.952e-05/0.2659, allocations: 7.984 kB / 0.9561 GB, free: 2.52 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.936e-05/0.266, allocations: 7.938 kB / 0.9561 GB, free: 2.512 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.248e-06/0.266, allocations: 3.984 kB / 0.9561 GB, free: 2.508 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 5.207e-05/0.266, allocations: 91.28 kB / 0.9562 GB, free: 2.418 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.266, allocations: 0 / 0.9562 GB, free: 2.418 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.000304/0.2663, allocations: 43.98 kB / 0.9562 GB, free: 2.375 MB / 0.7325 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.0003491/0.2667, allocations: 162.7 kB / 0.9564 GB, free: 2.219 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002544/0.267, allocations: 67.95 kB / 0.9565 GB, free: 2.152 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.267, allocations: 3.938 kB / 0.9565 GB, free: 2.148 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 9.711e-05/0.2671, allocations: 44.09 kB / 0.9565 GB, free: 2.105 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002565/0.2673, allocations: 5.922 kB / 0.9565 GB, free: 2.102 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004182/0.2678, allocations: 206 kB / 0.9567 GB, free: 1.863 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002197/0.268, allocations: 0.6961 MB / 0.9574 GB, free: 1.141 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.313e-05/0.268, allocations: 11.44 kB / 0.9574 GB, free: 1.129 MB / 0.7325 GB Notification: Performance of SimCode: time 2.2e-07/0.268, allocations: 0 / 0.9574 GB, free: 1.129 MB / 0.7325 GB Notification: Performance of Templates: time 0.003643/0.2717, allocations: 1.625 MB / 0.959 GB, free: 15.51 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.makefile (rm -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.sim & ./Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsAll.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches