Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.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.Zhang2012WindowsEast,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.Zhang2012WindowsEast") translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast,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.Zhang2012WindowsEast") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001556/0.001556, allocations: 106.1 kB / 15.98 MB, free: 6.285 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.00173/0.001731, allocations: 200.9 kB / 16.91 MB, free: 6.141 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.44/1.44, allocations: 222.9 MB / 240.6 MB, free: 13.66 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.304/2.304, allocations: 390.2 MB / 0.665 GB, free: 0.9102 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00128/0.00128, allocations: 61.61 kB / 0.8127 GB, free: 32.35 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.258/0.2593, allocations: 140.4 MB / 0.9498 GB, free: 9.227 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast): time 0.003039/0.2624, allocations: 1.566 MB / 0.9513 GB, free: 7.648 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001285/0.2637, allocations: 0.7207 MB / 0.952 GB, free: 6.922 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.022e-05/0.2637, allocations: 0 / 0.952 GB, free: 6.922 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.802e-05/0.2638, allocations: 3.938 kB / 0.952 GB, free: 6.918 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 5.878e-05/0.2639, allocations: 7.922 kB / 0.952 GB, free: 6.91 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.000534/0.2644, allocations: 111.8 kB / 0.9521 GB, free: 6.801 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001035/0.2645, allocations: 75.77 kB / 0.9522 GB, free: 6.727 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 8.827e-05/0.2646, allocations: 15.98 kB / 0.9522 GB, free: 6.711 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 9.307e-05/0.2647, allocations: 39.84 kB / 0.9522 GB, free: 6.672 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 6.325e-05/0.2648, allocations: 35.83 kB / 0.9523 GB, free: 6.637 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.799e-05/0.2648, allocations: 8 kB / 0.9523 GB, free: 6.629 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001946/0.265, allocations: 95.91 kB / 0.9524 GB, free: 6.535 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.376e-05/0.2651, allocations: 11.98 kB / 0.9524 GB, free: 6.523 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 4.94e-05/0.2651, allocations: 35.78 kB / 0.9524 GB, free: 6.488 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001763/0.2653, allocations: 104.1 kB / 0.9525 GB, free: 6.387 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.2653, allocations: 4 kB / 0.9525 GB, free: 6.383 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.663e-06/0.2653, allocations: 0 / 0.9525 GB, free: 6.383 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.43e-06/0.2653, allocations: 0 / 0.9525 GB, free: 6.383 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.0006246/0.266, allocations: 416.9 kB / 0.9529 GB, free: 5.922 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.039e-05/0.266, allocations: 8.031 kB / 0.9529 GB, free: 5.914 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.66e-05/0.2661, allocations: 12.78 kB / 0.9529 GB, free: 5.902 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001103/0.2662, allocations: 172.3 kB / 0.9531 GB, free: 5.695 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.583e-05/0.2662, allocations: 12.36 kB / 0.9531 GB, free: 5.684 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.889e-05/0.2662, allocations: 8.375 kB / 0.9531 GB, free: 5.676 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001905/0.2664, allocations: 65.97 kB / 0.9532 GB, free: 5.605 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.388e-06/0.2665, allocations: 4 kB / 0.9532 GB, free: 5.602 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.483e-05/0.2665, allocations: 7.938 kB / 0.9532 GB, free: 5.594 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.2665, allocations: 0 / 0.9532 GB, free: 5.594 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001325/0.2666, allocations: 35.97 kB / 0.9532 GB, free: 5.559 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000592/0.2672, allocations: 320.6 kB / 0.9535 GB, free: 5.195 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001296/0.2674, allocations: 50.56 kB / 0.9536 GB, free: 5.137 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.268e-05/0.2675, allocations: 32.97 kB / 0.9536 GB, free: 5.102 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.086e-05/0.2675, allocations: 0 / 0.9536 GB, free: 5.102 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002164/0.2677, allocations: 83.38 kB / 0.9537 GB, free: 5.008 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=7): time 1.553e-06/0.2677, allocations: 0 / 0.9537 GB, free: 5.008 MB / 0.7325 GB Notification: Performance of matching and sorting (n=7): time 0.0003926/0.2681, allocations: 141.8 kB / 0.9538 GB, free: 4.863 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.901e-05/0.2682, allocations: 55.41 kB / 0.9539 GB, free: 4.797 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.955e-05/0.2683, allocations: 113.8 kB / 0.954 GB, free: 4.676 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.08e-05/0.2683, allocations: 33.7 kB / 0.954 GB, free: 4.637 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 6.039e-05/0.2684, allocations: 88.12 kB / 0.9541 GB, free: 4.547 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.427e-05/0.2684, allocations: 23.75 kB / 0.9541 GB, free: 4.523 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.05e-05/0.2685, allocations: 25.7 kB / 0.9542 GB, free: 4.492 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001022/0.2686, allocations: 326.8 kB / 0.9545 GB, free: 4.164 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.398e-05/0.2687, allocations: 23.98 kB / 0.9545 GB, free: 4.141 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.749e-05/0.2688, allocations: 46.56 kB / 0.9545 GB, free: 4.086 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001578/0.2689, allocations: 82.53 kB / 0.9546 GB, free: 3.996 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.437e-06/0.2689, allocations: 4 kB / 0.9546 GB, free: 3.992 MB / 0.7325 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002386/0.2692, allocations: 109.5 kB / 0.9547 GB, free: 3.879 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.602e-05/0.2692, allocations: 8 kB / 0.9547 GB, free: 3.871 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.2692, allocations: 0 / 0.9547 GB, free: 3.871 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.228e-05/0.2692, allocations: 0 / 0.9547 GB, free: 3.871 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001048/0.2693, allocations: 19.98 kB / 0.9548 GB, free: 3.852 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.714e-06/0.2694, allocations: 4 kB / 0.9548 GB, free: 3.848 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.223e-05/0.2694, allocations: 7.906 kB / 0.9548 GB, free: 3.84 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.377e-05/0.2695, allocations: 7.938 kB / 0.9548 GB, free: 3.832 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 9.463e-05/0.2696, allocations: 131.7 kB / 0.9549 GB, free: 3.695 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.833e-05/0.2696, allocations: 4 kB / 0.9549 GB, free: 3.691 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.119e-05/0.2696, allocations: 4.375 kB / 0.9549 GB, free: 3.688 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.2696, allocations: 0 / 0.9549 GB, free: 3.688 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.814e-06/0.2696, allocations: 8 kB / 0.9549 GB, free: 3.68 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.2697, allocations: 0 / 0.9549 GB, free: 3.68 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000494/0.2702, allocations: 394.2 kB / 0.9553 GB, free: 3.238 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.2702, allocations: 0 / 0.9553 GB, free: 3.238 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.93e-05/0.2702, allocations: 0 / 0.9553 GB, free: 3.238 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.927e-06/0.2702, allocations: 7.984 kB / 0.9553 GB, free: 3.23 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.169e-05/0.2702, allocations: 0 / 0.9553 GB, free: 3.23 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.704e-06/0.2702, allocations: 0 / 0.9553 GB, free: 3.23 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.2703, allocations: 7.938 kB / 0.9553 GB, free: 3.223 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002795/0.2705, allocations: 211.4 kB / 0.9555 GB, free: 3 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.202e-05/0.2706, allocations: 85 kB / 0.9556 GB, free: 2.898 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.137e-05/0.2706, allocations: 0 / 0.9556 GB, free: 2.898 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.203e-05/0.2707, allocations: 4 kB / 0.9556 GB, free: 2.895 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.657e-05/0.2708, allocations: 11.92 kB / 0.9556 GB, free: 2.883 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.498e-06/0.2708, allocations: 0 / 0.9556 GB, free: 2.883 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 5.194e-05/0.2709, allocations: 103.3 kB / 0.9557 GB, free: 2.781 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.7e-07/0.2709, allocations: 0 / 0.9557 GB, free: 2.781 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.000313/0.2712, allocations: 36 kB / 0.9557 GB, free: 2.746 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.0003695/0.2716, allocations: 153.8 kB / 0.9559 GB, free: 2.602 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002513/0.2718, allocations: 80.12 kB / 0.956 GB, free: 2.523 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.2718, allocations: 3.938 kB / 0.956 GB, free: 2.52 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001019/0.2719, allocations: 36.12 kB / 0.956 GB, free: 2.484 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002676/0.2722, allocations: 19.91 kB / 0.956 GB, free: 2.465 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004174/0.2726, allocations: 218.2 kB / 0.9562 GB, free: 2.215 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002305/0.2729, allocations: 0.6922 MB / 0.9569 GB, free: 1.496 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.366e-05/0.2729, allocations: 15.38 kB / 0.9569 GB, free: 1.48 MB / 0.7325 GB Notification: Performance of SimCode: time 2.3e-07/0.2729, allocations: 0 / 0.9569 GB, free: 1.48 MB / 0.7325 GB Notification: Performance of Templates: time 0.003647/0.2766, allocations: 1.615 MB / 0.9585 GB, free: 15.86 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.makefile (rm -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.sim & ./Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsEast.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches