Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.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.Zhang2012WindowsWest,fileNamePrefix="Buildings_9_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsWest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest,fileNamePrefix="Buildings_9_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsWest",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.001487/0.001487, allocations: 196.1 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.349/1.349, allocations: 222.9 MB / 240.2 MB, free: 4.391 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.307/2.307, allocations: 390.2 MB / 0.6647 GB, free: 436 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001487/0.001487, allocations: 67.91 kB / 0.8126 GB, free: 14.34 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6019/0.6034, allocations: 140.4 MB / 0.9497 GB, free: 9.133 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest): time 0.002531/0.606, allocations: 1.487 MB / 0.9512 GB, free: 7.961 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00101/0.607, allocations: 0.7378 MB / 0.9519 GB, free: 7.387 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.938e-05/0.607, allocations: 1.562 kB / 0.9519 GB, free: 7.387 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.915e-05/0.6071, allocations: 3.938 kB / 0.9519 GB, free: 7.383 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.381e-05/0.6071, allocations: 9.125 kB / 0.9519 GB, free: 7.375 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004689/0.6076, allocations: 122.2 kB / 0.952 GB, free: 7.289 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.922e-05/0.6077, allocations: 83.14 kB / 0.9521 GB, free: 7.238 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.032e-05/0.6078, allocations: 20.81 kB / 0.9521 GB, free: 7.223 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.651e-05/0.6079, allocations: 30.39 kB / 0.9522 GB, free: 7.207 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.972e-05/0.6079, allocations: 46.72 kB / 0.9522 GB, free: 7.172 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.926e-05/0.608, allocations: 6.688 kB / 0.9522 GB, free: 7.172 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001706/0.6081, allocations: 98.25 kB / 0.9523 GB, free: 7.121 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.215e-05/0.6082, allocations: 14.36 kB / 0.9523 GB, free: 7.109 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.051e-05/0.6082, allocations: 32.64 kB / 0.9523 GB, free: 7.086 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001981/0.6084, allocations: 131 kB / 0.9525 GB, free: 7.004 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.75e-06/0.6084, allocations: 1.188 kB / 0.9525 GB, free: 7.004 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.813e-06/0.6084, allocations: 7.938 kB / 0.9525 GB, free: 6.996 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.929e-06/0.6085, allocations: 0 / 0.9525 GB, free: 6.996 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.0005495/0.609, allocations: 423.9 kB / 0.9529 GB, free: 6.559 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.096e-05/0.6091, allocations: 9.344 kB / 0.9529 GB, free: 6.559 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.776e-05/0.6091, allocations: 35.77 kB / 0.9529 GB, free: 6.516 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.806e-05/0.6092, allocations: 4.938 kB / 0.9529 GB, free: 6.516 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.923e-05/0.6092, allocations: 171.7 kB / 0.9531 GB, free: 6.312 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.817e-05/0.6093, allocations: 15.58 kB / 0.9531 GB, free: 6.301 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.782e-05/0.6093, allocations: 8.344 kB / 0.9531 GB, free: 6.297 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001706/0.6095, allocations: 72.3 kB / 0.9532 GB, free: 6.238 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.824e-06/0.6095, allocations: 0 / 0.9532 GB, free: 6.238 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.188e-05/0.6095, allocations: 4 kB / 0.9532 GB, free: 6.234 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.911e-06/0.6095, allocations: 1.438 kB / 0.9532 GB, free: 6.234 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001245/0.6096, allocations: 32.55 kB / 0.9532 GB, free: 6.223 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005102/0.6102, allocations: 321.8 kB / 0.9535 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001104/0.6103, allocations: 51.97 kB / 0.9536 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.524e-05/0.6104, allocations: 31.62 kB / 0.9536 GB, free: 5.828 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.762e-05/0.6104, allocations: 2.375 kB / 0.9536 GB, free: 5.828 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001441/0.6105, allocations: 81.19 kB / 0.9537 GB, free: 5.754 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.423e-06/0.6106, allocations: 0 / 0.9537 GB, free: 5.754 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0003456/0.6109, allocations: 140 kB / 0.9538 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.762e-05/0.6109, allocations: 57.55 kB / 0.9539 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.657e-05/0.611, allocations: 116.9 kB / 0.954 GB, free: 5.496 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.285e-05/0.611, allocations: 34.89 kB / 0.954 GB, free: 5.457 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.132e-05/0.6111, allocations: 90.81 kB / 0.9541 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.496e-05/0.6111, allocations: 18.25 kB / 0.9541 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.217e-05/0.6111, allocations: 26.64 kB / 0.9541 GB, free: 5.328 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.907e-05/0.6112, allocations: 319.9 kB / 0.9545 GB, free: 5.008 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.697e-05/0.6113, allocations: 31.19 kB / 0.9545 GB, free: 4.992 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.807e-05/0.6113, allocations: 44.12 kB / 0.9545 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001384/0.6115, allocations: 81.59 kB / 0.9546 GB, free: 4.898 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.502e-06/0.6115, allocations: 0 / 0.9546 GB, free: 4.898 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002051/0.6117, allocations: 117.9 kB / 0.9547 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.341e-05/0.6117, allocations: 4.906 kB / 0.9547 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.84e-06/0.6117, allocations: 1.406 kB / 0.9547 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.234e-05/0.6118, allocations: 5.312 kB / 0.9547 GB, free: 4.82 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.788e-05/0.6118, allocations: 16.48 kB / 0.9547 GB, free: 4.812 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.49e-06/0.6119, allocations: 0.9375 kB / 0.9547 GB, free: 4.812 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.293e-05/0.6119, allocations: 7.75 kB / 0.9547 GB, free: 4.809 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.314e-05/0.6119, allocations: 3.312 kB / 0.9548 GB, free: 4.809 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 6.041e-05/0.612, allocations: 122.8 kB / 0.9549 GB, free: 4.684 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.589e-05/0.612, allocations: 6.656 kB / 0.9549 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.357e-05/0.6121, allocations: 14.33 kB / 0.9549 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.6121, allocations: 5.188 kB / 0.9549 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.6121, allocations: 0 / 0.9549 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.6121, allocations: 0 / 0.9549 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003469/0.6124, allocations: 387.8 kB / 0.9553 GB, free: 4.289 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.6124, allocations: 4 kB / 0.9553 GB, free: 4.285 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.86e-05/0.6125, allocations: 2.906 kB / 0.9553 GB, free: 4.285 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.6125, allocations: 1.438 kB / 0.9553 GB, free: 4.285 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.109e-05/0.6125, allocations: 3.984 kB / 0.9553 GB, free: 4.281 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.744e-06/0.6125, allocations: 9.281 kB / 0.9553 GB, free: 4.273 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.6125, allocations: 4 kB / 0.9553 GB, free: 4.27 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002298/0.6128, allocations: 202 kB / 0.9555 GB, free: 4.105 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.859e-05/0.6128, allocations: 82.39 kB / 0.9556 GB, free: 4.008 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.881e-05/0.6128, allocations: 5.109 kB / 0.9556 GB, free: 4.004 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.794e-05/0.6129, allocations: 7.75 kB / 0.9556 GB, free: 4 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.688e-05/0.613, allocations: 6.766 kB / 0.9556 GB, free: 3.996 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.676e-06/0.613, allocations: 5.375 kB / 0.9556 GB, free: 3.992 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.461e-05/0.613, allocations: 101 kB / 0.9557 GB, free: 3.902 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.613, allocations: 0 / 0.9557 GB, free: 3.902 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002835/0.6133, allocations: 32.22 kB / 0.9557 GB, free: 3.898 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.0005809/0.6139, allocations: 0.8126 MB / 0.9565 GB, free: 3.16 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.000206/0.6141, allocations: 74.89 kB / 0.9566 GB, free: 3.129 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.6141, allocations: 0 / 0.9566 GB, free: 3.129 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.209e-05/0.6142, allocations: 36.8 kB / 0.9566 GB, free: 3.113 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002434/0.6145, allocations: 11.28 kB / 0.9566 GB, free: 3.105 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001205/0.6157, allocations: 1.484 MB / 0.9581 GB, free: 1.727 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.839e-05/0.6158, allocations: 0.6877 MB / 0.9587 GB, free: 1.023 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.486e-05/0.6158, allocations: 3.531 kB / 0.9587 GB, free: 1.023 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.835e-05/0.6159, allocations: 22.92 kB / 0.9588 GB, free: 1.004 MB / 0.7169 GB Notification: Performance of SimCode: time 2.21e-07/0.6159, allocations: 0 / 0.9588 GB, free: 1.004 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01787/0.6338, allocations: 2.599 MB / 0.9613 GB, free: 15.62 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.215/7.849, allocations: 16.62 kB / 0.9613 GB, free: 15.61 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest_res.csv --start-time 0 --stop-time 3600 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 Buildings_9_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsWest.fmu > Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsWest.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "Warning: Resultfile and Reference have different end time points! Reffile[551]=3600.000000 File[1236]=2249.280000 Error: Could not read variable win.occ in file Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest_res.csv. Warning: Get data of variable win.occ from file Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest_res.csv failed! Error: Could not read variable win.on in file Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest_res.csv. Warning: Get data of variable win.on from file Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest_res.csv failed! " Variables in the reference:time,win.TOut,win.occ,win.p,win.on Variables in the result:time,win.TOut,win.p,TOut.amplitude,TOut.f,TOut.offset