Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.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.Haldi2008WindowsTIn,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TIn|win.occ|win.p|win.on",fileNamePrefix="Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn") translateModel(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TIn|win.occ|win.p|win.on",fileNamePrefix="Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001639/0.001639, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001971/0.001971, allocations: 199.4 kB / 16.79 MB, free: 6.828 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.362/1.362, allocations: 222.9 MB / 240.5 MB, free: 4.531 MB / 190.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.388/2.388, allocations: 390.2 MB / 0.6649 GB, free: 0.5977 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001375/0.001375, allocations: 63.91 kB / 0.8125 GB, free: 14.87 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6639/0.6653, allocations: 140.4 MB / 0.9496 GB, free: 9.09 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn): time 0.004069/0.6694, allocations: 1.559 MB / 0.9511 GB, free: 7.863 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001931/0.6713, allocations: 0.7374 MB / 0.9518 GB, free: 7.297 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.71e-05/0.6714, allocations: 0 / 0.9518 GB, free: 7.297 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 4.025e-05/0.6715, allocations: 3.938 kB / 0.9518 GB, free: 7.293 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.967e-05/0.6716, allocations: 13.39 kB / 0.9518 GB, free: 7.281 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000694/0.6723, allocations: 101.1 kB / 0.9519 GB, free: 7.211 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001311/0.6725, allocations: 74.61 kB / 0.952 GB, free: 7.168 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001094/0.6726, allocations: 13.67 kB / 0.952 GB, free: 7.16 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001193/0.6727, allocations: 33.41 kB / 0.952 GB, free: 7.141 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 8.952e-05/0.6728, allocations: 44.36 kB / 0.9521 GB, free: 7.109 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.706e-05/0.6729, allocations: 2.969 kB / 0.9521 GB, free: 7.109 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002674/0.6731, allocations: 90.56 kB / 0.9522 GB, free: 7.062 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.033e-05/0.6732, allocations: 10.14 kB / 0.9522 GB, free: 7.055 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.974e-05/0.6733, allocations: 32.44 kB / 0.9522 GB, free: 7.031 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002285/0.6735, allocations: 100.5 kB / 0.9523 GB, free: 6.969 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.6735, allocations: 0 / 0.9523 GB, free: 6.969 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.193e-06/0.6735, allocations: 0 / 0.9523 GB, free: 6.969 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.631e-06/0.6736, allocations: 0 / 0.9523 GB, free: 6.969 MB / 0.7169 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.0007263/0.6743, allocations: 428.8 kB / 0.9527 GB, free: 6.527 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.432e-05/0.6744, allocations: 8.594 kB / 0.9527 GB, free: 6.527 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.156e-05/0.6744, allocations: 5.375 kB / 0.9527 GB, free: 6.527 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001036/0.6746, allocations: 179.1 kB / 0.9529 GB, free: 6.316 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.198e-05/0.6746, allocations: 2.75 kB / 0.9529 GB, free: 6.316 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.619e-05/0.6746, allocations: 9.297 kB / 0.9529 GB, free: 6.312 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002827/0.6749, allocations: 71.56 kB / 0.953 GB, free: 6.254 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.471e-05/0.675, allocations: 4 kB / 0.953 GB, free: 6.25 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.127e-05/0.675, allocations: 1.5 kB / 0.953 GB, free: 6.25 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.187e-06/0.675, allocations: 1.5 kB / 0.953 GB, free: 6.25 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002563/0.6753, allocations: 36.31 kB / 0.953 GB, free: 6.234 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008626/0.6762, allocations: 319.8 kB / 0.9533 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002014/0.6764, allocations: 49.03 kB / 0.9534 GB, free: 5.863 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001459/0.6766, allocations: 31.41 kB / 0.9534 GB, free: 5.844 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.805e-05/0.6766, allocations: 1.156 kB / 0.9534 GB, free: 5.844 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000305/0.6769, allocations: 85.09 kB / 0.9535 GB, free: 5.766 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 3.406e-06/0.6769, allocations: 1.156 kB / 0.9535 GB, free: 5.766 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0006319/0.6776, allocations: 143.2 kB / 0.9536 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.208e-05/0.6776, allocations: 54.12 kB / 0.9537 GB, free: 5.617 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001119/0.6778, allocations: 120.3 kB / 0.9538 GB, free: 5.504 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.008e-05/0.6778, allocations: 27.14 kB / 0.9538 GB, free: 5.473 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.652e-05/0.6779, allocations: 90.81 kB / 0.9539 GB, free: 5.383 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.986e-05/0.6779, allocations: 14.28 kB / 0.9539 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.979e-05/0.678, allocations: 30.3 kB / 0.954 GB, free: 5.344 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.036e-05/0.6781, allocations: 329.3 kB / 0.9543 GB, free: 5.016 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001459/0.6782, allocations: 21.92 kB / 0.9543 GB, free: 5.008 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001628/0.6784, allocations: 49.08 kB / 0.9543 GB, free: 4.965 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002856/0.6787, allocations: 82.94 kB / 0.9544 GB, free: 4.902 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.859e-06/0.6787, allocations: 5.219 kB / 0.9544 GB, free: 4.898 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004616/0.6792, allocations: 116.9 kB / 0.9545 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.229e-05/0.6792, allocations: 4.875 kB / 0.9545 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.179e-05/0.6793, allocations: 9.578 kB / 0.9545 GB, free: 4.816 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.907e-05/0.6793, allocations: 1.406 kB / 0.9545 GB, free: 4.816 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001518/0.6795, allocations: 8.344 kB / 0.9546 GB, free: 4.816 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.058e-05/0.6795, allocations: 2.281 kB / 0.9546 GB, free: 4.816 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001309/0.6796, allocations: 20.05 kB / 0.9546 GB, free: 4.801 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.353e-05/0.6797, allocations: 3.062 kB / 0.9546 GB, free: 4.801 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 9 (win.curSeed,$PRE.win.curSeed,occ.y,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 0.0001049/0.6798, allocations: 122.9 kB / 0.9547 GB, free: 4.676 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.126e-05/0.6798, allocations: 7.531 kB / 0.9547 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.055e-05/0.6799, allocations: 14.17 kB / 0.9547 GB, free: 4.66 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.23e-06/0.6799, allocations: 0 / 0.9547 GB, free: 4.66 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.6799, allocations: 4.594 kB / 0.9547 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.051e-06/0.6799, allocations: 1.656 kB / 0.9547 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005722/0.6805, allocations: 385.9 kB / 0.9551 GB, free: 4.281 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.796e-06/0.6805, allocations: 3.938 kB / 0.9551 GB, free: 4.277 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.228e-05/0.6806, allocations: 4.406 kB / 0.9551 GB, free: 4.277 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.421e-06/0.6806, allocations: 0 / 0.9551 GB, free: 4.277 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.706e-05/0.6806, allocations: 5.703 kB / 0.9551 GB, free: 4.273 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.324e-06/0.6807, allocations: 0 / 0.9551 GB, free: 4.273 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.6807, allocations: 3.938 kB / 0.9551 GB, free: 4.27 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004165/0.6811, allocations: 206.9 kB / 0.9553 GB, free: 4.102 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.743e-05/0.6811, allocations: 81.66 kB / 0.9554 GB, free: 4.004 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.194e-05/0.6812, allocations: 13.38 kB / 0.9554 GB, free: 3.992 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001546/0.6814, allocations: 2.688 kB / 0.9554 GB, free: 3.992 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.774e-05/0.6814, allocations: 10.58 kB / 0.9554 GB, free: 3.984 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.665e-05/0.6815, allocations: 2.125 kB / 0.9554 GB, free: 3.984 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 5.591e-05/0.6815, allocations: 93.3 kB / 0.9555 GB, free: 3.902 MB / 0.7169 GB Notification: Performance of sort global known variables: time 3.61e-07/0.6815, allocations: 4 kB / 0.9555 GB, free: 3.898 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.00054/0.6821, allocations: 40.16 kB / 0.9555 GB, free: 3.887 MB / 0.7169 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,occ.y,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.0004843/0.6826, allocations: 168.6 kB / 0.9557 GB, free: 3.766 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003913/0.683, allocations: 76.89 kB / 0.9558 GB, free: 3.73 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.683, allocations: 1.406 kB / 0.9558 GB, free: 3.73 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.000187/0.6832, allocations: 36.58 kB / 0.9558 GB, free: 3.715 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004298/0.6837, allocations: 6.328 kB / 0.9558 GB, free: 3.711 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005516/0.6842, allocations: 217.8 kB / 0.956 GB, free: 3.508 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001359/0.6844, allocations: 0.6985 MB / 0.9567 GB, free: 2.797 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.667e-05/0.6845, allocations: 10.03 kB / 0.9567 GB, free: 2.789 MB / 0.7169 GB Notification: Performance of SimCode: time 5.41e-07/0.6845, allocations: 0 / 0.9567 GB, free: 2.789 MB / 0.7169 GB Notification: Performance of Templates: time 0.005641/0.6901, allocations: 1.61 MB / 0.9583 GB, free: 1.965 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.makefile (rm -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.sim & ./Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTIn.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches