Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.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: translateModel(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TIn|win.occ|win.pOpen|win.on",fileNamePrefix="Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn") translateModel(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TIn|win.occ|win.pOpen|win.on",fileNamePrefix="Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00833/0.00833, allocations: 100.5 kB / 15.73 MB, free: 5.602 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.001567/0.001567, allocations: 190.4 kB / 16.68 MB, free: 5.523 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.489/1.489, 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 9.1.3-maint.9.1.x/package.mo): time 2.395/2.395, allocations: 390.2 MB / 0.6648 GB, free: 0.668 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001251/0.001251, allocations: 59.91 kB / 0.9508 GB, free: 7.684 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9362/0.9375, allocations: 140.4 MB / 1.088 GB, free: 5.527 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn): time 0.002638/0.9401, allocations: 1.516 MB / 1.089 GB, free: 4.473 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001423/0.9416, allocations: 0.7464 MB / 1.09 GB, free: 3.969 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.244e-05/0.9417, allocations: 5.156 kB / 1.09 GB, free: 3.965 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.847e-05/0.9417, allocations: 8.594 kB / 1.09 GB, free: 3.957 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 6.085e-05/0.9418, allocations: 10.28 kB / 1.09 GB, free: 3.949 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006943/0.9425, allocations: 136.6 kB / 1.09 GB, free: 3.883 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001644/0.9427, allocations: 109.6 kB / 1.09 GB, free: 3.832 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001058/0.9428, allocations: 7.719 kB / 1.09 GB, free: 3.832 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001195/0.9429, allocations: 46.7 kB / 1.09 GB, free: 3.812 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001248/0.943, allocations: 54.31 kB / 1.09 GB, free: 3.789 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.485e-05/0.9431, allocations: 10.03 kB / 1.09 GB, free: 3.789 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002598/0.9433, allocations: 100.8 kB / 1.091 GB, free: 3.758 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 4.886e-05/0.9434, allocations: 30.23 kB / 1.091 GB, free: 3.738 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 6.833e-05/0.9435, allocations: 40.47 kB / 1.091 GB, free: 3.715 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003725/0.9438, allocations: 170.1 kB / 1.091 GB, free: 3.66 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.9439, allocations: 3.938 kB / 1.091 GB, free: 3.656 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.724e-06/0.9439, allocations: 0 / 1.091 GB, free: 3.656 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.224e-06/0.9439, allocations: 0 / 1.091 GB, free: 3.656 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.0007573/0.9446, allocations: 466.8 kB / 1.091 GB, free: 3.195 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.796e-05/0.9447, allocations: 9.156 kB / 1.091 GB, free: 3.195 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.049e-05/0.9448, allocations: 17.62 kB / 1.091 GB, free: 3.184 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001079/0.9449, allocations: 174.1 kB / 1.091 GB, free: 2.98 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.075e-05/0.9449, allocations: 4.375 kB / 1.091 GB, free: 2.98 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.578e-05/0.945, allocations: 4.594 kB / 1.091 GB, free: 2.98 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002893/0.9452, allocations: 91.41 kB / 1.092 GB, free: 2.93 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.015e-05/0.9453, allocations: 4.812 kB / 1.092 GB, free: 2.926 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.825e-05/0.9453, allocations: 4 kB / 1.092 GB, free: 2.922 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.392e-06/0.9453, allocations: 1.938 kB / 1.092 GB, free: 2.922 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001977/0.9455, allocations: 47.22 kB / 1.092 GB, free: 2.91 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008154/0.9463, allocations: 335 kB / 1.092 GB, free: 2.617 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002027/0.9465, allocations: 74.72 kB / 1.092 GB, free: 2.566 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001515/0.9467, allocations: 44.31 kB / 1.092 GB, free: 2.547 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.048e-05/0.9467, allocations: 1.094 kB / 1.092 GB, free: 2.547 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003205/0.9471, allocations: 94.11 kB / 1.092 GB, free: 2.484 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=8): time 1.513e-06/0.9471, allocations: 4 kB / 1.092 GB, free: 2.48 MB / 0.8575 GB Notification: Performance of matching and sorting (n=8): time 0.0006448/0.9477, allocations: 179.2 kB / 1.092 GB, free: 2.41 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.461e-05/0.9478, allocations: 62.95 kB / 1.092 GB, free: 2.34 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.8e-05/0.9479, allocations: 129.1 kB / 1.092 GB, free: 2.23 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.485e-05/0.9479, allocations: 30.67 kB / 1.093 GB, free: 2.195 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.409e-05/0.9479, allocations: 93.02 kB / 1.093 GB, free: 2.105 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.144e-05/0.948, allocations: 24.27 kB / 1.093 GB, free: 2.086 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.155e-05/0.948, allocations: 32.09 kB / 1.093 GB, free: 2.062 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.091e-05/0.9481, allocations: 323.7 kB / 1.093 GB, free: 1.742 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.027e-05/0.9482, allocations: 33.27 kB / 1.093 GB, free: 1.73 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001017/0.9483, allocations: 63.55 kB / 1.093 GB, free: 1.68 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001763/0.9485, allocations: 95.78 kB / 1.093 GB, free: 1.613 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.9485, allocations: 0 / 1.093 GB, free: 1.613 MB / 0.8575 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002791/0.9488, allocations: 134.7 kB / 1.093 GB, free: 1.543 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.875e-05/0.9488, allocations: 9.844 kB / 1.093 GB, free: 1.539 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.875e-06/0.9488, allocations: 5.562 kB / 1.093 GB, free: 1.535 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.133e-05/0.9488, allocations: 1.406 kB / 1.093 GB, free: 1.535 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00012/0.9489, allocations: 13.98 kB / 1.093 GB, free: 1.535 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.838e-06/0.949, allocations: 6.922 kB / 1.093 GB, free: 1.531 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.17e-05/0.9491, allocations: 13.84 kB / 1.093 GB, free: 1.523 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.852e-05/0.9491, allocations: 5 kB / 1.093 GB, free: 1.523 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 8.738e-05/0.9492, allocations: 124.7 kB / 1.093 GB, free: 1.398 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.413e-05/0.9492, allocations: 15.89 kB / 1.093 GB, free: 1.387 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.135e-05/0.9492, allocations: 7.125 kB / 1.093 GB, free: 1.379 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.927e-06/0.9492, allocations: 1.25 kB / 1.093 GB, free: 1.379 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.9493, allocations: 0.7812 kB / 1.093 GB, free: 1.379 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/0.9493, allocations: 1.609 kB / 1.093 GB, free: 1.379 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006116/0.9499, allocations: 436.7 kB / 1.094 GB, free: 1.02 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.9499, allocations: 0 / 1.094 GB, free: 1.02 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.022e-05/0.9499, allocations: 9.703 kB / 1.094 GB, free: 1.016 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.978e-06/0.9499, allocations: 0.8438 kB / 1.094 GB, free: 1.016 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.91e-05/0.95, allocations: 7.812 kB / 1.094 GB, free: 1.012 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.95, allocations: 0 / 1.094 GB, free: 1.012 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.325e-06/0.95, allocations: 4.875 kB / 1.094 GB, free: 1.008 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004379/0.9504, allocations: 245.2 kB / 1.094 GB, free: 0.8398 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.802e-05/0.9505, allocations: 83.84 kB / 1.094 GB, free: 0.7422 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.148e-05/0.9505, allocations: 2.703 kB / 1.094 GB, free: 0.7422 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001211/0.9506, allocations: 6.844 kB / 1.094 GB, free: 0.7422 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.898e-05/0.9507, allocations: 8.547 kB / 1.094 GB, free: 0.7383 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.755e-05/0.9507, allocations: 8.844 kB / 1.094 GB, free: 0.7344 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 6.108e-05/0.9508, allocations: 97.5 kB / 1.094 GB, free: 0.6562 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2.3e-07/0.9508, allocations: 0.6562 kB / 1.094 GB, free: 0.6562 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0004111/0.9512, allocations: 48.02 kB / 1.094 GB, free: 0.6406 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.0004545/0.9517, allocations: 171.2 kB / 1.095 GB, free: 0.5234 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0003698/0.952, allocations: 89.67 kB / 1.095 GB, free: 0.5 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.9521, allocations: 0 / 1.095 GB, free: 0.5 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001777/0.9522, allocations: 58.78 kB / 1.095 GB, free: 488 kB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003035/0.9525, allocations: 11.7 kB / 1.095 GB, free: 484 kB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005213/0.9531, allocations: 196.2 kB / 1.095 GB, free: 332 kB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002556/0.9533, allocations: 0.6891 MB / 1.096 GB, free: 15.63 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 4.593e-05/0.9534, allocations: 10.36 kB / 1.096 GB, free: 15.62 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.289e-05/0.9534, allocations: 11.94 kB / 1.096 GB, free: 15.62 MB / 0.8731 GB Notification: Performance of SimCode: time 4.21e-07/0.9534, allocations: 0 / 1.096 GB, free: 15.62 MB / 0.8731 GB Notification: Performance of Templates: time 0.006084/0.9595, allocations: 1.745 MB / 1.097 GB, free: 15.46 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.makefile (rm -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.sim & ./Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTIn.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,win.TIn,win.occ,win.pOpen,win.on Variables in the result:TIn.amplitude,TIn.f,TIn.offset,TIn.phase,TIn.startTime,occ.startTime,occ.startValue,occ.y,time,win.AClose,win.AOpen,win.BClose,win.BOpen,win.TIn,win.occ,win.on,win.pOpen,win.samplePeriod,win.seed,win.t0