Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.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.Zhang2012WindowsNorth,fileNamePrefix="Buildings_10_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsNorth",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth,fileNamePrefix="Buildings_10_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsNorth",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.001618/0.001618, allocations: 108 kB / 15.61 MB, free: 152 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.001903/0.001903, allocations: 195.6 kB / 16.53 MB, free: 6.664 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.384/1.384, allocations: 222.9 MB / 240.2 MB, free: 4.402 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.569/2.569, allocations: 437.1 MB / 0.7104 GB, free: 5.047 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001431/0.001431, allocations: 63.91 kB / 0.8693 GB, free: 4.555 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6276/0.6291, allocations: 151.6 MB / 1.017 GB, free: 2.492 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth): time 0.003413/0.6326, allocations: 1.497 MB / 1.019 GB, free: 0.9844 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001285/0.6339, allocations: 0.7323 MB / 1.02 GB, free: 252 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.598e-05/0.6339, allocations: 4 kB / 1.02 GB, free: 248 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.137e-05/0.634, allocations: 3.938 kB / 1.02 GB, free: 244 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 5.415e-05/0.634, allocations: 7.875 kB / 1.02 GB, free: 236 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005542/0.6346, allocations: 131.6 kB / 1.02 GB, free: 104 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.000102/0.6347, allocations: 71.78 kB / 1.02 GB, free: 32 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001183/0.6348, allocations: 11.98 kB / 1.02 GB, free: 20 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000109/0.635, allocations: 35.95 kB / 1.02 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 6.782e-05/0.635, allocations: 39.72 kB / 1.02 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.062e-05/0.6351, allocations: 8 kB / 1.02 GB, free: 15.94 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000188/0.6353, allocations: 95.91 kB / 1.02 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.927e-05/0.6353, allocations: 19.91 kB / 1.02 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 4.596e-05/0.6354, allocations: 35.86 kB / 1.02 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.000221/0.6356, allocations: 145.9 kB / 1.02 GB, free: 15.65 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.6356, allocations: 3.938 kB / 1.02 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.783e-06/0.6356, allocations: 0 / 1.02 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.691e-06/0.6356, allocations: 0 / 1.02 GB, free: 15.64 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.0006747/0.6363, allocations: 418.4 kB / 1.021 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.382e-05/0.6363, allocations: 8.031 kB / 1.021 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.49e-05/0.6364, allocations: 34.73 kB / 1.021 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.112e-05/0.6364, allocations: 12.84 kB / 1.021 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001273/0.6366, allocations: 168.4 kB / 1.021 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.427e-05/0.6366, allocations: 4.375 kB / 1.021 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.973e-05/0.6366, allocations: 4.375 kB / 1.021 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000208/0.6368, allocations: 73.77 kB / 1.021 GB, free: 14.83 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.292e-05/0.6369, allocations: 7.922 kB / 1.021 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.389e-05/0.6369, allocations: 4 kB / 1.021 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.608e-06/0.6369, allocations: 0 / 1.021 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001254/0.637, allocations: 31.98 kB / 1.021 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005948/0.6376, allocations: 324.6 kB / 1.021 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001268/0.6378, allocations: 46.56 kB / 1.021 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.342e-05/0.6379, allocations: 32.91 kB / 1.021 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.74e-05/0.6379, allocations: 11.94 kB / 1.021 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002002/0.6381, allocations: 75.38 kB / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=7): time 1.403e-06/0.6381, allocations: 0 / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7): time 0.0003899/0.6385, allocations: 137.6 kB / 1.022 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.932e-05/0.6386, allocations: 55.39 kB / 1.022 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.367e-05/0.6387, allocations: 121.8 kB / 1.022 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.011e-05/0.6387, allocations: 33.7 kB / 1.022 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.822e-05/0.6387, allocations: 92.06 kB / 1.022 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.058e-05/0.6388, allocations: 15.81 kB / 1.022 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.322e-05/0.6388, allocations: 29.7 kB / 1.022 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.493e-05/0.6389, allocations: 314.8 kB / 1.022 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.184e-05/0.639, allocations: 31.97 kB / 1.022 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.32e-05/0.6391, allocations: 50.56 kB / 1.022 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001538/0.6393, allocations: 66.55 kB / 1.022 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.6393, allocations: 3.938 kB / 1.022 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002243/0.6395, allocations: 117.5 kB / 1.022 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.279e-05/0.6395, allocations: 12.06 kB / 1.022 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.558e-06/0.6395, allocations: 0 / 1.022 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.161e-05/0.6396, allocations: 0 / 1.022 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.495e-05/0.6397, allocations: 11.98 kB / 1.022 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.652e-06/0.6397, allocations: 4 kB / 1.022 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.706e-05/0.6397, allocations: 15.84 kB / 1.022 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.269e-05/0.6398, allocations: 4 kB / 1.022 GB, free: 13.06 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.445e-05/0.6399, allocations: 123.3 kB / 1.023 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.555e-05/0.6399, allocations: 11.88 kB / 1.023 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.75e-05/0.6399, allocations: 20.3 kB / 1.023 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.6399, allocations: 0 / 1.023 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.6399, allocations: 0 / 1.023 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.6399, allocations: 0 / 1.023 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004033/0.6403, allocations: 378.8 kB / 1.023 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/0.6404, allocations: 4 kB / 1.023 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.722e-05/0.6404, allocations: 0 / 1.023 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.27e-06/0.6404, allocations: 8 kB / 1.023 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.073e-05/0.6404, allocations: 3.984 kB / 1.023 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.537e-06/0.6404, allocations: 3.938 kB / 1.023 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.6404, allocations: 3.938 kB / 1.023 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002774/0.6407, allocations: 207.5 kB / 1.023 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.58e-05/0.6408, allocations: 81.02 kB / 1.023 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.989e-05/0.6408, allocations: 3.984 kB / 1.023 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.099e-05/0.6409, allocations: 11.94 kB / 1.023 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.832e-05/0.6409, allocations: 15.97 kB / 1.023 GB, free: 12.1 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.384e-06/0.6409, allocations: 0 / 1.023 GB, free: 12.1 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.751e-05/0.641, allocations: 95.27 kB / 1.023 GB, free: 12.01 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.641, allocations: 0 / 1.023 GB, free: 12.01 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002819/0.6413, allocations: 36 kB / 1.023 GB, free: 11.97 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.0007245/0.642, allocations: 0.8095 MB / 1.024 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002449/0.6423, allocations: 75.88 kB / 1.024 GB, free: 11.08 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.6423, allocations: 0 / 1.024 GB, free: 11.08 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 9.392e-05/0.6424, allocations: 36.11 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.0002505/0.6426, allocations: 15.88 kB / 1.024 GB, free: 11.03 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001466/0.6441, allocations: 1.475 MB / 1.026 GB, free: 9.461 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002078/0.6443, allocations: 0.6885 MB / 1.026 GB, free: 8.746 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.696e-05/0.6444, allocations: 4 kB / 1.026 GB, free: 8.742 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.451e-05/0.6444, allocations: 23.38 kB / 1.026 GB, free: 8.719 MB / 0.7794 GB Notification: Performance of SimCode: time 2.5e-07/0.6444, allocations: 0 / 1.026 GB, free: 8.719 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01924/0.6637, allocations: 2.611 MB / 1.029 GB, free: 6.23 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.418/8.082, allocations: 6.578 kB / 1.029 GB, free: 6.227 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe ; mkfifo Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe >> ../files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth_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_Zhang2012WindowsNorth.fmu > Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsNorth.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.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.Zhang2012WindowsNorth_res.csv. Warning: Get data of variable win.occ from file Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth_res.csv failed! Error: Could not read variable win.on in file Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth_res.csv. Warning: Get data of variable win.on from file Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth_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