Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsCompletelyOpen",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen,fileNamePrefix="Buildings_11_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.007494/0.007494, allocations: 99.58 kB / 15.73 MB, free: 5.98 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001721/0.001721, allocations: 194.7 kB / 16.68 MB, free: 5.91 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.522/1.522, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.728/2.728, allocations: 469.8 MB / 0.7425 GB, free: 3.309 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001885/0.001885, allocations: 59.91 kB / 1.065 GB, free: 14.09 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7092/0.7111, allocations: 159.1 MB / 1.22 GB, free: 2.02 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen): time 0.002695/0.7138, allocations: 1.503 MB / 1.222 GB, free: 0.5078 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001249/0.7151, allocations: 0.7254 MB / 1.222 GB, free: 15.78 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.559e-05/0.7151, allocations: 0 / 1.222 GB, free: 15.78 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 3.026e-05/0.7152, allocations: 3.938 kB / 1.222 GB, free: 15.77 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 5.435e-05/0.7152, allocations: 15.88 kB / 1.222 GB, free: 15.76 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005114/0.7157, allocations: 119.6 kB / 1.222 GB, free: 15.64 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0001195/0.7159, allocations: 79.77 kB / 1.223 GB, free: 15.56 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 8.652e-05/0.716, allocations: 19.94 kB / 1.223 GB, free: 15.54 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 8.461e-05/0.7161, allocations: 35.84 kB / 1.223 GB, free: 15.51 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 7.79e-05/0.7161, allocations: 39.83 kB / 1.223 GB, free: 15.47 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 2.153e-05/0.7162, allocations: 8 kB / 1.223 GB, free: 15.46 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001957/0.7164, allocations: 95.91 kB / 1.223 GB, free: 15.37 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 2.848e-05/0.7164, allocations: 23.86 kB / 1.223 GB, free: 15.34 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 4.74e-05/0.7165, allocations: 27.86 kB / 1.223 GB, free: 15.32 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0002393/0.7167, allocations: 138.2 kB / 1.223 GB, free: 15.19 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.7167, allocations: 0 / 1.223 GB, free: 15.19 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.363e-06/0.7167, allocations: 4 kB / 1.223 GB, free: 15.18 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 4.168e-06/0.7167, allocations: 0 / 1.223 GB, free: 15.18 MB / 0.9512 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.0006461/0.7174, allocations: 421.7 kB / 1.223 GB, free: 14.72 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.642e-05/0.7174, allocations: 16.03 kB / 1.223 GB, free: 14.7 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.703e-05/0.7175, allocations: 30.75 kB / 1.223 GB, free: 14.66 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.433e-05/0.7175, allocations: 8.891 kB / 1.223 GB, free: 14.66 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001455/0.7177, allocations: 176.3 kB / 1.224 GB, free: 14.45 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.3e-05/0.7177, allocations: 8.375 kB / 1.224 GB, free: 14.44 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.82e-05/0.7177, allocations: 4.375 kB / 1.224 GB, free: 14.43 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001876/0.7179, allocations: 73.72 kB / 1.224 GB, free: 14.36 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.714e-06/0.7179, allocations: 0 / 1.224 GB, free: 14.36 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.011e-05/0.718, allocations: 0 / 1.224 GB, free: 14.36 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.106e-05/0.718, allocations: 4 kB / 1.224 GB, free: 14.35 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001446/0.7181, allocations: 43.91 kB / 1.224 GB, free: 14.31 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006028/0.7187, allocations: 312.7 kB / 1.224 GB, free: 13.95 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001371/0.7189, allocations: 46.55 kB / 1.224 GB, free: 13.9 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.769e-05/0.719, allocations: 40.91 kB / 1.224 GB, free: 13.86 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.94e-05/0.719, allocations: 0 / 1.224 GB, free: 13.86 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001684/0.7192, allocations: 79.44 kB / 1.224 GB, free: 13.77 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=7): time 1.373e-06/0.7192, allocations: 0 / 1.224 GB, free: 13.77 MB / 0.9512 GB Notification: Performance of matching and sorting (n=7): time 0.000428/0.7196, allocations: 137.6 kB / 1.224 GB, free: 13.62 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.187e-05/0.7197, allocations: 51.41 kB / 1.224 GB, free: 13.56 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001048/0.7198, allocations: 133.7 kB / 1.224 GB, free: 13.42 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.296e-05/0.7198, allocations: 29.7 kB / 1.224 GB, free: 13.39 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 6.416e-05/0.7199, allocations: 88.14 kB / 1.225 GB, free: 13.3 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.151e-05/0.7199, allocations: 15.91 kB / 1.225 GB, free: 13.28 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.235e-05/0.72, allocations: 25.7 kB / 1.225 GB, free: 13.25 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001448/0.7201, allocations: 322.8 kB / 1.225 GB, free: 12.93 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.765e-05/0.7202, allocations: 27.98 kB / 1.225 GB, free: 12.9 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001093/0.7204, allocations: 50.55 kB / 1.225 GB, free: 12.84 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001717/0.7205, allocations: 74.48 kB / 1.225 GB, free: 12.76 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.7205, allocations: 0 / 1.225 GB, free: 12.76 MB / 0.9512 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002638/0.7208, allocations: 117.9 kB / 1.225 GB, free: 12.64 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.24e-05/0.7208, allocations: 4 kB / 1.225 GB, free: 12.63 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.7208, allocations: 4 kB / 1.225 GB, free: 12.63 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.036e-05/0.7209, allocations: 0 / 1.225 GB, free: 12.63 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001048/0.721, allocations: 11.98 kB / 1.225 GB, free: 12.62 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.117e-06/0.721, allocations: 8 kB / 1.225 GB, free: 12.61 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.038e-05/0.7211, allocations: 11.88 kB / 1.225 GB, free: 12.6 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.642e-05/0.7211, allocations: 7.984 kB / 1.225 GB, free: 12.59 MB / 0.9512 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 0.0001065/0.7212, allocations: 130.3 kB / 1.225 GB, free: 12.45 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.668e-05/0.7212, allocations: 11.95 kB / 1.225 GB, free: 12.44 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.818e-05/0.7213, allocations: 8.375 kB / 1.225 GB, free: 12.43 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.7213, allocations: 0 / 1.225 GB, free: 12.43 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.506e-06/0.7213, allocations: 0 / 1.225 GB, free: 12.43 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.7213, allocations: 3.984 kB / 1.225 GB, free: 12.42 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005006/0.7218, allocations: 382.4 kB / 1.226 GB, free: 11.99 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.7218, allocations: 0 / 1.226 GB, free: 11.99 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.24e-05/0.7219, allocations: 7.984 kB / 1.226 GB, free: 11.98 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-06/0.7219, allocations: 4 kB / 1.226 GB, free: 11.98 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.934e-05/0.7219, allocations: 7.938 kB / 1.226 GB, free: 11.97 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.326e-06/0.7219, allocations: 3.938 kB / 1.226 GB, free: 11.97 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.7219, allocations: 0 / 1.226 GB, free: 11.97 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003056/0.7222, allocations: 203.5 kB / 1.226 GB, free: 11.75 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 5.845e-05/0.7223, allocations: 85.06 kB / 1.226 GB, free: 11.65 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.712e-05/0.7223, allocations: 0 / 1.226 GB, free: 11.65 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.621e-05/0.7224, allocations: 15.92 kB / 1.226 GB, free: 11.64 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.328e-05/0.7224, allocations: 0 / 1.226 GB, free: 11.64 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.052e-05/0.7225, allocations: 8 kB / 1.226 GB, free: 11.63 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 6.116e-05/0.7225, allocations: 91.27 kB / 1.226 GB, free: 11.54 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7225, allocations: 0 / 1.226 GB, free: 11.54 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002981/0.7228, allocations: 43.86 kB / 1.226 GB, free: 11.5 MB / 0.9512 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.0008846/0.7237, allocations: 0.8114 MB / 1.227 GB, free: 10.68 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0002456/0.724, allocations: 75.88 kB / 1.227 GB, free: 10.6 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 5.741e-06/0.724, allocations: 4.125 kB / 1.227 GB, free: 10.6 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0001004/0.7241, allocations: 31.98 kB / 1.227 GB, free: 10.57 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002565/0.7244, allocations: 14.66 kB / 1.227 GB, free: 10.55 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001703/0.7261, allocations: 1.491 MB / 1.229 GB, free: 8.969 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003189/0.7264, allocations: 0.6885 MB / 1.229 GB, free: 8.254 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 3.521e-05/0.7265, allocations: 4 kB / 1.229 GB, free: 8.25 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.7e-05/0.7265, allocations: 23.42 kB / 1.229 GB, free: 8.227 MB / 0.9512 GB Notification: Performance of SimCode: time 2.3e-07/0.7265, allocations: 0 / 1.229 GB, free: 8.227 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02295/0.7495, allocations: 2.655 MB / 1.232 GB, free: 5.727 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.728/8.478, allocations: 12.7 kB / 1.232 GB, free: 5.719 MB / 0.9512 GB (rm -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.sim & python3 -m fmpy simulate --output-file Buildings_11_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_11_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsCompletelyOpen.fmu > Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsCompletelyOpen.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen_res.csv. Warning: Get data of variable win.occ from file Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen_res.csv failed! Error: Could not read variable win.on in file Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen_res.csv. Warning: Get data of variable win.on from file Buildings_11_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