Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.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.Haldi2008WindowsTOut,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.Haldi2008WindowsTOut") translateModel(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut,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.Haldi2008WindowsTOut") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001518/0.001517, allocations: 108.1 kB / 15.99 MB, free: 6.355 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.001616/0.001616, allocations: 195.9 kB / 16.91 MB, free: 6.188 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.39/1.39, allocations: 222.9 MB / 240.6 MB, free: 15.44 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.353/2.353, allocations: 390.2 MB / 0.665 GB, free: 0.9648 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001397/0.001397, allocations: 66.75 kB / 0.8127 GB, free: 33.23 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2677/0.2691, allocations: 140.4 MB / 0.9498 GB, free: 9.262 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut): time 0.003086/0.2722, allocations: 1.558 MB / 0.9513 GB, free: 7.691 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001309/0.2735, allocations: 0.7169 MB / 0.952 GB, free: 6.969 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.623e-05/0.2736, allocations: 0 / 0.952 GB, free: 6.969 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 4.029e-05/0.2737, allocations: 11.86 kB / 0.952 GB, free: 6.957 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 6.374e-05/0.2738, allocations: 11.92 kB / 0.952 GB, free: 6.945 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006154/0.2744, allocations: 103.8 kB / 0.9521 GB, free: 6.844 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001149/0.2745, allocations: 79.77 kB / 0.9522 GB, free: 6.766 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001027/0.2746, allocations: 11.98 kB / 0.9522 GB, free: 6.754 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 9.43e-05/0.2747, allocations: 39.84 kB / 0.9522 GB, free: 6.715 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 6.569e-05/0.2748, allocations: 43.83 kB / 0.9523 GB, free: 6.672 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.77e-05/0.2748, allocations: 8 kB / 0.9523 GB, free: 6.664 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002007/0.275, allocations: 91.91 kB / 0.9524 GB, free: 6.574 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.777e-05/0.2751, allocations: 11.98 kB / 0.9524 GB, free: 6.562 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 4.956e-05/0.2751, allocations: 39.78 kB / 0.9524 GB, free: 6.523 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002054/0.2753, allocations: 104 kB / 0.9525 GB, free: 6.422 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.2753, allocations: 0 / 0.9525 GB, free: 6.422 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.042e-06/0.2753, allocations: 0 / 0.9525 GB, free: 6.422 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.162e-06/0.2754, allocations: 0 / 0.9525 GB, free: 6.422 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.000621/0.276, allocations: 424.9 kB / 0.9529 GB, free: 5.953 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.779e-05/0.276, allocations: 8.031 kB / 0.9529 GB, free: 5.945 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.242e-05/0.2761, allocations: 8.844 kB / 0.953 GB, free: 5.938 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001124/0.2762, allocations: 172.3 kB / 0.9531 GB, free: 5.73 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.321e-05/0.2762, allocations: 384 / 0.9531 GB, free: 5.73 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.229e-05/0.2763, allocations: 12.36 kB / 0.9531 GB, free: 5.719 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001859/0.2764, allocations: 69.97 kB / 0.9532 GB, free: 5.645 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.674e-06/0.2765, allocations: 4 kB / 0.9532 GB, free: 5.641 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.192e-05/0.2765, allocations: 0 / 0.9532 GB, free: 5.641 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-06/0.2765, allocations: 0 / 0.9532 GB, free: 5.641 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001258/0.2766, allocations: 43.91 kB / 0.9532 GB, free: 5.598 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005857/0.2772, allocations: 316.6 kB / 0.9535 GB, free: 5.238 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001288/0.2774, allocations: 46.56 kB / 0.9536 GB, free: 5.184 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.077e-05/0.2774, allocations: 36.95 kB / 0.9536 GB, free: 5.145 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.168e-05/0.2775, allocations: 0 / 0.9536 GB, free: 5.145 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002062/0.2777, allocations: 87.38 kB / 0.9537 GB, free: 5.047 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=7): time 1.523e-06/0.2777, allocations: 0 / 0.9537 GB, free: 5.047 MB / 0.7325 GB Notification: Performance of matching and sorting (n=7): time 0.0003888/0.2781, allocations: 141.5 kB / 0.9538 GB, free: 4.902 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.655e-05/0.2781, allocations: 55.39 kB / 0.9539 GB, free: 4.836 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.638e-05/0.2782, allocations: 117.8 kB / 0.954 GB, free: 4.711 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.768e-05/0.2783, allocations: 25.7 kB / 0.954 GB, free: 4.68 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 4.855e-05/0.2783, allocations: 96.12 kB / 0.9541 GB, free: 4.582 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.847e-05/0.2783, allocations: 11.75 kB / 0.9541 GB, free: 4.57 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.163e-05/0.2784, allocations: 33.7 kB / 0.9542 GB, free: 4.531 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001039/0.2785, allocations: 322.8 kB / 0.9545 GB, free: 4.207 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.047e-05/0.2786, allocations: 27.97 kB / 0.9545 GB, free: 4.18 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.81e-05/0.2787, allocations: 50.5 kB / 0.9545 GB, free: 4.121 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001529/0.2788, allocations: 82.77 kB / 0.9546 GB, free: 4.031 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.2789, allocations: 4 kB / 0.9546 GB, free: 4.027 MB / 0.7325 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002201/0.2791, allocations: 109.5 kB / 0.9547 GB, free: 3.914 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.487e-05/0.2791, allocations: 4 kB / 0.9547 GB, free: 3.91 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.2791, allocations: 4 kB / 0.9547 GB, free: 3.906 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.181e-05/0.2791, allocations: 0 / 0.9547 GB, free: 3.906 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001078/0.2792, allocations: 15.92 kB / 0.9548 GB, free: 3.891 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.781e-06/0.2793, allocations: 0 / 0.9548 GB, free: 3.891 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.008e-05/0.2793, allocations: 11.91 kB / 0.9548 GB, free: 3.879 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.323e-05/0.2794, allocations: 12 kB / 0.9548 GB, free: 3.867 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.017e-05/0.2794, allocations: 117.8 kB / 0.9549 GB, free: 3.742 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.863e-05/0.2795, allocations: 7.984 kB / 0.9549 GB, free: 3.734 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.852e-05/0.2795, allocations: 8.375 kB / 0.9549 GB, free: 3.727 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.2795, allocations: 4 kB / 0.9549 GB, free: 3.723 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.119e-06/0.2795, allocations: 0 / 0.9549 GB, free: 3.723 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.2795, allocations: 0 / 0.9549 GB, free: 3.723 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004433/0.28, allocations: 394.2 kB / 0.9553 GB, free: 3.281 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.28, allocations: 0 / 0.9553 GB, free: 3.281 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.907e-05/0.28, allocations: 4 kB / 0.9553 GB, free: 3.277 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.479e-06/0.28, allocations: 4 kB / 0.9553 GB, free: 3.273 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.269e-05/0.2801, allocations: 3.984 kB / 0.9553 GB, free: 3.27 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.2801, allocations: 4 kB / 0.9553 GB, free: 3.266 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.2801, allocations: 3.938 kB / 0.9553 GB, free: 3.262 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002704/0.2803, allocations: 203.5 kB / 0.9555 GB, free: 3.047 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.096e-05/0.2804, allocations: 89 kB / 0.9556 GB, free: 2.941 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.996e-05/0.2804, allocations: 4 kB / 0.9556 GB, free: 2.938 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.634e-05/0.2805, allocations: 4 kB / 0.9556 GB, free: 2.934 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.243e-05/0.2806, allocations: 7.922 kB / 0.9556 GB, free: 2.926 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.878e-06/0.2806, allocations: 4 kB / 0.9556 GB, free: 2.922 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 5.361e-05/0.2806, allocations: 91.92 kB / 0.9557 GB, free: 2.832 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2806, allocations: 0 / 0.9557 GB, free: 2.832 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002867/0.2809, allocations: 40 kB / 0.9557 GB, free: 2.793 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.0003496/0.2813, allocations: 165.5 kB / 0.9559 GB, free: 2.637 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002296/0.2815, allocations: 75.89 kB / 0.956 GB, free: 2.562 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.2815, allocations: 3.938 kB / 0.956 GB, free: 2.559 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 9.51e-05/0.2816, allocations: 44.42 kB / 0.956 GB, free: 2.516 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002527/0.2819, allocations: 10.55 kB / 0.956 GB, free: 2.508 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003967/0.2823, allocations: 226 kB / 0.9562 GB, free: 2.25 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002508/0.2826, allocations: 0.6922 MB / 0.9569 GB, free: 1.531 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.024e-05/0.2826, allocations: 11.44 kB / 0.9569 GB, free: 1.52 MB / 0.7325 GB Notification: Performance of SimCode: time 2.51e-07/0.2826, allocations: 0 / 0.9569 GB, free: 1.52 MB / 0.7325 GB Notification: Performance of Templates: time 0.003486/0.2861, allocations: 1.616 MB / 0.9585 GB, free: 15.9 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.makefile (rm -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.sim & ./Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTOut.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches