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: "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen,fileNamePrefix="Buildings_9_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsCompletelyOpen",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen,fileNamePrefix="Buildings_9_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsCompletelyOpen",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001114/0.001114, allocations: 108 kB / 15.61 MB, free: 152 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.001083/0.001083, allocations: 197.4 kB / 16.53 MB, free: 6.699 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.431/1.431, allocations: 222.9 MB / 240.2 MB, free: 4.418 MB / 190.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.245/2.245, allocations: 390.3 MB / 0.6647 GB, free: 420 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001265/0.001266, allocations: 75.86 kB / 0.8127 GB, free: 14.34 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5998/0.6011, allocations: 140.4 MB / 0.9497 GB, free: 9.121 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen): time 0.002706/0.6038, allocations: 1.486 MB / 0.9512 GB, free: 7.949 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001128/0.605, allocations: 0.7376 MB / 0.9519 GB, free: 7.375 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.374e-05/0.605, allocations: 0 / 0.9519 GB, free: 7.375 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.333e-05/0.6051, allocations: 5.344 kB / 0.9519 GB, free: 7.371 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.245e-05/0.6051, allocations: 13 kB / 0.9519 GB, free: 7.359 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005125/0.6057, allocations: 121.7 kB / 0.952 GB, free: 7.273 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 9.646e-05/0.6058, allocations: 79.19 kB / 0.9521 GB, free: 7.227 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.421e-05/0.6059, allocations: 21.36 kB / 0.9521 GB, free: 7.211 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.795e-05/0.606, allocations: 29.39 kB / 0.9522 GB, free: 7.195 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.879e-05/0.606, allocations: 35.94 kB / 0.9522 GB, free: 7.172 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.225e-05/0.606, allocations: 18.08 kB / 0.9522 GB, free: 7.16 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001892/0.6062, allocations: 94.39 kB / 0.9523 GB, free: 7.113 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.684e-05/0.6063, allocations: 22.86 kB / 0.9523 GB, free: 7.094 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.799e-05/0.6063, allocations: 32.11 kB / 0.9523 GB, free: 7.07 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002128/0.6065, allocations: 131.7 kB / 0.9525 GB, free: 6.988 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.6066, allocations: 0 / 0.9525 GB, free: 6.988 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.976e-06/0.6066, allocations: 0 / 0.9525 GB, free: 6.988 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.26e-06/0.6066, allocations: 3.938 kB / 0.9525 GB, free: 6.984 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.0005679/0.6072, allocations: 424.6 kB / 0.9529 GB, free: 6.547 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.388e-05/0.6072, allocations: 13.22 kB / 0.9529 GB, free: 6.543 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.355e-05/0.6072, allocations: 36.17 kB / 0.9529 GB, free: 6.5 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.82e-05/0.6073, allocations: 5.156 kB / 0.9529 GB, free: 6.5 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000102/0.6074, allocations: 171 kB / 0.9531 GB, free: 6.297 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.014e-05/0.6074, allocations: 11.84 kB / 0.9531 GB, free: 6.289 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.035e-05/0.6075, allocations: 3.344 kB / 0.9531 GB, free: 6.289 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001835/0.6076, allocations: 68.62 kB / 0.9532 GB, free: 6.234 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.107e-06/0.6077, allocations: 0 / 0.9532 GB, free: 6.234 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.247e-05/0.6077, allocations: 1.281 kB / 0.9532 GB, free: 6.234 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.14e-06/0.6077, allocations: 4 kB / 0.9532 GB, free: 6.23 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001257/0.6078, allocations: 41.47 kB / 0.9532 GB, free: 6.211 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005565/0.6084, allocations: 316.7 kB / 0.9535 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001255/0.6085, allocations: 56.66 kB / 0.9536 GB, free: 5.836 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.059e-05/0.6086, allocations: 32.59 kB / 0.9536 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.224e-05/0.6086, allocations: 1.531 kB / 0.9536 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001754/0.6088, allocations: 72.88 kB / 0.9537 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 2.485e-06/0.6088, allocations: 3.984 kB / 0.9537 GB, free: 5.746 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0003572/0.6092, allocations: 143.8 kB / 0.9538 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.756e-05/0.6092, allocations: 58.09 kB / 0.9539 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.555e-05/0.6093, allocations: 123.9 kB / 0.954 GB, free: 5.477 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.272e-05/0.6093, allocations: 31.3 kB / 0.954 GB, free: 5.441 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.217e-05/0.6094, allocations: 90.86 kB / 0.9541 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.673e-05/0.6094, allocations: 18.45 kB / 0.9541 GB, free: 5.336 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.391e-05/0.6094, allocations: 25.86 kB / 0.9542 GB, free: 5.312 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.795e-05/0.6095, allocations: 320.8 kB / 0.9545 GB, free: 4.992 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.435e-05/0.6096, allocations: 30.77 kB / 0.9545 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.423e-05/0.6097, allocations: 48.23 kB / 0.9545 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001471/0.6098, allocations: 74.02 kB / 0.9546 GB, free: 4.887 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.6098, allocations: 0 / 0.9546 GB, free: 4.887 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002119/0.61, allocations: 114.6 kB / 0.9547 GB, free: 4.816 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.54e-05/0.6101, allocations: 4.344 kB / 0.9547 GB, free: 4.816 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.652e-06/0.6101, allocations: 5.109 kB / 0.9547 GB, free: 4.812 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.477e-05/0.6101, allocations: 1.531 kB / 0.9547 GB, free: 4.812 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.918e-05/0.6102, allocations: 16.41 kB / 0.9547 GB, free: 4.805 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.486e-06/0.6102, allocations: 5.109 kB / 0.9547 GB, free: 4.801 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.245e-05/0.6103, allocations: 11.89 kB / 0.9548 GB, free: 4.793 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.448e-05/0.6103, allocations: 6.953 kB / 0.9548 GB, free: 4.789 MB / 0.7169 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 7.543e-05/0.6104, allocations: 126.3 kB / 0.9549 GB, free: 4.66 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.661e-05/0.6104, allocations: 7.219 kB / 0.9549 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.518e-05/0.6104, allocations: 13.55 kB / 0.9549 GB, free: 4.645 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.814e-06/0.6104, allocations: 1.188 kB / 0.9549 GB, free: 4.645 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.6104, allocations: 1.281 kB / 0.9549 GB, free: 4.645 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.6104, allocations: 0 / 0.9549 GB, free: 4.645 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003629/0.6108, allocations: 390.1 kB / 0.9553 GB, free: 4.266 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.6108, allocations: 1.594 kB / 0.9553 GB, free: 4.266 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.665e-05/0.6109, allocations: 2.844 kB / 0.9553 GB, free: 4.266 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.956e-06/0.6109, allocations: 1.281 kB / 0.9553 GB, free: 4.266 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.769e-06/0.6109, allocations: 0 / 0.9553 GB, free: 4.266 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.988e-06/0.6109, allocations: 9.516 kB / 0.9553 GB, free: 4.258 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.6109, allocations: 3.938 kB / 0.9553 GB, free: 4.254 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002468/0.6112, allocations: 205.6 kB / 0.9555 GB, free: 4.086 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.619e-05/0.6112, allocations: 82.33 kB / 0.9556 GB, free: 3.988 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.778e-05/0.6112, allocations: 1.125 kB / 0.9556 GB, free: 3.988 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.415e-05/0.6113, allocations: 11.86 kB / 0.9556 GB, free: 3.98 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.437e-05/0.6114, allocations: 2.656 kB / 0.9556 GB, free: 3.98 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.554e-05/0.6114, allocations: 5.391 kB / 0.9556 GB, free: 3.977 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.114e-05/0.6114, allocations: 100.2 kB / 0.9557 GB, free: 3.887 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6114, allocations: 1.125 kB / 0.9557 GB, free: 3.887 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002946/0.6117, allocations: 31.75 kB / 0.9557 GB, free: 3.883 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,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.0006552/0.6124, allocations: 0.8092 MB / 0.9565 GB, free: 3.152 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002178/0.6126, allocations: 78.33 kB / 0.9566 GB, free: 3.117 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.6126, allocations: 0 / 0.9566 GB, free: 3.117 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.14e-05/0.6127, allocations: 39.81 kB / 0.9566 GB, free: 3.098 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002453/0.613, allocations: 6.906 kB / 0.9566 GB, free: 3.094 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001262/0.6142, allocations: 1.481 MB / 0.9581 GB, free: 1.719 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001197/0.6144, allocations: 0.6895 MB / 0.9587 GB, free: 1.016 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.348e-05/0.6144, allocations: 10.7 kB / 0.9588 GB, free: 1.008 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.729e-05/0.6145, allocations: 19.38 kB / 0.9588 GB, free: 0.9922 MB / 0.7169 GB Notification: Performance of SimCode: time 2.11e-07/0.6145, allocations: 0 / 0.9588 GB, free: 0.9922 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5672/1.182, allocations: 2.621 MB / 0.9613 GB, free: 15.62 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.591/9.772, allocations: 4.812 kB / 0.9613 GB, free: 15.62 MB / 0.7325 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen_res.mat --tempDir=temp_Buildings_9_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsCompletelyOpen_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsCompletelyOpen.fmu > 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) "" Variables in the reference:time,win.TOut,win.occ,win.p,win.on Variables in the result:TOut.amplitude,TOut.f,TOut.offset,TOut.phase,TOut.startTime,TOut.y,occ.startTime,occ.startValue,occ.y,time,win.A,win.B,win.TOut,win.occ,win.on,win.p,win.samplePeriod,win.seed