Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.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.Yun2008WindowsTOut,fileNamePrefix="Buildings_10_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTOut",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut,fileNamePrefix="Buildings_10_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTOut",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.001628/0.001628, 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.001849/0.00185, allocations: 195.4 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.326/1.326, allocations: 222.9 MB / 240.2 MB, free: 4.418 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.544/2.544, allocations: 437.1 MB / 0.7104 GB, free: 5.109 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00132/0.00132, allocations: 67.89 kB / 0.8693 GB, free: 4.578 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5451/0.5465, allocations: 151.6 MB / 1.017 GB, free: 2.488 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut): time 0.002897/0.5494, allocations: 1.515 MB / 1.019 GB, free: 0.9648 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001278/0.5507, allocations: 0.7518 MB / 1.02 GB, free: 212 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.908e-05/0.5508, allocations: 0 / 1.02 GB, free: 212 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.616e-05/0.5508, allocations: 3.938 kB / 1.02 GB, free: 208 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 5.732e-05/0.5509, allocations: 27.78 kB / 1.02 GB, free: 180 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005048/0.5514, allocations: 131.6 kB / 1.02 GB, free: 48 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001202/0.5515, allocations: 107.7 kB / 1.02 GB, free: 15.94 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 8.891e-05/0.5516, allocations: 12 kB / 1.02 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 8.316e-05/0.5517, allocations: 43.91 kB / 1.02 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 7.47e-05/0.5518, allocations: 51.8 kB / 1.02 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.094e-05/0.5518, allocations: 12 kB / 1.02 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001716/0.552, allocations: 103.8 kB / 1.02 GB, free: 15.72 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 3.007e-05/0.552, allocations: 23.91 kB / 1.02 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 5.12e-05/0.5521, allocations: 43.78 kB / 1.02 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002127/0.5523, allocations: 157.9 kB / 1.02 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.5523, allocations: 0 / 1.02 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.412e-06/0.5523, allocations: 0 / 1.02 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.3e-06/0.5523, allocations: 0 / 1.02 GB, free: 15.5 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.000659/0.553, allocations: 470.5 kB / 1.021 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.833e-05/0.553, allocations: 12.03 kB / 1.021 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.051e-05/0.5531, allocations: 30.75 kB / 1.021 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.056e-05/0.5531, allocations: 12.83 kB / 1.021 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001175/0.5532, allocations: 176.2 kB / 1.021 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.354e-05/0.5533, allocations: 8.375 kB / 1.021 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.222e-05/0.5533, allocations: 4.375 kB / 1.021 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002326/0.5535, allocations: 89.75 kB / 1.021 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.295e-06/0.5536, allocations: 0 / 1.021 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.707e-05/0.5536, allocations: 4 kB / 1.021 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.039e-06/0.5536, allocations: 4 kB / 1.021 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001675/0.5538, allocations: 47.91 kB / 1.021 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00073/0.5545, allocations: 344.6 kB / 1.021 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000153/0.5547, allocations: 62.55 kB / 1.022 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001159/0.5548, allocations: 44.83 kB / 1.022 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.884e-05/0.5548, allocations: 0 / 1.022 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000221/0.555, allocations: 103.5 kB / 1.022 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=8): time 2.695e-06/0.5551, allocations: 3.984 kB / 1.022 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of matching and sorting (n=8): time 0.0005151/0.5556, allocations: 181.5 kB / 1.022 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.594e-05/0.5556, allocations: 55.41 kB / 1.022 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001005/0.5557, allocations: 125.6 kB / 1.022 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.649e-05/0.5558, allocations: 33.7 kB / 1.022 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.745e-05/0.5558, allocations: 95.98 kB / 1.022 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.113e-05/0.5559, allocations: 15.75 kB / 1.022 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.476e-05/0.5559, allocations: 33.7 kB / 1.022 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.000113/0.556, allocations: 326.8 kB / 1.022 GB, free: 13.03 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.606e-05/0.5561, allocations: 27.98 kB / 1.023 GB, free: 13 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001012/0.5562, allocations: 68.2 kB / 1.023 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001782/0.5564, allocations: 96.2 kB / 1.023 GB, free: 12.81 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.5564, allocations: 0 / 1.023 GB, free: 12.81 MB / 0.7794 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000245/0.5567, allocations: 125.5 kB / 1.023 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.339e-05/0.5567, allocations: 7.938 kB / 1.023 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.5567, allocations: 4 kB / 1.023 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.548e-05/0.5567, allocations: 4.094 kB / 1.023 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001091/0.5569, allocations: 15.98 kB / 1.023 GB, free: 12.65 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.531e-06/0.5569, allocations: 0 / 1.023 GB, free: 12.65 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.873e-05/0.557, allocations: 19.83 kB / 1.023 GB, free: 12.63 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.591e-05/0.557, allocations: 8 kB / 1.023 GB, free: 12.62 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 11 (win.curSeed,$PRE.win.curSeed,win.on,$PRE.win.on,occ.y,win.pClose,$PRE.win.pClose,win.pOpen,$PRE.win.pOpen,win.sampleTrigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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.258e-05/0.5571, allocations: 121.7 kB / 1.023 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.179e-05/0.5571, allocations: 7.906 kB / 1.023 GB, free: 12.49 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.612e-05/0.5571, allocations: 12.38 kB / 1.023 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.5571, allocations: 4 kB / 1.023 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.252e-06/0.5572, allocations: 3.984 kB / 1.023 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.5572, allocations: 0 / 1.023 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000518/0.5577, allocations: 426.4 kB / 1.023 GB, free: 11.99 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.5577, allocations: 0 / 1.023 GB, free: 11.99 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.019e-05/0.5577, allocations: 7.938 kB / 1.023 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.5577, allocations: 0 / 1.023 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.51e-05/0.5578, allocations: 15.98 kB / 1.023 GB, free: 11.97 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.5578, allocations: 0 / 1.023 GB, free: 11.97 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.5578, allocations: 3.938 kB / 1.023 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003554/0.5581, allocations: 243.4 kB / 1.024 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.89e-05/0.5582, allocations: 85.02 kB / 1.024 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.638e-05/0.5582, allocations: 4 kB / 1.024 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001242/0.5584, allocations: 11.98 kB / 1.024 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.746e-05/0.5584, allocations: 7.938 kB / 1.024 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.163e-05/0.5584, allocations: 3.984 kB / 1.024 GB, free: 11.58 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.24e-05/0.5585, allocations: 103.3 kB / 1.024 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5585, allocations: 0 / 1.024 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002906/0.5588, allocations: 40 kB / 1.024 GB, free: 11.44 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: 7 (win.sampleTrigger,$whenCondition1,occ.y,win.on,win.pOpen,win.pClose,win.curSeed) * Number of discrete states: 1 (win.on) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0008209/0.5596, allocations: 0.8359 MB / 1.025 GB, free: 10.59 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002755/0.5599, allocations: 100 kB / 1.025 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.5599, allocations: 0 / 1.025 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001936/0.5601, allocations: 51.89 kB / 1.025 GB, free: 10.45 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002685/0.5604, allocations: 18.39 kB / 1.025 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00164/0.562, allocations: 1.564 MB / 1.026 GB, free: 8.766 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000258/0.5623, allocations: 0.6885 MB / 1.027 GB, free: 8.051 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.899e-05/0.5623, allocations: 7.984 kB / 1.027 GB, free: 8.043 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.701e-05/0.5624, allocations: 19.44 kB / 1.027 GB, free: 8.023 MB / 0.7794 GB Notification: Performance of SimCode: time 2.61e-07/0.5624, allocations: 0 / 1.027 GB, free: 8.023 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01811/0.5805, allocations: 2.949 MB / 1.03 GB, free: 5.184 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.48/8.061, allocations: 10.12 kB / 1.03 GB, free: 5.176 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe ; mkfifo Buildings_10_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe >> ../files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut_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_Yun2008WindowsTOut.fmu > Buildings_10_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTOut.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.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.Yun2008WindowsTOut_res.csv. Warning: Get data of variable win.occ from file Buildings_10_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut_res.csv failed! Error: Could not read variable win.on in file Buildings_10_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut_res.csv. Warning: Get data of variable win.on from file Buildings_10_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut_res.csv failed! " Variables in the reference:time,win.TOut,win.occ,win.pOpen,win.on Variables in the result:time,win.TOut,win.pClose,win.pOpen,TOut.amplitude,TOut.f