Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.Haldi2008WindowsTIn,fileNamePrefix="Buildings_10_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTIn",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn,fileNamePrefix="Buildings_10_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTIn",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.006957/0.006957, allocations: 101.1 kB / 15.73 MB, free: 6.016 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.001176/0.001176, allocations: 189.7 kB / 16.67 MB, free: 5.93 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.386/1.386, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.511/2.511, allocations: 437 MB / 0.7105 GB, free: 4.352 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001625/0.001625, allocations: 67.84 kB / 1.018 GB, free: 9.918 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7611/0.7628, allocations: 151.6 MB / 1.166 GB, free: 3.789 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn): time 0.002363/0.7652, allocations: 1.509 MB / 1.168 GB, free: 2.27 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001158/0.7663, allocations: 0.7245 MB / 1.168 GB, free: 1.539 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.731e-05/0.7664, allocations: 4 kB / 1.168 GB, free: 1.535 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 3.004e-05/0.7664, allocations: 3.938 kB / 1.168 GB, free: 1.531 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 4.548e-05/0.7665, allocations: 11.88 kB / 1.168 GB, free: 1.52 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004794/0.767, allocations: 119.6 kB / 1.168 GB, free: 1.402 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001172/0.7671, allocations: 83.75 kB / 1.169 GB, free: 1.32 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 8.329e-05/0.7672, allocations: 12 kB / 1.169 GB, free: 1.309 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 7.925e-05/0.7673, allocations: 39.84 kB / 1.169 GB, free: 1.27 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 6.124e-05/0.7673, allocations: 39.83 kB / 1.169 GB, free: 1.23 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.911e-05/0.7674, allocations: 8 kB / 1.169 GB, free: 1.223 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001712/0.7675, allocations: 91.91 kB / 1.169 GB, free: 1.133 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.736e-05/0.7676, allocations: 19.92 kB / 1.169 GB, free: 1.113 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 4.817e-05/0.7676, allocations: 27.86 kB / 1.169 GB, free: 1.086 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0002171/0.7679, allocations: 146.2 kB / 1.169 GB, free: 0.9492 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.7679, allocations: 0 / 1.169 GB, free: 0.9492 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.503e-06/0.7679, allocations: 0 / 1.169 GB, free: 0.9492 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 5.22e-06/0.7679, allocations: 0 / 1.169 GB, free: 0.9492 MB / 0.8887 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.0005802/0.7685, allocations: 433.6 kB / 1.169 GB, free: 484 kB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.321e-05/0.7685, allocations: 8.922 kB / 1.169 GB, free: 476 kB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.183e-05/0.7685, allocations: 30.75 kB / 1.169 GB, free: 436 kB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.497e-05/0.7686, allocations: 12.88 kB / 1.169 GB, free: 424 kB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001054/0.7687, allocations: 172.3 kB / 1.17 GB, free: 212 kB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.057e-05/0.7687, allocations: 8.375 kB / 1.17 GB, free: 204 kB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.583e-05/0.7687, allocations: 4.375 kB / 1.17 GB, free: 200 kB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001738/0.7689, allocations: 69.72 kB / 1.17 GB, free: 124 kB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.492e-06/0.7689, allocations: 4 kB / 1.17 GB, free: 120 kB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.547e-05/0.769, allocations: 8 kB / 1.17 GB, free: 112 kB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.001e-06/0.769, allocations: 7.922 kB / 1.17 GB, free: 104 kB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001259/0.7691, allocations: 35.97 kB / 1.17 GB, free: 68 kB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005716/0.7697, allocations: 316.7 kB / 1.17 GB, free: 15.71 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001251/0.7698, allocations: 54.48 kB / 1.17 GB, free: 15.64 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.749e-05/0.7699, allocations: 32.97 kB / 1.17 GB, free: 15.61 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 1.473e-05/0.7699, allocations: 0 / 1.17 GB, free: 15.61 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000177/0.7701, allocations: 75.38 kB / 1.17 GB, free: 15.52 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=7): time 1.363e-06/0.7701, allocations: 0 / 1.17 GB, free: 15.52 MB / 0.9044 GB Notification: Performance of matching and sorting (n=7): time 0.0003797/0.7705, allocations: 145.5 kB / 1.17 GB, free: 15.38 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.389e-05/0.7706, allocations: 51.41 kB / 1.17 GB, free: 15.31 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.941e-05/0.7707, allocations: 121.8 kB / 1.17 GB, free: 15.18 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.788e-05/0.7707, allocations: 29.7 kB / 1.17 GB, free: 15.15 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 4.437e-05/0.7707, allocations: 92.09 kB / 1.171 GB, free: 15.05 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.008e-05/0.7708, allocations: 19.97 kB / 1.171 GB, free: 15.04 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.853e-05/0.7708, allocations: 25.7 kB / 1.171 GB, free: 15 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001071/0.7709, allocations: 326.8 kB / 1.171 GB, free: 14.68 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.175e-05/0.771, allocations: 27.98 kB / 1.171 GB, free: 14.65 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.431e-05/0.7711, allocations: 51.41 kB / 1.171 GB, free: 14.59 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001722/0.7713, allocations: 87.34 kB / 1.171 GB, free: 14.49 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.7713, allocations: 0 / 1.171 GB, free: 14.49 MB / 0.9044 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002367/0.7715, allocations: 113.5 kB / 1.171 GB, free: 14.37 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.428e-05/0.7716, allocations: 8 kB / 1.171 GB, free: 14.36 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.7716, allocations: 0 / 1.171 GB, free: 14.36 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.183e-05/0.7716, allocations: 0 / 1.171 GB, free: 14.36 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.202e-05/0.7717, allocations: 15.92 kB / 1.171 GB, free: 14.35 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.356e-06/0.7717, allocations: 4 kB / 1.171 GB, free: 14.34 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.164e-05/0.7718, allocations: 19.94 kB / 1.171 GB, free: 14.32 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.335e-05/0.7718, allocations: 4 kB / 1.171 GB, free: 14.32 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 9 (win.curSeed,$PRE.win.curSeed,occ.y,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 8.719e-05/0.7719, allocations: 121.8 kB / 1.171 GB, free: 14.19 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.643e-05/0.7719, allocations: 7.953 kB / 1.171 GB, free: 14.18 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.238e-05/0.7719, allocations: 8.375 kB / 1.171 GB, free: 14.18 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.7719, allocations: 0 / 1.171 GB, free: 14.18 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.772, allocations: 4 kB / 1.171 GB, free: 14.17 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.772, allocations: 0 / 1.171 GB, free: 14.17 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004513/0.7724, allocations: 382.7 kB / 1.172 GB, free: 13.74 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.7724, allocations: 0 / 1.172 GB, free: 13.74 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.111e-05/0.7725, allocations: 11.92 kB / 1.172 GB, free: 13.73 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.7725, allocations: 0 / 1.172 GB, free: 13.73 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.045e-05/0.7725, allocations: 0 / 1.172 GB, free: 13.73 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.927e-06/0.7725, allocations: 3.938 kB / 1.172 GB, free: 13.73 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.7725, allocations: 0 / 1.172 GB, free: 13.73 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002819/0.7728, allocations: 219.5 kB / 1.172 GB, free: 13.5 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 3.602e-05/0.7729, allocations: 85.05 kB / 1.172 GB, free: 13.39 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.955e-05/0.7729, allocations: 4 kB / 1.172 GB, free: 13.39 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.778e-05/0.773, allocations: 3.938 kB / 1.172 GB, free: 13.39 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.362e-05/0.773, allocations: 11.98 kB / 1.172 GB, free: 13.38 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.768e-06/0.773, allocations: 4 kB / 1.172 GB, free: 13.37 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 5.507e-05/0.7731, allocations: 91.92 kB / 1.172 GB, free: 13.28 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7731, allocations: 0 / 1.172 GB, free: 13.28 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0003024/0.7734, allocations: 39.88 kB / 1.172 GB, free: 13.24 MB / 0.9044 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,occ.y,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.0007642/0.7742, allocations: 0.8141 MB / 1.173 GB, free: 12.42 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0002353/0.7744, allocations: 75.89 kB / 1.173 GB, free: 12.34 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.7744, allocations: 7.938 kB / 1.173 GB, free: 12.34 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 9.62e-05/0.7745, allocations: 35.97 kB / 1.173 GB, free: 12.3 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002529/0.7748, allocations: 11.92 kB / 1.173 GB, free: 12.29 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001567/0.7764, allocations: 1.501 MB / 1.175 GB, free: 10.68 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002392/0.7766, allocations: 0.6885 MB / 1.175 GB, free: 9.969 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 3.743e-05/0.7767, allocations: 8 kB / 1.175 GB, free: 9.961 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.44e-05/0.7767, allocations: 19.42 kB / 1.175 GB, free: 9.941 MB / 0.9044 GB Notification: Performance of SimCode: time 3.21e-07/0.7767, allocations: 0 / 1.175 GB, free: 9.941 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01961/0.7964, allocations: 2.646 MB / 1.178 GB, free: 7.422 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.365/8.161, allocations: 0 / 1.178 GB, free: 7.422 MB / 0.9044 GB (rm -f Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe ; mkfifo Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe >> ../files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn_res.csv --start-time 0 --stop-time 3600 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 Buildings_10_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTIn.fmu > Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTIn.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "Warning: Resultfile and Reference have different end time points! Reffile[553]=3600.000000 File[1236]=2249.280000 Error: Could not read variable win.occ in file Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn_res.csv. Warning: Get data of variable win.occ from file Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn_res.csv failed! Error: Could not read variable win.on in file Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn_res.csv. Warning: Get data of variable win.on from file Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn_res.csv failed! " Variables in the reference:time,win.TIn,win.occ,win.p,win.on Variables in the result:time,win.TIn,win.p,TIn.amplitude,TIn.f,TIn.offset