Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.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.Zhang2012WindowsEast,fileNamePrefix="Buildings_10_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsEast",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast,fileNamePrefix="Buildings_10_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsEast",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.005694/0.005694, allocations: 96.88 kB / 15.73 MB, free: 6.055 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.001373/0.001373, allocations: 192.8 kB / 16.67 MB, free: 5.969 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.322/1.322, allocations: 222.9 MB / 240.4 MB, free: 15.15 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.49/2.49, allocations: 437 MB / 0.7105 GB, free: 4.348 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00162/0.00162, allocations: 64.14 kB / 1.018 GB, free: 9.902 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7704/0.772, allocations: 151.6 MB / 1.166 GB, free: 3.754 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast): time 0.002725/0.7748, allocations: 1.505 MB / 1.168 GB, free: 2.238 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001357/0.7762, allocations: 0.7245 MB / 1.168 GB, free: 1.508 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.657e-05/0.7762, allocations: 0 / 1.168 GB, free: 1.508 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 3.459e-05/0.7763, allocations: 3.938 kB / 1.168 GB, free: 1.504 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 6.793e-05/0.7764, allocations: 15.86 kB / 1.168 GB, free: 1.488 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006217/0.777, allocations: 123.6 kB / 1.168 GB, free: 1.367 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001323/0.7771, allocations: 75.77 kB / 1.169 GB, free: 1.293 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 9.21e-05/0.7772, allocations: 12 kB / 1.169 GB, free: 1.281 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001019/0.7774, allocations: 43.83 kB / 1.169 GB, free: 1.238 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 8.759e-05/0.7775, allocations: 35.84 kB / 1.169 GB, free: 1.203 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.914e-05/0.7775, allocations: 4 kB / 1.169 GB, free: 1.199 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002151/0.7777, allocations: 95.91 kB / 1.169 GB, free: 1.105 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 3.202e-05/0.7777, allocations: 19.92 kB / 1.169 GB, free: 1.086 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 4.886e-05/0.7778, allocations: 31.84 kB / 1.169 GB, free: 1.055 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0002875/0.7781, allocations: 139.2 kB / 1.169 GB, free: 0.9258 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.7781, allocations: 4 kB / 1.169 GB, free: 0.9219 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.502e-06/0.7781, allocations: 3.938 kB / 1.169 GB, free: 0.918 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 6.593e-06/0.7781, allocations: 0 / 1.169 GB, free: 0.918 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.0007146/0.7788, allocations: 428.7 kB / 1.169 GB, free: 456 kB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.446e-05/0.7789, allocations: 12.62 kB / 1.169 GB, free: 444 kB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.944e-05/0.7789, allocations: 30.75 kB / 1.169 GB, free: 404 kB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.342e-05/0.779, allocations: 8.891 kB / 1.169 GB, free: 396 kB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001292/0.7791, allocations: 172.3 kB / 1.17 GB, free: 184 kB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.782e-05/0.7792, allocations: 8.375 kB / 1.17 GB, free: 176 kB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.719e-05/0.7792, allocations: 4.375 kB / 1.17 GB, free: 172 kB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001913/0.7794, allocations: 73.72 kB / 1.17 GB, free: 92 kB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.145e-06/0.7794, allocations: 0 / 1.17 GB, free: 92 kB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.623e-05/0.7794, allocations: 4 kB / 1.17 GB, free: 88 kB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.473e-06/0.7794, allocations: 0 / 1.17 GB, free: 88 kB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001395/0.7796, allocations: 43.91 kB / 1.17 GB, free: 44 kB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006052/0.7802, allocations: 320.7 kB / 1.17 GB, free: 15.68 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001224/0.7803, allocations: 46.5 kB / 1.17 GB, free: 15.62 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.314e-05/0.7804, allocations: 36.95 kB / 1.17 GB, free: 15.59 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 1.881e-05/0.7805, allocations: 0 / 1.17 GB, free: 15.59 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001923/0.7807, allocations: 79.38 kB / 1.17 GB, free: 15.5 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=7): time 1.323e-06/0.7807, allocations: 0 / 1.17 GB, free: 15.5 MB / 0.9044 GB Notification: Performance of matching and sorting (n=7): time 0.0004006/0.7811, allocations: 141.5 kB / 1.17 GB, free: 15.35 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.804e-05/0.7811, allocations: 51.48 kB / 1.17 GB, free: 15.29 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.054e-05/0.7812, allocations: 121.8 kB / 1.17 GB, free: 15.16 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.807e-05/0.7813, allocations: 29.7 kB / 1.17 GB, free: 15.12 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 5.991e-05/0.7813, allocations: 96.08 kB / 1.171 GB, free: 15.03 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 1.846e-05/0.7813, allocations: 15.91 kB / 1.171 GB, free: 15.01 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.908e-05/0.7814, allocations: 25.7 kB / 1.171 GB, free: 14.98 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001101/0.7815, allocations: 326.8 kB / 1.171 GB, free: 14.65 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.625e-05/0.7816, allocations: 27.98 kB / 1.171 GB, free: 14.62 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.368e-05/0.7817, allocations: 46.55 kB / 1.171 GB, free: 14.57 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001624/0.7819, allocations: 74.81 kB / 1.171 GB, free: 14.49 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.7819, allocations: 0 / 1.171 GB, free: 14.49 MB / 0.9044 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002663/0.7822, allocations: 117.5 kB / 1.171 GB, free: 14.37 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.521e-05/0.7822, allocations: 4 kB / 1.171 GB, free: 14.36 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.7822, allocations: 0 / 1.171 GB, free: 14.36 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.452e-05/0.7822, allocations: 4 kB / 1.171 GB, free: 14.36 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001036/0.7823, allocations: 16.05 kB / 1.171 GB, free: 14.34 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.757e-06/0.7824, allocations: 0 / 1.171 GB, free: 14.34 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.806e-05/0.7824, allocations: 11.88 kB / 1.171 GB, free: 14.33 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.597e-05/0.7824, allocations: 7.984 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: 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 9.286e-05/0.7825, allocations: 125.7 kB / 1.171 GB, free: 14.19 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.041e-05/0.7826, allocations: 11.94 kB / 1.171 GB, free: 14.18 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.447e-05/0.7826, allocations: 8.312 kB / 1.171 GB, free: 14.17 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.547e-06/0.7826, allocations: 4 kB / 1.171 GB, free: 14.17 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.7826, allocations: 4 kB / 1.171 GB, free: 14.16 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.7826, allocations: 0 / 1.171 GB, free: 14.16 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004749/0.7831, allocations: 386.4 kB / 1.172 GB, free: 13.73 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.416e-06/0.7831, allocations: 0 / 1.172 GB, free: 13.73 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.398e-05/0.7832, allocations: 11.92 kB / 1.172 GB, free: 13.72 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.916e-06/0.7832, allocations: 0 / 1.172 GB, free: 13.72 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.043e-05/0.7832, allocations: 0 / 1.172 GB, free: 13.72 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.488e-05/0.7832, allocations: 7.938 kB / 1.172 GB, free: 13.71 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.7832, allocations: 0 / 1.172 GB, free: 13.71 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002759/0.7835, allocations: 207.5 kB / 1.172 GB, free: 13.49 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.436e-05/0.7836, allocations: 85.06 kB / 1.172 GB, free: 13.39 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.836e-05/0.7836, allocations: 0 / 1.172 GB, free: 13.39 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.511e-05/0.7837, allocations: 7.938 kB / 1.172 GB, free: 13.38 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.151e-05/0.7837, allocations: 3.984 kB / 1.172 GB, free: 13.38 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.106e-05/0.7837, allocations: 8 kB / 1.172 GB, free: 13.37 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 4.996e-05/0.7838, allocations: 95.92 kB / 1.172 GB, free: 13.28 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7838, allocations: 0 / 1.172 GB, free: 13.28 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0003108/0.7841, allocations: 43.86 kB / 1.172 GB, free: 13.23 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.0007732/0.7849, allocations: 0.8101 MB / 1.173 GB, free: 12.41 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0002341/0.7851, allocations: 76.2 kB / 1.173 GB, free: 12.34 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.7852, allocations: 0 / 1.173 GB, free: 12.34 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 9.882e-05/0.7853, allocations: 32.14 kB / 1.173 GB, free: 12.31 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002566/0.7855, allocations: 12.08 kB / 1.173 GB, free: 12.3 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001655/0.7872, allocations: 1.496 MB / 1.175 GB, free: 10.7 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002638/0.7875, allocations: 0.6885 MB / 1.175 GB, free: 9.988 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 4.362e-05/0.7875, allocations: 8 kB / 1.175 GB, free: 9.98 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.694e-05/0.7876, allocations: 23.42 kB / 1.175 GB, free: 9.957 MB / 0.9044 GB Notification: Performance of SimCode: time 2.41e-07/0.7876, allocations: 0 / 1.175 GB, free: 9.957 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01853/0.8061, allocations: 2.636 MB / 1.178 GB, free: 7.457 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.356/8.162, allocations: 13.2 kB / 1.178 GB, free: 7.449 MB / 0.9044 GB (rm -f Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe ; mkfifo Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe >> ../files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast_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_Zhang2012WindowsEast.fmu > Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsEast.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.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.Office.Windows.Validation.Zhang2012WindowsEast_res.csv. Warning: Get data of variable win.occ from file Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast_res.csv failed! Error: Could not read variable win.on in file Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast_res.csv. Warning: Get data of variable win.on from file Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast_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