Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.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.Herkel2008WindowsCompletelyOpen,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.Herkel2008WindowsCompletelyOpen") translateModel(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen,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.Herkel2008WindowsCompletelyOpen") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001275/0.001275, allocations: 105.5 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.001256/0.001256, allocations: 191.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.346/1.346, allocations: 222.9 MB / 240.9 MB, free: 15.27 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.196/2.196, allocations: 390.3 MB / 0.6653 GB, free: 0.7305 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001286/0.001286, allocations: 64.84 kB / 0.8132 GB, free: 33.13 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2485/0.2498, allocations: 140.4 MB / 0.9503 GB, free: 8.887 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen): time 0.002894/0.2528, allocations: 1.499 MB / 0.9517 GB, free: 7.375 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001255/0.2541, allocations: 0.7284 MB / 0.9524 GB, free: 6.641 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.853e-05/0.2541, allocations: 0 / 0.9524 GB, free: 6.641 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.22e-05/0.2542, allocations: 3.938 kB / 0.9524 GB, free: 6.637 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 6.177e-05/0.2543, allocations: 19.8 kB / 0.9525 GB, free: 6.617 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005573/0.2548, allocations: 119.6 kB / 0.9526 GB, free: 6.5 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001071/0.2549, allocations: 75.77 kB / 0.9526 GB, free: 6.426 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 9.966e-05/0.2551, allocations: 15.98 kB / 0.9527 GB, free: 6.41 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 9.423e-05/0.2552, allocations: 39.84 kB / 0.9527 GB, free: 6.371 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 7.115e-05/0.2552, allocations: 39.83 kB / 0.9527 GB, free: 6.332 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.03e-05/0.2553, allocations: 4 kB / 0.9527 GB, free: 6.328 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002025/0.2555, allocations: 95.91 kB / 0.9528 GB, free: 6.234 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 3.444e-05/0.2555, allocations: 15.98 kB / 0.9529 GB, free: 6.219 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 5.457e-05/0.2556, allocations: 35.8 kB / 0.9529 GB, free: 6.184 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002257/0.2558, allocations: 135.9 kB / 0.953 GB, free: 6.051 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.2558, allocations: 0 / 0.953 GB, free: 6.051 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.413e-06/0.2558, allocations: 3.938 kB / 0.953 GB, free: 6.047 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.639e-06/0.2558, allocations: 4 kB / 0.953 GB, free: 6.043 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.0005841/0.2564, allocations: 424.9 kB / 0.9534 GB, free: 5.574 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.178e-05/0.2565, allocations: 8.031 kB / 0.9534 GB, free: 5.566 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.203e-05/0.2565, allocations: 8.844 kB / 0.9534 GB, free: 5.559 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001126/0.2566, allocations: 168.3 kB / 0.9536 GB, free: 5.355 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.531e-05/0.2567, allocations: 12.36 kB / 0.9536 GB, free: 5.344 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.792e-05/0.2567, allocations: 4.375 kB / 0.9536 GB, free: 5.34 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001739/0.2569, allocations: 73.95 kB / 0.9537 GB, free: 5.262 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.784e-06/0.2569, allocations: 4 kB / 0.9537 GB, free: 5.258 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.294e-05/0.2569, allocations: 4 kB / 0.9537 GB, free: 5.254 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.2569, allocations: 0 / 0.9537 GB, free: 5.254 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001484/0.2571, allocations: 39.91 kB / 0.9537 GB, free: 5.215 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005773/0.2577, allocations: 312.7 kB / 0.954 GB, free: 4.859 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000124/0.2578, allocations: 50.56 kB / 0.9541 GB, free: 4.801 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.65e-05/0.2579, allocations: 36.97 kB / 0.9541 GB, free: 4.762 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.755e-05/0.2579, allocations: 4.062 kB / 0.9541 GB, free: 4.758 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001944/0.2581, allocations: 75.31 kB / 0.9542 GB, free: 4.672 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=7): time 3.036e-06/0.2581, allocations: 7.984 kB / 0.9542 GB, free: 4.664 MB / 0.7325 GB Notification: Performance of matching and sorting (n=7): time 0.0003975/0.2585, allocations: 141.5 kB / 0.9543 GB, free: 4.52 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.931e-05/0.2586, allocations: 55.41 kB / 0.9544 GB, free: 4.453 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.5e-05/0.2587, allocations: 117.8 kB / 0.9545 GB, free: 4.328 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.011e-05/0.2587, allocations: 33.7 kB / 0.9545 GB, free: 4.289 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 5.293e-05/0.2588, allocations: 92.06 kB / 0.9546 GB, free: 4.195 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.375e-05/0.2588, allocations: 23.73 kB / 0.9546 GB, free: 4.172 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.107e-05/0.2589, allocations: 29.7 kB / 0.9547 GB, free: 4.137 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000121/0.259, allocations: 326.8 kB / 0.955 GB, free: 3.809 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.704e-05/0.2591, allocations: 27.92 kB / 0.955 GB, free: 3.781 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.061e-05/0.2592, allocations: 46.56 kB / 0.9551 GB, free: 3.727 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001568/0.2593, allocations: 70.55 kB / 0.9551 GB, free: 3.648 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.2594, allocations: 7.938 kB / 0.9551 GB, free: 3.641 MB / 0.7325 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002449/0.2596, allocations: 109.5 kB / 0.9552 GB, free: 3.527 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.421e-05/0.2596, allocations: 8 kB / 0.9552 GB, free: 3.52 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.2596, allocations: 0 / 0.9552 GB, free: 3.52 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.175e-05/0.2597, allocations: 0 / 0.9552 GB, free: 3.52 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.589e-05/0.2598, allocations: 15.92 kB / 0.9553 GB, free: 3.504 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.793e-06/0.2598, allocations: 4 kB / 0.9553 GB, free: 3.5 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.83e-05/0.2599, allocations: 11.97 kB / 0.9553 GB, free: 3.488 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.422e-05/0.2599, allocations: 8 kB / 0.9553 GB, free: 3.48 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.711e-05/0.26, allocations: 129.3 kB / 0.9554 GB, free: 3.348 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.803e-05/0.26, allocations: 4 kB / 0.9554 GB, free: 3.344 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.334e-05/0.26, allocations: 4.375 kB / 0.9554 GB, free: 3.34 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.26, allocations: 0 / 0.9554 GB, free: 3.34 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.26, allocations: 0 / 0.9554 GB, free: 3.34 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.26, allocations: 0 / 0.9554 GB, free: 3.34 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004487/0.2605, allocations: 398.2 kB / 0.9558 GB, free: 2.895 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.2605, allocations: 0 / 0.9558 GB, free: 2.895 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.847e-05/0.2606, allocations: 0 / 0.9558 GB, free: 2.895 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/0.2606, allocations: 7.984 kB / 0.9558 GB, free: 2.887 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.518e-06/0.2606, allocations: 0 / 0.9558 GB, free: 2.887 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.039e-05/0.2606, allocations: 0 / 0.9558 GB, free: 2.887 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.2606, allocations: 7.875 kB / 0.9558 GB, free: 2.879 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000278/0.2609, allocations: 211.9 kB / 0.956 GB, free: 2.656 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 5.809e-05/0.261, allocations: 85 kB / 0.9561 GB, free: 2.555 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.992e-05/0.261, allocations: 0 / 0.9561 GB, free: 2.555 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.859e-05/0.2611, allocations: 4 kB / 0.9561 GB, free: 2.551 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.495e-05/0.2611, allocations: 11.92 kB / 0.9561 GB, free: 2.539 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.005e-06/0.2612, allocations: 0 / 0.9561 GB, free: 2.539 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 5.506e-05/0.2612, allocations: 99.27 kB / 0.9562 GB, free: 2.441 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2612, allocations: 4 kB / 0.9562 GB, free: 2.438 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003166/0.2615, allocations: 36 kB / 0.9562 GB, free: 2.402 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.0003429/0.2619, allocations: 154.9 kB / 0.9564 GB, free: 2.254 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002712/0.2622, allocations: 79.88 kB / 0.9565 GB, free: 2.176 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.2622, allocations: 4.125 kB / 0.9565 GB, free: 2.172 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001006/0.2623, allocations: 35.92 kB / 0.9565 GB, free: 2.137 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002751/0.2626, allocations: 24.91 kB / 0.9565 GB, free: 2.117 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000497/0.2631, allocations: 202.1 kB / 0.9567 GB, free: 1.883 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002623/0.2634, allocations: 0.6961 MB / 0.9574 GB, free: 1.16 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.436e-05/0.2634, allocations: 11.44 kB / 0.9574 GB, free: 1.148 MB / 0.7325 GB Notification: Performance of SimCode: time 3.61e-07/0.2634, allocations: 0 / 0.9574 GB, free: 1.148 MB / 0.7325 GB Notification: Performance of Templates: time 0.003607/0.267, allocations: 1.622 MB / 0.959 GB, free: 15.53 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.makefile (rm -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.sim & ./Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsCompletelyOpen.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches