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.003966/0.003966, allocations: 100.7 kB / 15.73 MB, free: 6.043 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.001015/0.001015, allocations: 190 kB / 16.67 MB, free: 5.977 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.327/1.327, allocations: 222.9 MB / 240.4 MB, free: 4.305 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.358/2.358, allocations: 390.3 MB / 0.6648 GB, free: 224 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001178/0.001178, allocations: 67.08 kB / 0.9504 GB, free: 5.957 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2521/0.2533, allocations: 140.4 MB / 1.087 GB, free: 2.051 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut): time 0.002524/0.2559, allocations: 1.521 MB / 1.089 GB, free: 0.5156 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.00133/0.2572, allocations: 0.7532 MB / 1.09 GB, free: 15.76 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.477e-05/0.2573, allocations: 3.938 kB / 1.09 GB, free: 15.75 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.412e-05/0.2574, allocations: 7.938 kB / 1.09 GB, free: 15.75 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 5.792e-05/0.2574, allocations: 11.86 kB / 1.09 GB, free: 15.73 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005904/0.258, allocations: 135.6 kB / 1.09 GB, free: 15.6 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001458/0.2582, allocations: 99.77 kB / 1.09 GB, free: 15.5 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 9.648e-05/0.2583, allocations: 19.97 kB / 1.09 GB, free: 15.48 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000112/0.2584, allocations: 51.77 kB / 1.09 GB, free: 15.43 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 8.754e-05/0.2585, allocations: 51.81 kB / 1.09 GB, free: 15.38 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.239e-05/0.2585, allocations: 8 kB / 1.09 GB, free: 15.38 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002022/0.2587, allocations: 95.91 kB / 1.09 GB, free: 15.28 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.306e-05/0.2588, allocations: 23.97 kB / 1.09 GB, free: 15.26 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 5.976e-05/0.2589, allocations: 43.78 kB / 1.09 GB, free: 15.21 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002623/0.2591, allocations: 170.4 kB / 1.09 GB, free: 15.05 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.2591, allocations: 0 / 1.09 GB, free: 15.05 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.603e-06/0.2591, allocations: 0 / 1.09 GB, free: 15.05 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.065e-05/0.2592, allocations: 4 kB / 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.00068/0.2598, allocations: 451.5 kB / 1.091 GB, free: 14.55 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.837e-05/0.2599, allocations: 8.031 kB / 1.091 GB, free: 14.54 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.325e-05/0.2599, allocations: 46.62 kB / 1.091 GB, free: 14.48 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.569e-05/0.26, allocations: 8.844 kB / 1.091 GB, free: 14.48 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001119/0.2601, allocations: 176.2 kB / 1.091 GB, free: 14.27 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.706e-05/0.2601, allocations: 4.375 kB / 1.091 GB, free: 14.26 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.353e-05/0.2602, allocations: 8.375 kB / 1.091 GB, free: 14.25 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002461/0.2604, allocations: 97.69 kB / 1.091 GB, free: 14.15 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.776e-06/0.2604, allocations: 0 / 1.091 GB, free: 14.15 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.514e-05/0.2605, allocations: 0 / 1.091 GB, free: 14.15 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.194e-06/0.2605, allocations: 4 kB / 1.091 GB, free: 14.15 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001854/0.2607, allocations: 47.97 kB / 1.091 GB, free: 14.1 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000747/0.2614, allocations: 348.6 kB / 1.092 GB, free: 13.71 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001712/0.2616, allocations: 62.55 kB / 1.092 GB, free: 13.64 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001233/0.2617, allocations: 40.84 kB / 1.092 GB, free: 13.6 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.004e-05/0.2618, allocations: 0 / 1.092 GB, free: 13.6 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00025/0.262, allocations: 95.34 kB / 1.092 GB, free: 13.49 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=8): time 1.402e-06/0.262, allocations: 0 / 1.092 GB, free: 13.49 MB / 0.8575 GB Notification: Performance of matching and sorting (n=8): time 0.0005324/0.2626, allocations: 181.7 kB / 1.092 GB, free: 13.31 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.498e-05/0.2626, allocations: 59.39 kB / 1.092 GB, free: 13.24 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.561e-05/0.2627, allocations: 130.5 kB / 1.092 GB, free: 13.1 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.045e-05/0.2628, allocations: 29.7 kB / 1.092 GB, free: 13.07 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.651e-05/0.2628, allocations: 96.05 kB / 1.092 GB, free: 12.97 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.354e-05/0.2628, allocations: 23.73 kB / 1.092 GB, free: 12.95 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.344e-05/0.2629, allocations: 29.7 kB / 1.092 GB, free: 12.91 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 9.372e-05/0.263, allocations: 318.8 kB / 1.093 GB, free: 12.59 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.86e-05/0.2631, allocations: 35.97 kB / 1.093 GB, free: 12.55 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001005/0.2632, allocations: 61.91 kB / 1.093 GB, free: 12.48 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001771/0.2634, allocations: 92.2 kB / 1.093 GB, free: 12.38 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.118e-06/0.2634, allocations: 0 / 1.093 GB, free: 12.38 MB / 0.8575 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002763/0.2637, allocations: 137.5 kB / 1.093 GB, free: 12.23 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.597e-05/0.2637, allocations: 4 kB / 1.093 GB, free: 12.23 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.199e-06/0.2637, allocations: 0 / 1.093 GB, free: 12.23 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.552e-05/0.2637, allocations: 4 kB / 1.093 GB, free: 12.23 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001121/0.2639, allocations: 19.92 kB / 1.093 GB, free: 12.21 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.223e-05/0.2639, allocations: 4 kB / 1.093 GB, free: 12.2 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.665e-05/0.264, allocations: 4 kB / 1.093 GB, free: 12.2 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.881e-05/0.264, allocations: 4 kB / 1.093 GB, free: 12.2 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 0.000102/0.2641, allocations: 145.2 kB / 1.093 GB, free: 12.05 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.015e-05/0.2641, allocations: 3.906 kB / 1.093 GB, free: 12.04 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.743e-05/0.2642, allocations: 12.41 kB / 1.093 GB, free: 12.03 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.2642, allocations: 0 / 1.093 GB, free: 12.03 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.588e-06/0.2642, allocations: 0 / 1.093 GB, free: 12.03 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.2642, allocations: 0 / 1.093 GB, free: 12.03 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005729/0.2648, allocations: 430.3 kB / 1.093 GB, free: 11.55 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.2648, allocations: 4 kB / 1.093 GB, free: 11.55 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.228e-05/0.2648, allocations: 7.984 kB / 1.093 GB, free: 11.54 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.696e-06/0.2648, allocations: 64 / 1.093 GB, free: 11.54 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.756e-05/0.2648, allocations: 12 kB / 1.093 GB, free: 11.53 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-06/0.2649, allocations: 0 / 1.093 GB, free: 11.53 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.2649, allocations: 3.938 kB / 1.093 GB, free: 11.53 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003699/0.2652, allocations: 239.4 kB / 1.094 GB, free: 11.28 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.925e-05/0.2653, allocations: 92.95 kB / 1.094 GB, free: 11.17 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.309e-05/0.2653, allocations: 0 / 1.094 GB, free: 11.17 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001078/0.2654, allocations: 4 kB / 1.094 GB, free: 11.16 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.491e-05/0.2655, allocations: 15.92 kB / 1.094 GB, free: 11.15 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.422e-05/0.2655, allocations: 7.984 kB / 1.094 GB, free: 11.14 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.936e-05/0.2656, allocations: 91.27 kB / 1.094 GB, free: 11.05 MB / 0.8575 GB Notification: Performance of sort global known variables: time 4e-07/0.2656, allocations: 0 / 1.094 GB, free: 11.05 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003141/0.2659, allocations: 40 kB / 1.094 GB, free: 11.01 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.0009192/0.2668, allocations: 0.8383 MB / 1.095 GB, free: 10.16 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002994/0.2671, allocations: 95.88 kB / 1.095 GB, free: 10.07 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.2671, allocations: 0 / 1.095 GB, free: 10.07 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001339/0.2673, allocations: 43.98 kB / 1.095 GB, free: 10.03 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002768/0.2676, allocations: 17.95 kB / 1.095 GB, free: 10.01 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001846/0.2694, allocations: 1.587 MB / 1.096 GB, free: 8.32 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000237/0.2697, allocations: 0.6924 MB / 1.097 GB, free: 7.602 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 3.957e-05/0.2697, allocations: 4 kB / 1.097 GB, free: 7.598 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.848e-05/0.2698, allocations: 27.36 kB / 1.097 GB, free: 7.57 MB / 0.8575 GB Notification: Performance of SimCode: time 2.3e-07/0.2698, allocations: 0 / 1.097 GB, free: 7.57 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02154/0.2913, allocations: 2.983 MB / 1.1 GB, free: 4.703 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.48/7.771, allocations: 15.73 kB / 1.1 GB, free: 4.691 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