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.006821/0.006821, allocations: 103 kB / 15.73 MB, free: 6.035 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.001676/0.001676, allocations: 190 kB / 16.67 MB, free: 5.965 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.46/1.46, allocations: 222.9 MB / 240.4 MB, free: 4.32 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.466/2.466, allocations: 390.2 MB / 0.6648 GB, free: 204 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00117/0.00117, allocations: 70.62 kB / 0.9504 GB, free: 5.945 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2578/0.259, allocations: 140.4 MB / 1.087 GB, free: 2.008 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut): time 0.002339/0.2614, allocations: 1.517 MB / 1.089 GB, free: 488 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001163/0.2626, allocations: 0.7493 MB / 1.09 GB, free: 15.72 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.091e-05/0.2626, allocations: 7.875 kB / 1.09 GB, free: 15.71 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.884e-05/0.2627, allocations: 7.938 kB / 1.09 GB, free: 15.71 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 5.423e-05/0.2628, allocations: 11.86 kB / 1.09 GB, free: 15.7 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005303/0.2633, allocations: 135.6 kB / 1.09 GB, free: 15.56 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.000124/0.2634, allocations: 103.7 kB / 1.09 GB, free: 15.46 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 7.874e-05/0.2635, allocations: 11.98 kB / 1.09 GB, free: 15.45 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 9.262e-05/0.2636, allocations: 51.84 kB / 1.09 GB, free: 15.4 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 7.691e-05/0.2637, allocations: 55.8 kB / 1.09 GB, free: 15.34 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.964e-05/0.2637, allocations: 8 kB / 1.09 GB, free: 15.34 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001735/0.2639, allocations: 103.8 kB / 1.09 GB, free: 15.23 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.762e-05/0.2639, allocations: 19.97 kB / 1.09 GB, free: 15.21 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 5.507e-05/0.264, allocations: 43.78 kB / 1.09 GB, free: 15.17 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002104/0.2642, allocations: 158.5 kB / 1.09 GB, free: 15.02 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.2642, allocations: 0 / 1.09 GB, free: 15.02 MB / 0.8575 GB Notification: Performance of FrontEnd: time 3.456e-06/0.2642, allocations: 7.922 kB / 1.09 GB, free: 15.01 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.729e-06/0.2642, allocations: 0 / 1.09 GB, free: 15.01 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.0006036/0.2648, allocations: 459.5 kB / 1.091 GB, free: 14.5 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.621e-05/0.2649, allocations: 12.03 kB / 1.091 GB, free: 14.49 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.026e-05/0.2649, allocations: 38.69 kB / 1.091 GB, free: 14.45 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.631e-05/0.265, allocations: 12.83 kB / 1.091 GB, free: 14.43 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001079/0.2651, allocations: 172.2 kB / 1.091 GB, free: 14.23 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.981e-05/0.2651, allocations: 4.375 kB / 1.091 GB, free: 14.22 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.086e-05/0.2651, allocations: 8.375 kB / 1.091 GB, free: 14.21 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002107/0.2654, allocations: 97.62 kB / 1.091 GB, free: 14.11 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.666e-06/0.2654, allocations: 8 kB / 1.091 GB, free: 14.11 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.171e-05/0.2654, allocations: 0 / 1.091 GB, free: 14.11 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.61e-06/0.2654, allocations: 4 kB / 1.091 GB, free: 14.1 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001562/0.2656, allocations: 43.97 kB / 1.091 GB, free: 14.06 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006777/0.2662, allocations: 336.6 kB / 1.092 GB, free: 13.68 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001516/0.2664, allocations: 66.58 kB / 1.092 GB, free: 13.61 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000112/0.2665, allocations: 44.83 kB / 1.092 GB, free: 13.56 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.902e-05/0.2666, allocations: 0 / 1.092 GB, free: 13.56 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002212/0.2668, allocations: 95.5 kB / 1.092 GB, free: 13.45 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=8): time 1.352e-06/0.2668, allocations: 4 kB / 1.092 GB, free: 13.45 MB / 0.8575 GB Notification: Performance of matching and sorting (n=8): time 0.0004972/0.2673, allocations: 181.5 kB / 1.092 GB, free: 13.27 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.524e-05/0.2673, allocations: 55.41 kB / 1.092 GB, free: 13.2 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.521e-05/0.2674, allocations: 129.8 kB / 1.092 GB, free: 13.06 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.668e-05/0.2675, allocations: 25.7 kB / 1.092 GB, free: 13.03 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.877e-05/0.2675, allocations: 100 kB / 1.092 GB, free: 12.93 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.976e-05/0.2675, allocations: 23.75 kB / 1.092 GB, free: 12.91 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.799e-05/0.2676, allocations: 29.7 kB / 1.092 GB, free: 12.87 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001133/0.2677, allocations: 326.8 kB / 1.093 GB, free: 12.54 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.103e-05/0.2678, allocations: 27.98 kB / 1.093 GB, free: 12.52 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.639e-05/0.2679, allocations: 63.14 kB / 1.093 GB, free: 12.44 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001753/0.2681, allocations: 96.2 kB / 1.093 GB, free: 12.33 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.724e-06/0.2681, allocations: 0 / 1.093 GB, free: 12.33 MB / 0.8575 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002421/0.2683, allocations: 129.4 kB / 1.093 GB, free: 12.2 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.208e-05/0.2684, allocations: 8.094 kB / 1.093 GB, free: 12.19 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.461e-06/0.2684, allocations: 4 kB / 1.093 GB, free: 12.19 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.088e-05/0.2684, allocations: 0 / 1.093 GB, free: 12.19 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001022/0.2685, allocations: 19.92 kB / 1.093 GB, free: 12.17 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.929e-06/0.2685, allocations: 0 / 1.093 GB, free: 12.17 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.864e-05/0.2686, allocations: 8 kB / 1.093 GB, free: 12.16 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.63e-05/0.2686, allocations: 7.984 kB / 1.093 GB, free: 12.15 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.247e-05/0.2687, allocations: 125.7 kB / 1.093 GB, free: 12.02 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.186e-05/0.2687, allocations: 15.94 kB / 1.093 GB, free: 12 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.303e-05/0.2688, allocations: 8.375 kB / 1.093 GB, free: 12 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.582e-06/0.2688, allocations: 0 / 1.093 GB, free: 12 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.2688, allocations: 4 kB / 1.093 GB, free: 11.99 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.2688, allocations: 3.984 kB / 1.093 GB, free: 11.99 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005357/0.2693, allocations: 426.3 kB / 1.093 GB, free: 11.52 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.2693, allocations: 0 / 1.093 GB, free: 11.52 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.646e-05/0.2694, allocations: 12 kB / 1.093 GB, free: 11.5 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.36e-06/0.2694, allocations: 8 kB / 1.093 GB, free: 11.5 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.303e-05/0.2694, allocations: 3.984 kB / 1.093 GB, free: 11.49 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.2694, allocations: 0 / 1.093 GB, free: 11.49 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.2694, allocations: 3.938 kB / 1.093 GB, free: 11.49 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003507/0.2698, allocations: 243.4 kB / 1.094 GB, free: 11.23 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.508e-05/0.2698, allocations: 88.95 kB / 1.094 GB, free: 11.13 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.102e-05/0.2699, allocations: 8 kB / 1.094 GB, free: 11.12 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001019/0.27, allocations: 7.984 kB / 1.094 GB, free: 11.11 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.336e-05/0.27, allocations: 3.938 kB / 1.094 GB, free: 11.11 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.402e-05/0.27, allocations: 7.984 kB / 1.094 GB, free: 11.1 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.907e-05/0.2701, allocations: 99.27 kB / 1.094 GB, free: 11 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.81e-07/0.2701, allocations: 0 / 1.094 GB, free: 11 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.000277/0.2704, allocations: 36 kB / 1.094 GB, free: 10.97 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.0008142/0.2712, allocations: 0.8432 MB / 1.095 GB, free: 10.12 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002577/0.2715, allocations: 87.89 kB / 1.095 GB, free: 10.03 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.2715, allocations: 0 / 1.095 GB, free: 10.03 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001348/0.2716, allocations: 51.95 kB / 1.095 GB, free: 9.98 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002452/0.2719, allocations: 15.88 kB / 1.095 GB, free: 9.965 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001568/0.2734, allocations: 1.579 MB / 1.096 GB, free: 8.277 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002396/0.2737, allocations: 0.6977 MB / 1.097 GB, free: 7.555 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 3.78e-05/0.2737, allocations: 4.094 kB / 1.097 GB, free: 7.551 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.922e-05/0.2738, allocations: 27.42 kB / 1.097 GB, free: 7.523 MB / 0.8575 GB Notification: Performance of SimCode: time 2.01e-07/0.2738, allocations: 0 / 1.097 GB, free: 7.523 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07019/0.344, allocations: 3.022 MB / 1.1 GB, free: 4.625 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.079/8.423, allocations: 14.02 kB / 1.1 GB, free: 4.613 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut_res.mat --tempDir=temp_Buildings_9_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTOut_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 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.mat","/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) "" Variables in the reference:time,win.TOut,win.occ,win.pOpen,win.on Variables in the result:TOut.amplitude,TOut.f,TOut.offset,TOut.phase,TOut.startTime,TOut.y,occ.startTime,occ.startValue,occ.y,time,win.AClose,win.AOpen,win.BClose,win.BOpen,win.TOut,win.occ,win.on,win.pClose,win.pOpen,win.samplePeriod,win.seed