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.004388/0.004388, allocations: 101 kB / 15.73 MB, free: 6.059 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.001264/0.001264, allocations: 192 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.418/1.418, 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.589/2.589, allocations: 437.1 MB / 0.7105 GB, free: 4.387 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001927/0.001928, allocations: 59.91 kB / 1.018 GB, free: 9.93 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7802/0.7821, allocations: 151.6 MB / 1.166 GB, free: 3.816 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut): time 0.002797/0.785, allocations: 1.513 MB / 1.168 GB, free: 2.293 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001373/0.7863, allocations: 0.7518 MB / 1.168 GB, free: 1.535 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.975e-05/0.7864, allocations: 7.938 kB / 1.168 GB, free: 1.527 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 3.092e-05/0.7864, allocations: 11.86 kB / 1.168 GB, free: 1.516 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 5.698e-05/0.7865, allocations: 7.875 kB / 1.168 GB, free: 1.508 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005729/0.7871, allocations: 143.6 kB / 1.169 GB, free: 1.367 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.000147/0.7873, allocations: 103.7 kB / 1.169 GB, free: 1.266 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 9.078e-05/0.7873, allocations: 11.98 kB / 1.169 GB, free: 1.254 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 9.593e-05/0.7875, allocations: 43.89 kB / 1.169 GB, free: 1.211 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 9.699e-05/0.7876, allocations: 51.81 kB / 1.169 GB, free: 1.16 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.454e-05/0.7876, allocations: 8 kB / 1.169 GB, free: 1.152 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002043/0.7878, allocations: 99.84 kB / 1.169 GB, free: 1.055 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 3.917e-05/0.7878, allocations: 31.91 kB / 1.169 GB, free: 1.023 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 6.328e-05/0.7879, allocations: 47.77 kB / 1.169 GB, free: 0.9766 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0002657/0.7882, allocations: 159.2 kB / 1.169 GB, free: 0.8281 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.7882, allocations: 3.938 kB / 1.169 GB, free: 0.8242 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.273e-06/0.7882, allocations: 0 / 1.169 GB, free: 0.8242 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 5.029e-06/0.7882, allocations: 0 / 1.169 GB, free: 0.8242 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0007455/0.789, allocations: 458.3 kB / 1.169 GB, free: 324 kB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.093e-05/0.789, allocations: 12.92 kB / 1.17 GB, free: 312 kB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.686e-05/0.7891, allocations: 38.75 kB / 1.17 GB, free: 264 kB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.151e-05/0.7891, allocations: 8.891 kB / 1.17 GB, free: 256 kB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001464/0.7893, allocations: 177.4 kB / 1.17 GB, free: 40 kB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.419e-05/0.7893, allocations: 8.375 kB / 1.17 GB, free: 32 kB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.709e-05/0.7894, allocations: 4.375 kB / 1.17 GB, free: 28 kB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002599/0.7897, allocations: 89.77 kB / 1.17 GB, free: 15.93 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/0.7897, allocations: 3.938 kB / 1.17 GB, free: 15.93 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.277e-05/0.7897, allocations: 0 / 1.17 GB, free: 15.93 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.747e-06/0.7897, allocations: 0 / 1.17 GB, free: 15.93 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000174/0.7899, allocations: 51.97 kB / 1.17 GB, free: 15.88 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007656/0.7907, allocations: 352.5 kB / 1.17 GB, free: 15.48 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001747/0.7908, allocations: 62.58 kB / 1.17 GB, free: 15.41 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001248/0.791, allocations: 44.84 kB / 1.17 GB, free: 15.37 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 1.582e-05/0.791, allocations: 0 / 1.17 GB, free: 15.37 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002433/0.7912, allocations: 91.34 kB / 1.17 GB, free: 15.27 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=8): time 1.383e-06/0.7913, allocations: 0 / 1.17 GB, free: 15.27 MB / 0.9044 GB Notification: Performance of matching and sorting (n=8): time 0.0005573/0.7918, allocations: 189.6 kB / 1.171 GB, free: 15.07 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.564e-05/0.7919, allocations: 55.41 kB / 1.171 GB, free: 15.01 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001162/0.792, allocations: 131.1 kB / 1.171 GB, free: 14.87 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.169e-05/0.792, allocations: 29.7 kB / 1.171 GB, free: 14.84 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 5.964e-05/0.7921, allocations: 92.09 kB / 1.171 GB, free: 14.74 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.483e-05/0.7921, allocations: 19.89 kB / 1.171 GB, free: 14.72 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.753e-05/0.7922, allocations: 29.7 kB / 1.171 GB, free: 14.69 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001519/0.7923, allocations: 322.8 kB / 1.171 GB, free: 14.36 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001008/0.7924, allocations: 35.97 kB / 1.171 GB, free: 14.33 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001123/0.7926, allocations: 60.28 kB / 1.171 GB, free: 14.25 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001941/0.7928, allocations: 92.2 kB / 1.171 GB, free: 14.15 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.7928, allocations: 0 / 1.171 GB, free: 14.15 MB / 0.9044 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002799/0.7931, allocations: 133.5 kB / 1.172 GB, free: 14.01 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.435e-05/0.7931, allocations: 4 kB / 1.172 GB, free: 14.01 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.7931, allocations: 0 / 1.172 GB, free: 14.01 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.862e-05/0.7931, allocations: 4 kB / 1.172 GB, free: 14 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001114/0.7932, allocations: 19.92 kB / 1.172 GB, free: 13.98 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.803e-06/0.7933, allocations: 8.094 kB / 1.172 GB, free: 13.98 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.859e-05/0.7933, allocations: 11.89 kB / 1.172 GB, free: 13.96 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.733e-05/0.7934, allocations: 8.062 kB / 1.172 GB, free: 13.96 MB / 0.9044 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 0.0001118/0.7935, allocations: 129.8 kB / 1.172 GB, free: 13.82 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.928e-05/0.7935, allocations: 3.953 kB / 1.172 GB, free: 13.82 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.383e-05/0.7935, allocations: 8.375 kB / 1.172 GB, free: 13.81 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.7935, allocations: 0 / 1.172 GB, free: 13.81 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.437e-06/0.7936, allocations: 0 / 1.172 GB, free: 13.81 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.578e-06/0.7936, allocations: 4 kB / 1.172 GB, free: 13.8 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006073/0.7942, allocations: 430.3 kB / 1.172 GB, free: 13.33 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.724e-06/0.7942, allocations: 0 / 1.172 GB, free: 13.33 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.425e-05/0.7942, allocations: 11.98 kB / 1.172 GB, free: 13.32 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.7942, allocations: 0 / 1.172 GB, free: 13.32 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.628e-05/0.7943, allocations: 4 kB / 1.172 GB, free: 13.31 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.7943, allocations: 0 / 1.172 GB, free: 13.31 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.009e-06/0.7943, allocations: 7.922 kB / 1.172 GB, free: 13.3 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004034/0.7947, allocations: 247.8 kB / 1.172 GB, free: 13.05 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 5.933e-05/0.7948, allocations: 81.06 kB / 1.172 GB, free: 12.95 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.404e-05/0.7948, allocations: 0 / 1.172 GB, free: 12.95 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001041/0.7949, allocations: 4 kB / 1.172 GB, free: 12.95 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.637e-05/0.795, allocations: 15.92 kB / 1.172 GB, free: 12.93 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.847e-05/0.795, allocations: 11.98 kB / 1.172 GB, free: 12.92 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 6.378e-05/0.795, allocations: 92.27 kB / 1.173 GB, free: 12.83 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.61e-07/0.7951, allocations: 4 kB / 1.173 GB, free: 12.82 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0003039/0.7954, allocations: 39.88 kB / 1.173 GB, free: 12.79 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: 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.001025/0.7964, allocations: 0.8484 MB / 1.173 GB, free: 11.93 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0003034/0.7967, allocations: 91.88 kB / 1.174 GB, free: 11.84 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.7967, allocations: 0 / 1.174 GB, free: 11.84 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001465/0.7969, allocations: 48.17 kB / 1.174 GB, free: 11.79 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002652/0.7972, allocations: 18.16 kB / 1.174 GB, free: 11.77 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001878/0.799, allocations: 1.584 MB / 1.175 GB, free: 10.09 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003275/0.7994, allocations: 0.6906 MB / 1.176 GB, free: 9.371 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 4.021e-05/0.7994, allocations: 7.859 kB / 1.176 GB, free: 9.363 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.402e-05/0.7995, allocations: 27.42 kB / 1.176 GB, free: 9.336 MB / 0.9044 GB Notification: Performance of SimCode: time 2.3e-07/0.7995, allocations: 0 / 1.176 GB, free: 9.336 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02502/0.8245, allocations: 2.994 MB / 1.179 GB, free: 6.469 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.927/8.752, allocations: 7.938 kB / 1.179 GB, free: 6.461 MB / 0.9044 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