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.001735/0.001735, allocations: 108 kB / 15.6 MB, free: 132 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.002207/0.002207, allocations: 193.8 kB / 16.53 MB, free: 6.391 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.433/1.433, allocations: 222.9 MB / 240.2 MB, free: 4.414 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.363/2.363, allocations: 390.3 MB / 0.6647 GB, free: 436 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001332/0.001332, allocations: 63.84 kB / 0.8126 GB, free: 14.37 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5995/0.6008, allocations: 140.4 MB / 0.9497 GB, free: 9.168 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen): time 0.002153/0.603, allocations: 1.489 MB / 0.9512 GB, free: 7.996 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0009447/0.604, allocations: 0.7369 MB / 0.9519 GB, free: 7.422 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.554e-05/0.604, allocations: 1.188 kB / 0.9519 GB, free: 7.422 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.384e-05/0.604, allocations: 7.922 kB / 0.9519 GB, free: 7.414 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.459e-05/0.6041, allocations: 12.86 kB / 0.9519 GB, free: 7.402 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004464/0.6045, allocations: 121.8 kB / 0.952 GB, free: 7.316 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.367e-05/0.6046, allocations: 84 kB / 0.9521 GB, free: 7.266 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.013e-05/0.6047, allocations: 9.453 kB / 0.9521 GB, free: 7.262 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.005e-05/0.6048, allocations: 37.52 kB / 0.9521 GB, free: 7.238 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.611e-05/0.6049, allocations: 39.12 kB / 0.9522 GB, free: 7.211 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.861e-05/0.6049, allocations: 6.469 kB / 0.9522 GB, free: 7.211 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001665/0.6051, allocations: 99.12 kB / 0.9523 GB, free: 7.16 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.998e-05/0.6051, allocations: 9.484 kB / 0.9523 GB, free: 7.152 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.865e-05/0.6051, allocations: 39.81 kB / 0.9523 GB, free: 7.121 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001793/0.6053, allocations: 136 kB / 0.9525 GB, free: 7.035 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.6053, allocations: 1.25 kB / 0.9525 GB, free: 7.035 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.383e-06/0.6053, allocations: 3.938 kB / 0.9525 GB, free: 7.031 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.998e-06/0.6053, allocations: 0 / 0.9525 GB, free: 7.031 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.0004653/0.6058, allocations: 423.6 kB / 0.9529 GB, free: 6.594 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.012e-05/0.6058, allocations: 9.406 kB / 0.9529 GB, free: 6.594 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.41e-05/0.6059, allocations: 36.06 kB / 0.9529 GB, free: 6.551 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.246e-05/0.6059, allocations: 4.906 kB / 0.9529 GB, free: 6.551 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.201e-05/0.606, allocations: 187.8 kB / 0.9531 GB, free: 6.332 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.766e-05/0.606, allocations: 2.531 kB / 0.9531 GB, free: 6.332 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.728e-05/0.606, allocations: 8.875 kB / 0.9531 GB, free: 6.328 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001528/0.6062, allocations: 67.47 kB / 0.9532 GB, free: 6.273 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.302e-06/0.6062, allocations: 1.562 kB / 0.9532 GB, free: 6.273 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.039e-05/0.6062, allocations: 0 / 0.9532 GB, free: 6.273 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.087e-06/0.6062, allocations: 1.625 kB / 0.9532 GB, free: 6.273 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001254/0.6064, allocations: 36.22 kB / 0.9532 GB, free: 6.258 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004847/0.6068, allocations: 325 kB / 0.9535 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000109/0.607, allocations: 53.52 kB / 0.9536 GB, free: 5.879 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.757e-05/0.6071, allocations: 31.28 kB / 0.9536 GB, free: 5.859 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.532e-05/0.6071, allocations: 5 kB / 0.9536 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000149/0.6072, allocations: 82 kB / 0.9537 GB, free: 5.781 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.302e-06/0.6072, allocations: 0 / 0.9537 GB, free: 5.781 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0003506/0.6076, allocations: 139.9 kB / 0.9538 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.271e-05/0.6076, allocations: 56.84 kB / 0.9539 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.211e-05/0.6077, allocations: 121.3 kB / 0.954 GB, free: 5.52 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.114e-05/0.6077, allocations: 35.02 kB / 0.954 GB, free: 5.48 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.835e-05/0.6077, allocations: 90.73 kB / 0.9541 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.509e-05/0.6078, allocations: 14.02 kB / 0.9541 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.192e-05/0.6078, allocations: 27.16 kB / 0.9541 GB, free: 5.355 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.463e-05/0.6079, allocations: 324.2 kB / 0.9545 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.705e-05/0.6079, allocations: 22.86 kB / 0.9545 GB, free: 5.023 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.26e-05/0.608, allocations: 55.89 kB / 0.9545 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001582/0.6082, allocations: 70.41 kB / 0.9546 GB, free: 4.93 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.6082, allocations: 0 / 0.9546 GB, free: 4.93 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000216/0.6084, allocations: 112.5 kB / 0.9547 GB, free: 4.859 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.147e-05/0.6084, allocations: 6.406 kB / 0.9547 GB, free: 4.859 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.878e-06/0.6084, allocations: 4.062 kB / 0.9547 GB, free: 4.855 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.261e-05/0.6085, allocations: 1.469 kB / 0.9547 GB, free: 4.855 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.049e-05/0.6086, allocations: 12.55 kB / 0.9547 GB, free: 4.852 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.92e-06/0.6086, allocations: 1.312 kB / 0.9547 GB, free: 4.852 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.802e-05/0.6086, allocations: 16.11 kB / 0.9547 GB, free: 4.84 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.14e-05/0.6087, allocations: 6.562 kB / 0.9548 GB, free: 4.836 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 5.68e-05/0.6087, allocations: 119.3 kB / 0.9549 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.662e-05/0.6087, allocations: 6.25 kB / 0.9549 GB, free: 4.711 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.112e-05/0.6088, allocations: 13.66 kB / 0.9549 GB, free: 4.699 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.6088, allocations: 1.094 kB / 0.9549 GB, free: 4.699 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.6088, allocations: 1.281 kB / 0.9549 GB, free: 4.699 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.125e-06/0.6088, allocations: 3.984 kB / 0.9549 GB, free: 4.695 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003464/0.6091, allocations: 386.4 kB / 0.9553 GB, free: 4.32 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.6092, allocations: 1.469 kB / 0.9553 GB, free: 4.32 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.004e-05/0.6092, allocations: 6.812 kB / 0.9553 GB, free: 4.316 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.6092, allocations: 1.469 kB / 0.9553 GB, free: 4.316 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.698e-06/0.6092, allocations: 4 kB / 0.9553 GB, free: 4.312 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.6092, allocations: 9.281 kB / 0.9553 GB, free: 4.305 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.6092, allocations: 0 / 0.9553 GB, free: 4.305 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002296/0.6095, allocations: 205.4 kB / 0.9555 GB, free: 4.137 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.74e-05/0.6095, allocations: 83.08 kB / 0.9556 GB, free: 4.039 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.956e-05/0.6095, allocations: 5.031 kB / 0.9556 GB, free: 4.035 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.461e-05/0.6096, allocations: 14.95 kB / 0.9556 GB, free: 4.023 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.424e-05/0.6097, allocations: 11.08 kB / 0.9556 GB, free: 4.016 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.747e-06/0.6097, allocations: 4.984 kB / 0.9556 GB, free: 4.012 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.149e-05/0.6097, allocations: 89.59 kB / 0.9557 GB, free: 3.934 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.21e-07/0.6097, allocations: 0 / 0.9557 GB, free: 3.934 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002894/0.61, allocations: 40.11 kB / 0.9557 GB, free: 3.922 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.0005514/0.6106, allocations: 0.807 MB / 0.9565 GB, free: 3.191 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002185/0.6108, allocations: 66.94 kB / 0.9566 GB, free: 3.168 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.6108, allocations: 3.938 kB / 0.9566 GB, free: 3.164 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.17e-05/0.6109, allocations: 53.27 kB / 0.9566 GB, free: 3.133 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002414/0.6112, allocations: 6.219 kB / 0.9566 GB, free: 3.129 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001179/0.6123, allocations: 1.477 MB / 0.9581 GB, free: 1.758 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.531e-05/0.6124, allocations: 0.6885 MB / 0.9587 GB, free: 1.055 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.417e-05/0.6125, allocations: 7.453 kB / 0.9588 GB, free: 1.051 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.775e-05/0.6125, allocations: 23.16 kB / 0.9588 GB, free: 1.031 MB / 0.7169 GB Notification: Performance of SimCode: time 2.21e-07/0.6125, allocations: 0 / 0.9588 GB, free: 1.031 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01673/0.6293, allocations: 2.614 MB / 0.9613 GB, free: 15.66 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.342/7.971, allocations: 8.859 kB / 0.9613 GB, free: 15.66 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 & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen_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_Herkel2008WindowsCompletelyOpen.fmu > Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen_res.csv","/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) "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.Herkel2008WindowsCompletelyOpen_res.csv. Warning: Get data of variable win.occ from file Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen_res.csv failed! Error: Could not read variable win.on in file Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen_res.csv. Warning: Get data of variable win.on from file Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen_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