Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.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.Zhang2012WindowsWest,fileNamePrefix="Buildings_10_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsWest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest,fileNamePrefix="Buildings_10_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsWest",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.001613/0.001612, allocations: 108 kB / 15.61 MB, free: 148 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.001852/0.001852, allocations: 194.7 kB / 16.53 MB, free: 6.691 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.38/1.38, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.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.644/2.644, allocations: 437.1 MB / 0.7104 GB, free: 5.137 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001497/0.001497, allocations: 59.89 kB / 0.8693 GB, free: 4.594 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5851/0.5866, allocations: 151.6 MB / 1.017 GB, free: 2.504 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest): time 0.002705/0.5894, allocations: 1.488 MB / 1.019 GB, free: 1.008 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001205/0.5906, allocations: 0.7362 MB / 1.02 GB, free: 272 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.754e-05/0.5907, allocations: 0 / 1.02 GB, free: 272 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.623e-05/0.5907, allocations: 11.86 kB / 1.02 GB, free: 260 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 5.231e-05/0.5908, allocations: 11.86 kB / 1.02 GB, free: 248 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005386/0.5913, allocations: 127.6 kB / 1.02 GB, free: 120 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001054/0.5914, allocations: 67.84 kB / 1.02 GB, free: 52 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001075/0.5916, allocations: 15.98 kB / 1.02 GB, free: 36 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 9.882e-05/0.5917, allocations: 39.89 kB / 1.02 GB, free: 15.99 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 6.528e-05/0.5917, allocations: 31.8 kB / 1.02 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.127e-05/0.5918, allocations: 8 kB / 1.02 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001905/0.592, allocations: 95.91 kB / 1.02 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.71e-05/0.592, allocations: 15.92 kB / 1.02 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 5.112e-05/0.592, allocations: 31.84 kB / 1.02 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002369/0.5923, allocations: 145.9 kB / 1.02 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/0.5923, allocations: 7.984 kB / 1.02 GB, free: 15.67 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.473e-06/0.5923, allocations: 0 / 1.02 GB, free: 15.67 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.062e-06/0.5923, allocations: 0 / 1.02 GB, free: 15.67 MB / 0.7794 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.0006705/0.593, allocations: 420.8 kB / 1.021 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.753e-05/0.5931, allocations: 8.031 kB / 1.021 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.175e-05/0.5931, allocations: 34.73 kB / 1.021 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.048e-05/0.5932, allocations: 12.83 kB / 1.021 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001157/0.5933, allocations: 164.4 kB / 1.021 GB, free: 14.94 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.873e-05/0.5933, allocations: 12.38 kB / 1.021 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.51e-05/0.5933, allocations: 4.375 kB / 1.021 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001752/0.5935, allocations: 65.78 kB / 1.021 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.139e-05/0.5935, allocations: 7.938 kB / 1.021 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.337e-05/0.5935, allocations: 4 kB / 1.021 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.588e-06/0.5936, allocations: 0 / 1.021 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001285/0.5937, allocations: 35.97 kB / 1.021 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006096/0.5943, allocations: 324.5 kB / 1.021 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001262/0.5944, allocations: 54.55 kB / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.595e-05/0.5945, allocations: 32.97 kB / 1.021 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.224e-05/0.5946, allocations: 3.938 kB / 1.021 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002152/0.5948, allocations: 75.38 kB / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=7): time 1.443e-06/0.5948, allocations: 0 / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7): time 0.0003952/0.5952, allocations: 141.5 kB / 1.022 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.955e-05/0.5953, allocations: 59.47 kB / 1.022 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.812e-05/0.5954, allocations: 121.8 kB / 1.022 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.356e-05/0.5954, allocations: 33.7 kB / 1.022 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.05e-05/0.5954, allocations: 96.02 kB / 1.022 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.17e-05/0.5955, allocations: 19.8 kB / 1.022 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.647e-05/0.5955, allocations: 21.72 kB / 1.022 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.000108/0.5956, allocations: 326.8 kB / 1.022 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.111e-05/0.5957, allocations: 23.98 kB / 1.022 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.629e-05/0.5958, allocations: 50.55 kB / 1.022 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001441/0.596, allocations: 66.56 kB / 1.022 GB, free: 13.24 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.596, allocations: 11.92 kB / 1.022 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002182/0.5962, allocations: 105.5 kB / 1.022 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.245e-05/0.5962, allocations: 8 kB / 1.022 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.177e-06/0.5962, allocations: 0 / 1.022 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.465e-05/0.5962, allocations: 8.047 kB / 1.022 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.879e-05/0.5963, allocations: 8 kB / 1.022 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.684e-06/0.5964, allocations: 4 kB / 1.022 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.713e-05/0.5964, allocations: 15.83 kB / 1.022 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.459e-05/0.5965, allocations: 11.94 kB / 1.022 GB, free: 13.07 MB / 0.7794 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.142e-05/0.5965, allocations: 122.4 kB / 1.023 GB, free: 12.94 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.851e-05/0.5966, allocations: 4 kB / 1.023 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.627e-05/0.5966, allocations: 12.31 kB / 1.023 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.006e-06/0.5966, allocations: 3.984 kB / 1.023 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.5966, allocations: 0 / 1.023 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.5966, allocations: 0 / 1.023 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003989/0.597, allocations: 386.4 kB / 1.023 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.597, allocations: 0 / 1.023 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.506e-05/0.5971, allocations: 0 / 1.023 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.5971, allocations: 4 kB / 1.023 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.598e-06/0.5971, allocations: 0 / 1.023 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.833e-06/0.5971, allocations: 7.938 kB / 1.023 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.774e-06/0.5971, allocations: 7.922 kB / 1.023 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002445/0.5974, allocations: 207.5 kB / 1.023 GB, free: 12.24 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.539e-05/0.5974, allocations: 81.02 kB / 1.023 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.803e-05/0.5974, allocations: 0 / 1.023 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.648e-05/0.5975, allocations: 11.92 kB / 1.023 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.687e-05/0.5976, allocations: 8 kB / 1.023 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.396e-06/0.5976, allocations: 3.984 kB / 1.023 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.805e-05/0.5976, allocations: 95.28 kB / 1.023 GB, free: 12.03 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1e-07/0.5976, allocations: 0 / 1.023 GB, free: 12.03 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002879/0.5979, allocations: 39.98 kB / 1.023 GB, free: 11.99 MB / 0.7794 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.0007599/0.5987, allocations: 0.8136 MB / 1.024 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002314/0.5989, allocations: 67.91 kB / 1.024 GB, free: 11.1 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.5989, allocations: 3.938 kB / 1.024 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001006/0.5991, allocations: 39.97 kB / 1.024 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002475/0.5993, allocations: 8.062 kB / 1.024 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001434/0.6008, allocations: 1.477 MB / 1.026 GB, free: 9.473 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002058/0.601, allocations: 0.6899 MB / 1.026 GB, free: 8.758 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.544e-05/0.601, allocations: 7.984 kB / 1.026 GB, free: 8.75 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.232e-05/0.6011, allocations: 19.44 kB / 1.026 GB, free: 8.73 MB / 0.7794 GB Notification: Performance of SimCode: time 2.3e-07/0.6011, allocations: 0 / 1.026 GB, free: 8.73 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01892/0.62, allocations: 2.608 MB / 1.029 GB, free: 6.246 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.245/7.865, allocations: 13.77 kB / 1.029 GB, free: 6.234 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe ; mkfifo Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe >> ../files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest_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_Zhang2012WindowsWest.fmu > Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsWest.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.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.Zhang2012WindowsWest_res.csv. Warning: Get data of variable win.occ from file Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest_res.csv failed! Error: Could not read variable win.on in file Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest_res.csv. Warning: Get data of variable win.on from file Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest_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