Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.Haldi2009WindowsTInTout,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.pOpen|win.on",fileNamePrefix="Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout") translateModel(Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.pOpen|win.on",fileNamePrefix="Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001069/0.001069, allocations: 100.9 kB / 16.35 MB, free: 5.828 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.001128/0.001128, allocations: 197.7 kB / 17.3 MB, free: 5.484 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.311/1.311, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.199/2.199, allocations: 390.3 MB / 0.6655 GB, free: 0.5352 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001295/0.001295, allocations: 65.86 kB / 0.814 GB, free: 32.63 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2619/0.2633, allocations: 140.4 MB / 0.9511 GB, free: 8.02 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout): time 0.002785/0.2661, allocations: 1.581 MB / 0.9527 GB, free: 6.434 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.00126/0.2674, allocations: 0.7984 MB / 0.9534 GB, free: 5.629 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.818e-05/0.2674, allocations: 0 / 0.9534 GB, free: 5.629 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.834e-05/0.2675, allocations: 7.875 kB / 0.9534 GB, free: 5.621 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 5.424e-05/0.2675, allocations: 23.78 kB / 0.9535 GB, free: 5.598 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004604/0.268, allocations: 151.6 kB / 0.9536 GB, free: 5.449 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001436/0.2682, allocations: 139.6 kB / 0.9537 GB, free: 5.312 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 8.001e-05/0.2683, allocations: 12 kB / 0.9538 GB, free: 5.301 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001017/0.2684, allocations: 63.77 kB / 0.9538 GB, free: 5.238 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 9.49e-05/0.2685, allocations: 71.78 kB / 0.9539 GB, free: 5.168 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.394e-05/0.2685, allocations: 12 kB / 0.9539 GB, free: 5.156 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001635/0.2687, allocations: 95.91 kB / 0.954 GB, free: 5.062 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 3.388e-05/0.2687, allocations: 35.89 kB / 0.954 GB, free: 5.027 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 5.632e-05/0.2688, allocations: 51.72 kB / 0.9541 GB, free: 4.977 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002396/0.269, allocations: 203.4 kB / 0.9543 GB, free: 4.777 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.269, allocations: 0 / 0.9543 GB, free: 4.777 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.002e-06/0.269, allocations: 0 / 0.9543 GB, free: 4.777 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.248e-06/0.269, allocations: 0 / 0.9543 GB, free: 4.777 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0006621/0.2697, allocations: 474.5 kB / 0.9547 GB, free: 4.254 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.927e-05/0.2698, allocations: 12.03 kB / 0.9547 GB, free: 4.242 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.887e-05/0.2698, allocations: 12.75 kB / 0.9547 GB, free: 4.23 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001196/0.2699, allocations: 190.2 kB / 0.9549 GB, free: 4.008 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.298e-05/0.27, allocations: 384 / 0.9549 GB, free: 4.008 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.385e-05/0.27, allocations: 16.06 kB / 0.9549 GB, free: 3.992 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000225/0.2702, allocations: 101.5 kB / 0.955 GB, free: 3.887 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.563e-06/0.2702, allocations: 4 kB / 0.955 GB, free: 3.883 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.24e-05/0.2703, allocations: 0 / 0.955 GB, free: 3.883 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.091e-06/0.2703, allocations: 7.984 kB / 0.9551 GB, free: 3.875 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001837/0.2705, allocations: 55.97 kB / 0.9551 GB, free: 3.82 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007577/0.2712, allocations: 372.6 kB / 0.9555 GB, free: 3.406 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001583/0.2714, allocations: 74.48 kB / 0.9555 GB, free: 3.324 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001241/0.2715, allocations: 52.83 kB / 0.9556 GB, free: 3.27 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.842e-05/0.2715, allocations: 0 / 0.9556 GB, free: 3.27 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002015/0.2718, allocations: 99.34 kB / 0.9557 GB, free: 3.16 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=9): time 1.342e-06/0.2718, allocations: 4 kB / 0.9557 GB, free: 3.156 MB / 0.7325 GB Notification: Performance of matching and sorting (n=9): time 0.0005318/0.2723, allocations: 213.4 kB / 0.9559 GB, free: 2.941 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.723e-05/0.2724, allocations: 55.41 kB / 0.9559 GB, free: 2.875 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001077/0.2725, allocations: 151.5 kB / 0.9561 GB, free: 2.719 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.871e-05/0.2725, allocations: 29.7 kB / 0.9561 GB, free: 2.684 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 5.214e-05/0.2725, allocations: 96.38 kB / 0.9562 GB, free: 2.582 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.141e-05/0.2726, allocations: 27.64 kB / 0.9562 GB, free: 2.555 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.692e-05/0.2726, allocations: 37.7 kB / 0.9563 GB, free: 2.512 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 9.189e-05/0.2727, allocations: 326.8 kB / 0.9566 GB, free: 2.184 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001078/0.2728, allocations: 31.98 kB / 0.9566 GB, free: 2.152 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001317/0.273, allocations: 80.25 kB / 0.9567 GB, free: 2.059 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002127/0.2732, allocations: 112.2 kB / 0.9568 GB, free: 1.934 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.2732, allocations: 0 / 0.9568 GB, free: 1.934 MB / 0.7325 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003091/0.2735, allocations: 157.4 kB / 0.9569 GB, free: 1.773 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.418e-05/0.2736, allocations: 8.109 kB / 0.9569 GB, free: 1.766 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.2736, allocations: 3.938 kB / 0.957 GB, free: 1.762 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.319e-05/0.2736, allocations: 4 kB / 0.957 GB, free: 1.758 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001397/0.2737, allocations: 16.36 kB / 0.957 GB, free: 1.742 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.542e-06/0.2737, allocations: 3.938 kB / 0.957 GB, free: 1.738 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001023/0.2738, allocations: 19.89 kB / 0.957 GB, free: 1.719 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.652e-05/0.2739, allocations: 7.984 kB / 0.957 GB, free: 1.711 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 11 (win.curSeed,$PRE.win.curSeed,win.on,$PRE.win.on,win.occ,win.pClose,$PRE.win.pClose,win.pOpen,$PRE.win.pOpen,win.sampleTrigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.381e-05/0.274, allocations: 136.9 kB / 0.9571 GB, free: 1.57 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.139e-05/0.274, allocations: 11.89 kB / 0.9571 GB, free: 1.559 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.894e-05/0.274, allocations: 12.7 kB / 0.9572 GB, free: 1.543 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.105e-06/0.274, allocations: 4 kB / 0.9572 GB, free: 1.539 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.274, allocations: 3.938 kB / 0.9572 GB, free: 1.535 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.2741, allocations: 0 / 0.9572 GB, free: 1.535 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005612/0.2746, allocations: 462.5 kB / 0.9576 GB, free: 1.027 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.2746, allocations: 0 / 0.9576 GB, free: 1.027 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.277e-05/0.2747, allocations: 11.98 kB / 0.9576 GB, free: 1.016 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.597e-06/0.2747, allocations: 3.938 kB / 0.9576 GB, free: 1.012 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.446e-05/0.2747, allocations: 4 kB / 0.9576 GB, free: 1.008 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.2747, allocations: 0 / 0.9576 GB, free: 1.008 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.2747, allocations: 0 / 0.9576 GB, free: 1.008 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003768/0.2751, allocations: 271.3 kB / 0.9579 GB, free: 0.7266 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.051e-05/0.2752, allocations: 88.86 kB / 0.958 GB, free: 0.6211 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.447e-05/0.2752, allocations: 4 kB / 0.958 GB, free: 0.6172 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001271/0.2753, allocations: 11.98 kB / 0.958 GB, free: 0.6055 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.174e-05/0.2754, allocations: 3.984 kB / 0.958 GB, free: 0.6016 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.291e-05/0.2754, allocations: 8.062 kB / 0.958 GB, free: 0.5938 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 6.486e-05/0.2755, allocations: 109.3 kB / 0.9581 GB, free: 500 kB / 0.7325 GB Notification: Performance of sort global known variables: time 1.41e-07/0.2755, allocations: 3.938 kB / 0.9581 GB, free: 496 kB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002942/0.2758, allocations: 44 kB / 0.9581 GB, free: 452 kB / 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: 7 (win.sampleTrigger,$whenCondition1,win.occ,win.on,win.pOpen,win.pClose,win.curSeed) * Number of discrete states: 1 (win.on) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0003197/0.2761, allocations: 170.4 kB / 0.9583 GB, free: 284 kB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0003184/0.2764, allocations: 107.9 kB / 0.9584 GB, free: 176 kB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.2765, allocations: 4.188 kB / 0.9584 GB, free: 172 kB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.000138/0.2766, allocations: 59.91 kB / 0.9585 GB, free: 112 kB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002644/0.2769, allocations: 17.81 kB / 0.9585 GB, free: 96 kB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004368/0.2773, allocations: 220.7 kB / 0.9587 GB, free: 15.85 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002211/0.2775, allocations: 0.7078 MB / 0.9594 GB, free: 15.11 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 4.427e-05/0.2776, allocations: 8.078 kB / 0.9594 GB, free: 15.11 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.654e-05/0.2776, allocations: 15.42 kB / 0.9594 GB, free: 15.09 MB / 0.7481 GB Notification: Performance of SimCode: time 2.2e-07/0.2776, allocations: 0 / 0.9594 GB, free: 15.09 MB / 0.7481 GB Notification: Performance of Templates: time 0.004423/0.2821, allocations: 1.953 MB / 0.9613 GB, free: 13.14 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.makefile (rm -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.sim & ./Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Office_Windows_Validation_Haldi2009WindowsTInTout.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches