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.007507/0.007507, allocations: 99.33 kB / 15.73 MB, free: 6.445 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.001952/0.001952, allocations: 194 kB / 16.67 MB, free: 6.348 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.346/1.346, allocations: 222.9 MB / 240.4 MB, free: 4.355 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.536/2.536, allocations: 437 MB / 0.7105 GB, free: 4.992 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001869/0.001869, allocations: 59.91 kB / 1.018 GB, free: 15.1 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.241/0.2429, allocations: 151.6 MB / 1.166 GB, free: 7.355 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut): time 0.002287/0.2452, allocations: 1.509 MB / 1.168 GB, free: 5.828 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001202/0.2464, allocations: 0.7596 MB / 1.168 GB, free: 5.062 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.612e-05/0.2465, allocations: 3.938 kB / 1.168 GB, free: 5.059 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 2.937e-05/0.2465, allocations: 3.938 kB / 1.168 GB, free: 5.055 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 4.764e-05/0.2466, allocations: 19.8 kB / 1.168 GB, free: 5.035 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005036/0.2471, allocations: 135.6 kB / 1.169 GB, free: 4.902 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001265/0.2472, allocations: 107.7 kB / 1.169 GB, free: 4.797 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 8.106e-05/0.2473, allocations: 7.984 kB / 1.169 GB, free: 4.789 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 8.38e-05/0.2474, allocations: 43.91 kB / 1.169 GB, free: 4.746 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 8.514e-05/0.2475, allocations: 59.8 kB / 1.169 GB, free: 4.688 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.772e-05/0.2475, allocations: 8 kB / 1.169 GB, free: 4.68 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001852/0.2477, allocations: 103.8 kB / 1.169 GB, free: 4.578 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 3.256e-05/0.2478, allocations: 23.92 kB / 1.169 GB, free: 4.555 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 5.334e-05/0.2478, allocations: 39.83 kB / 1.169 GB, free: 4.516 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002363/0.2481, allocations: 163.7 kB / 1.169 GB, free: 4.355 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.2481, allocations: 0 / 1.169 GB, free: 4.355 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.302e-06/0.2481, allocations: 0 / 1.169 GB, free: 4.355 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.288e-06/0.2481, allocations: 0 / 1.169 GB, free: 4.355 MB / 0.92 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.000612/0.2487, allocations: 466.3 kB / 1.169 GB, free: 3.84 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.282e-05/0.2487, allocations: 12.03 kB / 1.17 GB, free: 3.828 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.39e-05/0.2488, allocations: 34.75 kB / 1.17 GB, free: 3.785 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.603e-05/0.2488, allocations: 8.891 kB / 1.17 GB, free: 3.777 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000103/0.2489, allocations: 184.2 kB / 1.17 GB, free: 3.559 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.266e-05/0.249, allocations: 4.375 kB / 1.17 GB, free: 3.555 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.252e-05/0.249, allocations: 8.375 kB / 1.17 GB, free: 3.547 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000223/0.2492, allocations: 85.75 kB / 1.17 GB, free: 3.457 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.574e-06/0.2492, allocations: 0 / 1.17 GB, free: 3.457 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.193e-05/0.2492, allocations: 4 kB / 1.17 GB, free: 3.453 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.347e-06/0.2493, allocations: 4 kB / 1.17 GB, free: 3.449 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001645/0.2494, allocations: 47.91 kB / 1.17 GB, free: 3.402 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006915/0.2501, allocations: 340.7 kB / 1.17 GB, free: 3.02 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001719/0.2503, allocations: 62.55 kB / 1.17 GB, free: 2.949 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001226/0.2504, allocations: 48.92 kB / 1.17 GB, free: 2.898 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.964e-05/0.2505, allocations: 3.938 kB / 1.17 GB, free: 2.895 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002178/0.2507, allocations: 87.36 kB / 1.17 GB, free: 2.797 MB / 0.92 GB Notification: Performance of pre-optimization done (n=8): time 1.483e-06/0.2507, allocations: 0 / 1.17 GB, free: 2.797 MB / 0.92 GB Notification: Performance of matching and sorting (n=8): time 0.0005102/0.2512, allocations: 189.7 kB / 1.171 GB, free: 2.605 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.128e-05/0.2513, allocations: 59.34 kB / 1.171 GB, free: 2.535 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.205e-05/0.2514, allocations: 129.8 kB / 1.171 GB, free: 2.398 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.646e-05/0.2514, allocations: 25.7 kB / 1.171 GB, free: 2.367 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 5.65e-05/0.2515, allocations: 104 kB / 1.171 GB, free: 2.262 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.102e-05/0.2515, allocations: 19.84 kB / 1.171 GB, free: 2.242 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.059e-05/0.2515, allocations: 33.7 kB / 1.171 GB, free: 2.203 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 9.7e-05/0.2516, allocations: 326.8 kB / 1.171 GB, free: 1.875 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.769e-05/0.2517, allocations: 27.98 kB / 1.171 GB, free: 1.848 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001044/0.2518, allocations: 64.27 kB / 1.171 GB, free: 1.77 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001707/0.252, allocations: 96.2 kB / 1.171 GB, free: 1.66 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.252, allocations: 0 / 1.171 GB, free: 1.66 MB / 0.92 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002565/0.2523, allocations: 129.5 kB / 1.172 GB, free: 1.527 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.202e-05/0.2523, allocations: 4 kB / 1.172 GB, free: 1.523 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.243e-06/0.2523, allocations: 8.094 kB / 1.172 GB, free: 1.516 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.115e-05/0.2523, allocations: 0 / 1.172 GB, free: 1.516 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001044/0.2525, allocations: 15.98 kB / 1.172 GB, free: 1.5 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.029e-06/0.2525, allocations: 0 / 1.172 GB, free: 1.5 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.478e-05/0.2525, allocations: 11.95 kB / 1.172 GB, free: 1.488 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.491e-05/0.2526, allocations: 7.984 kB / 1.172 GB, free: 1.48 MB / 0.92 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 8.618e-05/0.2527, allocations: 125.7 kB / 1.172 GB, free: 1.348 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.032e-05/0.2527, allocations: 7.953 kB / 1.172 GB, free: 1.34 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.319e-05/0.2527, allocations: 12.38 kB / 1.172 GB, free: 1.328 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.2527, allocations: 0 / 1.172 GB, free: 1.328 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.2527, allocations: 4 kB / 1.172 GB, free: 1.324 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.2527, allocations: 3.984 kB / 1.172 GB, free: 1.32 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005402/0.2533, allocations: 422.4 kB / 1.172 GB, free: 0.8516 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/0.2533, allocations: 4 kB / 1.172 GB, free: 0.8477 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.702e-05/0.2533, allocations: 0 / 1.172 GB, free: 0.8477 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/0.2534, allocations: 4 kB / 1.172 GB, free: 0.8438 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.416e-05/0.2534, allocations: 7.984 kB / 1.172 GB, free: 0.8359 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.2534, allocations: 0 / 1.172 GB, free: 0.8359 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.2534, allocations: 3.938 kB / 1.172 GB, free: 0.832 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003678/0.2538, allocations: 251.4 kB / 1.172 GB, free: 0.5703 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 3.537e-05/0.2538, allocations: 85 kB / 1.172 GB, free: 480 kB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.672e-05/0.2538, allocations: 4.062 kB / 1.172 GB, free: 476 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001154/0.254, allocations: 15.98 kB / 1.172 GB, free: 460 kB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.575e-05/0.254, allocations: 3.938 kB / 1.173 GB, free: 456 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.48e-05/0.254, allocations: 19.86 kB / 1.173 GB, free: 436 kB / 0.92 GB Notification: Performance of sorting global known variables: time 4.917e-05/0.2541, allocations: 98.77 kB / 1.173 GB, free: 340 kB / 0.92 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2541, allocations: 0 / 1.173 GB, free: 340 kB / 0.92 GB Notification: Performance of remove unused functions: time 0.0003054/0.2544, allocations: 39.94 kB / 1.173 GB, free: 300 kB / 0.92 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.0008257/0.2552, allocations: 0.8382 MB / 1.173 GB, free: 15.44 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002684/0.2555, allocations: 87.95 kB / 1.174 GB, free: 15.36 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.2555, allocations: 4 kB / 1.174 GB, free: 15.35 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001339/0.2557, allocations: 47.91 kB / 1.174 GB, free: 15.3 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002668/0.2559, allocations: 14.28 kB / 1.174 GB, free: 15.29 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001582/0.2575, allocations: 1.58 MB / 1.175 GB, free: 13.61 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002062/0.2577, allocations: 0.6924 MB / 1.176 GB, free: 12.89 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.777e-05/0.2578, allocations: 7.859 kB / 1.176 GB, free: 12.88 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.524e-05/0.2578, allocations: 23.42 kB / 1.176 GB, free: 12.86 MB / 0.9356 GB Notification: Performance of SimCode: time 6.11e-07/0.2578, allocations: 0 / 1.176 GB, free: 12.86 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01745/0.2753, allocations: 2.995 MB / 1.179 GB, free: 9.992 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.517/7.792, allocations: 7.953 kB / 1.179 GB, free: 9.984 MB / 0.9356 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