Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.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.Residential.Windows.Validation.Nicol2001WindowsUK,fileNamePrefix="Buildings_10_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsUK",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK,fileNamePrefix="Buildings_10_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsUK",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.007178/0.007178, allocations: 102.1 kB / 15.73 MB, free: 6.062 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.001883/0.001883, allocations: 192 kB / 16.67 MB, free: 5.973 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.304/1.304, allocations: 222.9 MB / 240.4 MB, free: 15.16 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.395/2.395, allocations: 437 MB / 0.7105 GB, free: 4.359 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001282/0.001282, allocations: 75.83 kB / 1.018 GB, free: 9.914 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6588/0.6601, allocations: 151.6 MB / 1.166 GB, free: 3.785 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK): time 0.002407/0.6625, allocations: 1.486 MB / 1.168 GB, free: 2.289 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001188/0.6637, allocations: 0.7245 MB / 1.168 GB, free: 1.559 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.161e-05/0.6638, allocations: 0 / 1.168 GB, free: 1.559 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 2.973e-05/0.6638, allocations: 3.938 kB / 1.168 GB, free: 1.555 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 5.315e-05/0.6639, allocations: 15.86 kB / 1.168 GB, free: 1.539 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004948/0.6644, allocations: 127.5 kB / 1.168 GB, free: 1.414 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001081/0.6645, allocations: 79.77 kB / 1.168 GB, free: 1.336 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 8.09e-05/0.6646, allocations: 12 kB / 1.169 GB, free: 1.324 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 7.733e-05/0.6647, allocations: 35.89 kB / 1.169 GB, free: 1.289 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 5.956e-05/0.6647, allocations: 35.84 kB / 1.169 GB, free: 1.254 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.891e-05/0.6648, allocations: 8 kB / 1.169 GB, free: 1.246 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001781/0.6649, allocations: 95.84 kB / 1.169 GB, free: 1.152 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.734e-05/0.665, allocations: 23.91 kB / 1.169 GB, free: 1.129 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 4.991e-05/0.665, allocations: 31.86 kB / 1.169 GB, free: 1.098 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0002115/0.6653, allocations: 147.2 kB / 1.169 GB, free: 0.957 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.6653, allocations: 0 / 1.169 GB, free: 0.957 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.442e-06/0.6653, allocations: 0 / 1.169 GB, free: 0.957 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 5.249e-06/0.6653, allocations: 0 / 1.169 GB, free: 0.957 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.0005533/0.6658, allocations: 424.7 kB / 1.169 GB, free: 500 kB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.203e-05/0.6659, allocations: 11.97 kB / 1.169 GB, free: 488 kB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.372e-05/0.6659, allocations: 30.75 kB / 1.169 GB, free: 448 kB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.277e-05/0.666, allocations: 8.891 kB / 1.169 GB, free: 440 kB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001011/0.6661, allocations: 180.3 kB / 1.169 GB, free: 220 kB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.119e-05/0.6661, allocations: 4.375 kB / 1.169 GB, free: 216 kB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.561e-05/0.6661, allocations: 4.375 kB / 1.17 GB, free: 212 kB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001742/0.6663, allocations: 73.77 kB / 1.17 GB, free: 132 kB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.314e-06/0.6663, allocations: 3.938 kB / 1.17 GB, free: 128 kB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.021e-05/0.6663, allocations: 4 kB / 1.17 GB, free: 124 kB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5e-06/0.6663, allocations: 0 / 1.17 GB, free: 124 kB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000127/0.6665, allocations: 39.91 kB / 1.17 GB, free: 84 kB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005512/0.667, allocations: 316.7 kB / 1.17 GB, free: 15.72 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001237/0.6672, allocations: 50.55 kB / 1.17 GB, free: 15.66 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.911e-05/0.6673, allocations: 28.97 kB / 1.17 GB, free: 15.63 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 1.803e-05/0.6673, allocations: 4 kB / 1.17 GB, free: 15.63 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001736/0.6675, allocations: 79.31 kB / 1.17 GB, free: 15.54 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=7): time 1.613e-06/0.6675, allocations: 0 / 1.17 GB, free: 15.54 MB / 0.9044 GB Notification: Performance of matching and sorting (n=7): time 0.0003815/0.6679, allocations: 141.7 kB / 1.17 GB, free: 15.39 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.483e-05/0.6679, allocations: 51.41 kB / 1.17 GB, free: 15.33 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.446e-05/0.668, allocations: 125.8 kB / 1.17 GB, free: 15.2 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.847e-05/0.668, allocations: 33.7 kB / 1.17 GB, free: 15.16 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 4.317e-05/0.6681, allocations: 92.09 kB / 1.171 GB, free: 15.07 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 1.799e-05/0.6681, allocations: 15.91 kB / 1.171 GB, free: 15.05 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.732e-05/0.6682, allocations: 29.7 kB / 1.171 GB, free: 15.02 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001001/0.6683, allocations: 322.7 kB / 1.171 GB, free: 14.69 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.132e-05/0.6684, allocations: 27.98 kB / 1.171 GB, free: 14.66 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.872e-05/0.6684, allocations: 50.55 kB / 1.171 GB, free: 14.61 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001502/0.6686, allocations: 66.56 kB / 1.171 GB, free: 14.53 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.007e-06/0.6686, allocations: 4 kB / 1.171 GB, free: 14.53 MB / 0.9044 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002285/0.6689, allocations: 117.8 kB / 1.171 GB, free: 14.41 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.465e-05/0.6689, allocations: 8 kB / 1.171 GB, free: 14.4 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.6689, allocations: 4.016 kB / 1.171 GB, free: 14.39 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.036e-05/0.6689, allocations: 8 kB / 1.171 GB, free: 14.39 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.037e-05/0.669, allocations: 11.98 kB / 1.171 GB, free: 14.38 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.694e-06/0.669, allocations: 7.984 kB / 1.171 GB, free: 14.37 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.504e-05/0.6691, allocations: 7.938 kB / 1.171 GB, free: 14.36 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.469e-05/0.6691, allocations: 7.984 kB / 1.171 GB, free: 14.35 MB / 0.9044 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 8.297e-05/0.6692, allocations: 121.8 kB / 1.171 GB, free: 14.22 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.584e-05/0.6692, allocations: 3.953 kB / 1.171 GB, free: 14.22 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.436e-05/0.6692, allocations: 12.38 kB / 1.171 GB, free: 14.21 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.6693, allocations: 4 kB / 1.171 GB, free: 14.2 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.571e-06/0.6693, allocations: 0 / 1.171 GB, free: 14.2 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.6693, allocations: 11.86 kB / 1.171 GB, free: 14.19 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004245/0.6697, allocations: 370.5 kB / 1.172 GB, free: 13.77 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.6697, allocations: 4 kB / 1.172 GB, free: 13.77 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.985e-05/0.6698, allocations: 3.984 kB / 1.172 GB, free: 13.77 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.428e-06/0.6698, allocations: 4 kB / 1.172 GB, free: 13.76 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.928e-06/0.6698, allocations: 0 / 1.172 GB, free: 13.76 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.446e-06/0.6698, allocations: 7.938 kB / 1.172 GB, free: 13.75 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.6698, allocations: 0 / 1.172 GB, free: 13.75 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002713/0.6701, allocations: 215.4 kB / 1.172 GB, free: 13.53 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 3.611e-05/0.6701, allocations: 81.06 kB / 1.172 GB, free: 13.43 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.566e-05/0.6701, allocations: 0 / 1.172 GB, free: 13.43 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.53e-05/0.6702, allocations: 11.92 kB / 1.172 GB, free: 13.42 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.396e-05/0.6703, allocations: 11.98 kB / 1.172 GB, free: 13.41 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.246e-06/0.6703, allocations: 4 kB / 1.172 GB, free: 13.4 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 5.938e-05/0.6704, allocations: 95.27 kB / 1.172 GB, free: 13.31 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.51e-07/0.6704, allocations: 0 / 1.172 GB, free: 13.31 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002942/0.6707, allocations: 43.86 kB / 1.172 GB, free: 13.27 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,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.0007345/0.6714, allocations: 0.8072 MB / 1.173 GB, free: 12.45 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0002331/0.6717, allocations: 71.89 kB / 1.173 GB, free: 12.38 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.6717, allocations: 0 / 1.173 GB, free: 12.38 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.000104/0.6718, allocations: 35.97 kB / 1.173 GB, free: 12.34 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002569/0.672, allocations: 25.66 kB / 1.173 GB, free: 12.32 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001521/0.6736, allocations: 1.488 MB / 1.174 GB, free: 10.73 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002196/0.6738, allocations: 0.6947 MB / 1.175 GB, free: 10.02 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 3.592e-05/0.6739, allocations: 4 kB / 1.175 GB, free: 10.01 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.75e-05/0.6739, allocations: 23.42 kB / 1.175 GB, free: 9.988 MB / 0.9044 GB Notification: Performance of SimCode: time 4.01e-07/0.6739, allocations: 0 / 1.175 GB, free: 9.988 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01803/0.6919, allocations: 2.649 MB / 1.178 GB, free: 7.48 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.565/8.257, allocations: 19.77 kB / 1.178 GB, free: 7.465 MB / 0.9044 GB (rm -f Buildings_10_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.pipe ; mkfifo Buildings_10_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.pipe >> ../files/Buildings_10_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK_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_Residential_Windows_Validation_Nicol2001WindowsUK.fmu > Buildings_10_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsUK.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.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_10_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK_res.csv. Warning: Get data of variable win.occ from file Buildings_10_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK_res.csv failed! Error: Could not read variable win.on in file Buildings_10_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK_res.csv. Warning: Get data of variable win.on from file Buildings_10_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK_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