Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.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.Haldi2008WindowsTOut,fileNamePrefix="Buildings_9_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTOut",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut,fileNamePrefix="Buildings_9_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTOut",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.001332/0.001332, 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.001435/0.001435, allocations: 194.3 kB / 16.53 MB, free: 6.664 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.352/1.352, allocations: 222.9 MB / 240.2 MB, free: 4.41 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.328/2.328, allocations: 390.2 MB / 0.6647 GB, free: 0.5195 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001435/0.001435, allocations: 59.91 kB / 0.8127 GB, free: 14.41 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6578/0.6593, allocations: 140.4 MB / 0.9497 GB, free: 9.141 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut): time 0.002402/0.6617, allocations: 1.474 MB / 0.9512 GB, free: 7.98 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00104/0.6628, allocations: 0.7409 MB / 0.9519 GB, free: 7.402 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.877e-05/0.6628, allocations: 1.25 kB / 0.9519 GB, free: 7.402 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.693e-05/0.6629, allocations: 7.922 kB / 0.9519 GB, free: 7.395 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.869e-05/0.6629, allocations: 9.188 kB / 0.9519 GB, free: 7.387 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004915/0.6634, allocations: 122.5 kB / 0.952 GB, free: 7.301 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.823e-05/0.6635, allocations: 71.25 kB / 0.9521 GB, free: 7.262 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.576e-05/0.6636, allocations: 20.97 kB / 0.9521 GB, free: 7.246 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.308e-05/0.6637, allocations: 34.91 kB / 0.9522 GB, free: 7.227 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.079e-05/0.6638, allocations: 42.3 kB / 0.9522 GB, free: 7.195 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.055e-05/0.6638, allocations: 6.281 kB / 0.9522 GB, free: 7.195 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001765/0.664, allocations: 90.23 kB / 0.9523 GB, free: 7.152 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.503e-05/0.664, allocations: 19.91 kB / 0.9523 GB, free: 7.137 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.421e-05/0.6641, allocations: 38.95 kB / 0.9523 GB, free: 7.105 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002069/0.6643, allocations: 132.3 kB / 0.9525 GB, free: 7.023 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.439e-06/0.6643, allocations: 3.938 kB / 0.9525 GB, free: 7.02 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.623e-06/0.6643, allocations: 7.938 kB / 0.9525 GB, free: 7.012 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.639e-06/0.6643, allocations: 0 / 0.9525 GB, free: 7.012 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.0005591/0.6649, allocations: 423.8 kB / 0.9529 GB, free: 6.574 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.929e-05/0.6649, allocations: 10.41 kB / 0.9529 GB, free: 6.574 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.929e-05/0.665, allocations: 36.34 kB / 0.9529 GB, free: 6.531 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.81e-05/0.665, allocations: 12.17 kB / 0.9529 GB, free: 6.523 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.048e-05/0.6651, allocations: 172.2 kB / 0.9531 GB, free: 6.32 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.261e-05/0.6651, allocations: 3.062 kB / 0.9531 GB, free: 6.32 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.035e-05/0.6651, allocations: 7.906 kB / 0.9531 GB, free: 6.316 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001685/0.6653, allocations: 71.94 kB / 0.9532 GB, free: 6.258 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.943e-06/0.6653, allocations: 0 / 0.9532 GB, free: 6.258 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.453e-05/0.6654, allocations: 1.531 kB / 0.9532 GB, free: 6.258 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.6654, allocations: 0 / 0.9532 GB, free: 6.258 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001258/0.6655, allocations: 40.38 kB / 0.9532 GB, free: 6.238 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005266/0.666, allocations: 322.2 kB / 0.9535 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001154/0.6662, allocations: 49.27 kB / 0.9536 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.199e-05/0.6662, allocations: 31.09 kB / 0.9536 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.224e-05/0.6663, allocations: 1.094 kB / 0.9536 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001734/0.6665, allocations: 85.47 kB / 0.9537 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.633e-06/0.6665, allocations: 0 / 0.9537 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0004058/0.6669, allocations: 140 kB / 0.9538 GB, free: 5.688 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.614e-05/0.6669, allocations: 57.44 kB / 0.9539 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.895e-05/0.667, allocations: 121.3 kB / 0.954 GB, free: 5.508 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.404e-05/0.667, allocations: 31.11 kB / 0.954 GB, free: 5.473 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.585e-05/0.6671, allocations: 86.73 kB / 0.9541 GB, free: 5.387 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.86e-05/0.6671, allocations: 22.86 kB / 0.9541 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.384e-05/0.6671, allocations: 25.72 kB / 0.9542 GB, free: 5.344 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.988e-05/0.6672, allocations: 324.7 kB / 0.9545 GB, free: 5.02 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.054e-05/0.6673, allocations: 26.33 kB / 0.9545 GB, free: 5.008 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.647e-05/0.6674, allocations: 49.45 kB / 0.9545 GB, free: 4.969 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001514/0.6675, allocations: 69.56 kB / 0.9546 GB, free: 4.922 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.6675, allocations: 0 / 0.9546 GB, free: 4.922 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002253/0.6678, allocations: 117.1 kB / 0.9547 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.408e-05/0.6678, allocations: 5.062 kB / 0.9547 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.6678, allocations: 1.125 kB / 0.9547 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.3e-05/0.6678, allocations: 5.219 kB / 0.9547 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.143e-05/0.6679, allocations: 16.98 kB / 0.9547 GB, free: 4.836 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.501e-06/0.6679, allocations: 1.219 kB / 0.9547 GB, free: 4.836 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.53e-05/0.668, allocations: 16.27 kB / 0.9548 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.202e-05/0.668, allocations: 6.656 kB / 0.9548 GB, free: 4.82 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.192e-05/0.6681, allocations: 117.9 kB / 0.9549 GB, free: 4.699 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.626e-05/0.6681, allocations: 8.375 kB / 0.9549 GB, free: 4.695 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.265e-05/0.6681, allocations: 8.375 kB / 0.9549 GB, free: 4.688 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.023e-06/0.6681, allocations: 5.531 kB / 0.9549 GB, free: 4.684 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.6681, allocations: 0 / 0.9549 GB, free: 4.684 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.6682, allocations: 5.359 kB / 0.9549 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003455/0.6685, allocations: 385.8 kB / 0.9553 GB, free: 4.305 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.482e-06/0.6685, allocations: 1 kB / 0.9553 GB, free: 4.305 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.919e-05/0.6686, allocations: 2.938 kB / 0.9553 GB, free: 4.305 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.6686, allocations: 1.125 kB / 0.9553 GB, free: 4.305 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.291e-05/0.6686, allocations: 4.938 kB / 0.9553 GB, free: 4.301 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.6686, allocations: 12.94 kB / 0.9553 GB, free: 4.289 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.6686, allocations: 4 kB / 0.9553 GB, free: 4.285 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002299/0.6688, allocations: 206.2 kB / 0.9555 GB, free: 4.117 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.805e-05/0.6689, allocations: 82.17 kB / 0.9556 GB, free: 4.02 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.894e-05/0.6689, allocations: 1.188 kB / 0.9556 GB, free: 4.02 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.892e-05/0.669, allocations: 14.3 kB / 0.9556 GB, free: 4.008 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.713e-05/0.669, allocations: 3.688 kB / 0.9556 GB, free: 4.008 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.816e-06/0.669, allocations: 9.141 kB / 0.9556 GB, free: 4 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.171e-05/0.6691, allocations: 92.75 kB / 0.9557 GB, free: 3.918 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6691, allocations: 1.125 kB / 0.9557 GB, free: 3.918 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002915/0.6694, allocations: 39.8 kB / 0.9557 GB, free: 3.906 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.0006167/0.67, allocations: 0.8078 MB / 0.9565 GB, free: 3.176 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002335/0.6702, allocations: 74.11 kB / 0.9566 GB, free: 3.145 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.6703, allocations: 1.469 kB / 0.9566 GB, free: 3.145 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.32e-05/0.6704, allocations: 35.69 kB / 0.9566 GB, free: 3.129 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002653/0.6706, allocations: 14.94 kB / 0.9566 GB, free: 3.117 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001866/0.6725, allocations: 1.48 MB / 0.9581 GB, free: 1.742 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001079/0.6726, allocations: 0.6875 MB / 0.9587 GB, free: 1.043 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 4.901e-05/0.6727, allocations: 7.891 kB / 0.9588 GB, free: 1.039 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.284e-05/0.6728, allocations: 15.55 kB / 0.9588 GB, free: 1.023 MB / 0.7169 GB Notification: Performance of SimCode: time 3.4e-07/0.6728, allocations: 0 / 0.9588 GB, free: 1.023 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02376/0.6965, allocations: 2.608 MB / 0.9613 GB, free: 15.64 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.405/8.101, allocations: 11.94 kB / 0.9613 GB, free: 15.63 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut_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_Haldi2008WindowsTOut.fmu > Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTOut.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.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.Haldi2008WindowsTOut_res.csv. Warning: Get data of variable win.occ from file Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut_res.csv failed! Error: Could not read variable win.on in file Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut_res.csv. Warning: Get data of variable win.on from file Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut_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