Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTOut",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut,fileNamePrefix="Buildings_9_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.007814/0.007814, allocations: 98.48 kB / 15.73 MB, free: 6.047 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.001991/0.001991, allocations: 194 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.341/1.341, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.33/2.33, allocations: 390.3 MB / 0.6648 GB, free: 232 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00121/0.00121, allocations: 61.97 kB / 0.9504 GB, free: 5.961 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.237/0.2382, allocations: 140.4 MB / 1.087 GB, free: 2.055 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut): time 0.002933/0.2412, allocations: 1.516 MB / 1.089 GB, free: 0.5273 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.00147/0.2427, allocations: 0.7569 MB / 1.09 GB, free: 15.77 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.769e-05/0.2428, allocations: 4 kB / 1.09 GB, free: 15.76 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 4.053e-05/0.2429, allocations: 3.938 kB / 1.09 GB, free: 15.76 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 7.55e-05/0.243, allocations: 15.81 kB / 1.09 GB, free: 15.74 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006657/0.2436, allocations: 135.6 kB / 1.09 GB, free: 15.61 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001454/0.2438, allocations: 103.7 kB / 1.09 GB, free: 15.51 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 9.98e-05/0.2439, allocations: 15.98 kB / 1.09 GB, free: 15.49 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001089/0.244, allocations: 51.89 kB / 1.09 GB, free: 15.44 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 9.141e-05/0.2441, allocations: 51.81 kB / 1.09 GB, free: 15.39 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.309e-05/0.2441, allocations: 8 kB / 1.09 GB, free: 15.38 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002034/0.2443, allocations: 99.84 kB / 1.09 GB, free: 15.29 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.634e-05/0.2444, allocations: 27.89 kB / 1.09 GB, free: 15.26 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 5.299e-05/0.2445, allocations: 35.86 kB / 1.09 GB, free: 15.22 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002788/0.2447, allocations: 167.7 kB / 1.09 GB, free: 15.06 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.2448, allocations: 3.938 kB / 1.09 GB, free: 15.05 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.743e-06/0.2448, allocations: 4 kB / 1.09 GB, free: 15.05 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.06e-06/0.2448, allocations: 0 / 1.09 GB, free: 15.05 MB / 0.8575 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.0007506/0.2455, allocations: 462.4 kB / 1.091 GB, free: 14.54 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.343e-05/0.2456, allocations: 8.031 kB / 1.091 GB, free: 14.53 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.981e-05/0.2456, allocations: 38.73 kB / 1.091 GB, free: 14.48 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.883e-05/0.2457, allocations: 8.891 kB / 1.091 GB, free: 14.48 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001357/0.2458, allocations: 180.2 kB / 1.091 GB, free: 14.26 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.794e-05/0.2459, allocations: 4.375 kB / 1.091 GB, free: 14.26 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.145e-05/0.2459, allocations: 4.375 kB / 1.091 GB, free: 14.25 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000263/0.2462, allocations: 101.8 kB / 1.091 GB, free: 14.15 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/0.2462, allocations: 0 / 1.091 GB, free: 14.15 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.484e-05/0.2462, allocations: 0 / 1.091 GB, free: 14.15 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.468e-06/0.2462, allocations: 0 / 1.091 GB, free: 14.15 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001762/0.2464, allocations: 51.89 kB / 1.091 GB, free: 14.1 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008143/0.2472, allocations: 336.8 kB / 1.092 GB, free: 13.72 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000181/0.2474, allocations: 58.53 kB / 1.092 GB, free: 13.65 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001249/0.2476, allocations: 44.83 kB / 1.092 GB, free: 13.61 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.994e-05/0.2476, allocations: 3.938 kB / 1.092 GB, free: 13.6 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002707/0.2479, allocations: 107.3 kB / 1.092 GB, free: 13.48 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=8): time 1.532e-06/0.2479, allocations: 0 / 1.092 GB, free: 13.48 MB / 0.8575 GB Notification: Performance of matching and sorting (n=8): time 0.0005339/0.2484, allocations: 173.6 kB / 1.092 GB, free: 13.31 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.8e-05/0.2485, allocations: 59.39 kB / 1.092 GB, free: 13.24 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.895e-05/0.2486, allocations: 129.7 kB / 1.092 GB, free: 13.11 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.05e-05/0.2486, allocations: 29.7 kB / 1.092 GB, free: 13.07 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.912e-05/0.2487, allocations: 96.12 kB / 1.092 GB, free: 12.97 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.353e-05/0.2487, allocations: 23.98 kB / 1.092 GB, free: 12.95 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.405e-05/0.2488, allocations: 33.7 kB / 1.092 GB, free: 12.91 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.000107/0.2489, allocations: 318.8 kB / 1.093 GB, free: 12.59 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.807e-05/0.249, allocations: 35.86 kB / 1.093 GB, free: 12.55 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001078/0.2491, allocations: 64.27 kB / 1.093 GB, free: 12.48 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001846/0.2493, allocations: 100.2 kB / 1.093 GB, free: 12.36 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.2493, allocations: 0 / 1.093 GB, free: 12.36 MB / 0.8575 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002697/0.2496, allocations: 133.5 kB / 1.093 GB, free: 12.23 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.674e-05/0.2496, allocations: 12 kB / 1.093 GB, free: 12.21 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.663e-06/0.2496, allocations: 0 / 1.093 GB, free: 12.21 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.328e-05/0.2496, allocations: 0 / 1.093 GB, free: 12.21 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001099/0.2497, allocations: 15.98 kB / 1.093 GB, free: 12.2 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.716e-06/0.2497, allocations: 4 kB / 1.093 GB, free: 12.2 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.715e-05/0.2498, allocations: 7.984 kB / 1.093 GB, free: 12.19 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.653e-05/0.2498, allocations: 8 kB / 1.093 GB, free: 12.18 MB / 0.8575 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.866e-05/0.25, allocations: 127.3 kB / 1.093 GB, free: 12.05 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.425e-05/0.25, allocations: 8.016 kB / 1.093 GB, free: 12.04 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.124e-05/0.25, allocations: 20.36 kB / 1.093 GB, free: 12.02 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.25, allocations: 0 / 1.093 GB, free: 12.02 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/0.25, allocations: 0 / 1.093 GB, free: 12.02 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.25, allocations: 0 / 1.093 GB, free: 12.02 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005735/0.2506, allocations: 430.3 kB / 1.093 GB, free: 11.54 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.2506, allocations: 0 / 1.093 GB, free: 11.54 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.032e-05/0.2507, allocations: 8 kB / 1.093 GB, free: 11.54 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/0.2507, allocations: 0 / 1.093 GB, free: 11.54 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.457e-05/0.2507, allocations: 3.984 kB / 1.093 GB, free: 11.53 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.2507, allocations: 0 / 1.093 GB, free: 11.53 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.133e-06/0.2507, allocations: 7.938 kB / 1.093 GB, free: 11.52 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003884/0.2511, allocations: 235.4 kB / 1.094 GB, free: 11.28 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.047e-05/0.2512, allocations: 85.05 kB / 1.094 GB, free: 11.18 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.673e-05/0.2512, allocations: 8 kB / 1.094 GB, free: 11.17 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001236/0.2513, allocations: 7.984 kB / 1.094 GB, free: 11.16 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.155e-05/0.2514, allocations: 11.92 kB / 1.094 GB, free: 11.15 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.067e-05/0.2514, allocations: 0 / 1.094 GB, free: 11.15 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 6.301e-05/0.2515, allocations: 103.2 kB / 1.094 GB, free: 11.05 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.383e-06/0.2515, allocations: 0 / 1.094 GB, free: 11.05 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003287/0.2518, allocations: 51.81 kB / 1.094 GB, free: 11 MB / 0.8575 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.0009107/0.2527, allocations: 0.8317 MB / 1.095 GB, free: 10.15 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002931/0.253, allocations: 91.88 kB / 1.095 GB, free: 10.06 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.253, allocations: 0 / 1.095 GB, free: 10.06 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001444/0.2532, allocations: 55.89 kB / 1.095 GB, free: 10.01 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002807/0.2535, allocations: 11.92 kB / 1.095 GB, free: 9.996 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001794/0.2553, allocations: 1.577 MB / 1.096 GB, free: 8.312 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002684/0.2556, allocations: 0.6963 MB / 1.097 GB, free: 7.59 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 4.797e-05/0.2556, allocations: 7.984 kB / 1.097 GB, free: 7.582 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.869e-05/0.2557, allocations: 19.44 kB / 1.097 GB, free: 7.562 MB / 0.8575 GB Notification: Performance of SimCode: time 2.4e-07/0.2557, allocations: 0 / 1.097 GB, free: 7.562 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02113/0.2768, allocations: 2.986 MB / 1.1 GB, free: 4.699 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.492/7.769, allocations: 19.7 kB / 1.1 GB, free: 4.684 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.sim & python3 -m fmpy simulate --output-file Buildings_9_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_9_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTOut.fmu > Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTOut.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_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_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut_res.csv. Warning: Get data of variable win.occ from file Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut_res.csv failed! Error: Could not read variable win.on in file Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut_res.csv. Warning: Get data of variable win.on from file Buildings_9_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