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: translateModel(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.pOpen|win.on",fileNamePrefix="Buildings_10_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut") translateModel(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.pOpen|win.on",fileNamePrefix="Buildings_10_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0063/0.0063, allocations: 95.02 kB / 15.73 MB, free: 6.484 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.001377/0.001377, allocations: 194 kB / 16.67 MB, free: 6.391 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.388/1.388, allocations: 222.9 MB / 240.4 MB, free: 4.344 MB / 190.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.651/2.651, allocations: 437 MB / 0.7105 GB, free: 5.012 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001216/0.001216, allocations: 64.09 kB / 1.019 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.338/0.3392, allocations: 151.6 MB / 1.167 GB, free: 6.809 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut): time 0.002831/0.3421, allocations: 1.507 MB / 1.168 GB, free: 5.285 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.00142/0.3436, allocations: 0.7596 MB / 1.169 GB, free: 4.52 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.958e-05/0.3436, allocations: 0 / 1.169 GB, free: 4.52 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 4.071e-05/0.3437, allocations: 3.938 kB / 1.169 GB, free: 4.516 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 6.545e-05/0.3438, allocations: 19.8 kB / 1.169 GB, free: 4.496 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006097/0.3444, allocations: 135.6 kB / 1.169 GB, free: 4.363 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001382/0.3445, allocations: 107.7 kB / 1.169 GB, free: 4.258 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001144/0.3446, allocations: 11.98 kB / 1.169 GB, free: 4.246 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 9.259e-05/0.3447, allocations: 47.89 kB / 1.169 GB, free: 4.199 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 8.577e-05/0.3448, allocations: 47.83 kB / 1.169 GB, free: 4.152 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.334e-05/0.3449, allocations: 8 kB / 1.169 GB, free: 4.145 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000203/0.3451, allocations: 99.84 kB / 1.169 GB, free: 4.047 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 3.897e-05/0.3451, allocations: 31.89 kB / 1.169 GB, free: 4.016 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 5.124e-05/0.3452, allocations: 39.86 kB / 1.169 GB, free: 3.977 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002691/0.3455, allocations: 171.4 kB / 1.17 GB, free: 3.809 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.097e-06/0.3455, allocations: 0 / 1.17 GB, free: 3.809 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.274e-06/0.3455, allocations: 0 / 1.17 GB, free: 3.809 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.162e-06/0.3455, allocations: 0 / 1.17 GB, free: 3.809 MB / 0.92 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.0007343/0.3462, allocations: 466.3 kB / 1.17 GB, free: 3.293 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.3463, allocations: 8.031 kB / 1.17 GB, free: 3.285 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.944e-05/0.3463, allocations: 8.891 kB / 1.17 GB, free: 3.277 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001358/0.3465, allocations: 177.2 kB / 1.17 GB, free: 3.066 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.925e-05/0.3465, allocations: 12.38 kB / 1.17 GB, free: 3.055 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.139e-05/0.3465, allocations: 4.375 kB / 1.17 GB, free: 3.051 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000242/0.3468, allocations: 89.94 kB / 1.17 GB, free: 2.957 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/0.3468, allocations: 0 / 1.17 GB, free: 2.957 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.413e-05/0.3468, allocations: 4 kB / 1.17 GB, free: 2.953 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.3468, allocations: 0 / 1.17 GB, free: 2.953 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001659/0.347, allocations: 51.89 kB / 1.17 GB, free: 2.902 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007872/0.3478, allocations: 348.7 kB / 1.171 GB, free: 2.512 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001699/0.348, allocations: 58.55 kB / 1.171 GB, free: 2.445 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00012/0.3481, allocations: 44.83 kB / 1.171 GB, free: 2.398 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.81e-05/0.3481, allocations: 4 kB / 1.171 GB, free: 2.395 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002501/0.3484, allocations: 95.39 kB / 1.171 GB, free: 2.289 MB / 0.92 GB Notification: Performance of pre-optimization done (n=8): time 1.232e-06/0.3484, allocations: 0 / 1.171 GB, free: 2.289 MB / 0.92 GB Notification: Performance of matching and sorting (n=8): time 0.0005848/0.349, allocations: 177.6 kB / 1.171 GB, free: 2.109 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.939e-05/0.3491, allocations: 63.53 kB / 1.171 GB, free: 2.035 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001144/0.3492, allocations: 125.2 kB / 1.171 GB, free: 1.906 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.153e-05/0.3492, allocations: 29.7 kB / 1.171 GB, free: 1.871 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 7.181e-05/0.3493, allocations: 100.1 kB / 1.171 GB, free: 1.77 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.239e-05/0.3493, allocations: 19.78 kB / 1.171 GB, free: 1.75 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.398e-05/0.3494, allocations: 29.7 kB / 1.171 GB, free: 1.715 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.000143/0.3495, allocations: 326.8 kB / 1.172 GB, free: 1.387 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.662e-05/0.3496, allocations: 27.98 kB / 1.172 GB, free: 1.359 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001094/0.3497, allocations: 72.2 kB / 1.172 GB, free: 1.273 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001764/0.3499, allocations: 92.2 kB / 1.172 GB, free: 1.168 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.3499, allocations: 4 kB / 1.172 GB, free: 1.164 MB / 0.92 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000277/0.3502, allocations: 125.5 kB / 1.172 GB, free: 1.035 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.792e-05/0.3502, allocations: 7.938 kB / 1.172 GB, free: 1.027 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/0.3503, allocations: 4 kB / 1.172 GB, free: 1.023 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.567e-05/0.3503, allocations: 0 / 1.172 GB, free: 1.023 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001079/0.3504, allocations: 15.98 kB / 1.172 GB, free: 1.008 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.026e-06/0.3504, allocations: 0 / 1.172 GB, free: 1.008 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.311e-05/0.3505, allocations: 11.94 kB / 1.172 GB, free: 0.9961 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.563e-05/0.3505, allocations: 12.03 kB / 1.172 GB, free: 0.9844 MB / 0.92 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.0001279/0.3506, allocations: 129.7 kB / 1.172 GB, free: 0.8477 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.923e-05/0.3507, allocations: 7.953 kB / 1.172 GB, free: 0.8398 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.93e-05/0.3507, allocations: 12.36 kB / 1.172 GB, free: 0.8281 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.3507, allocations: 4 kB / 1.172 GB, free: 0.8242 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.3507, allocations: 0 / 1.172 GB, free: 0.8242 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.337e-06/0.3507, allocations: 0 / 1.172 GB, free: 0.8242 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005744/0.3513, allocations: 422.4 kB / 1.173 GB, free: 364 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.3513, allocations: 4 kB / 1.173 GB, free: 360 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.558e-05/0.3514, allocations: 3.984 kB / 1.173 GB, free: 356 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.005e-06/0.3514, allocations: 7.984 kB / 1.173 GB, free: 348 kB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.834e-05/0.3514, allocations: 3.984 kB / 1.173 GB, free: 344 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.537e-06/0.3514, allocations: 4.062 kB / 1.173 GB, free: 340 kB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.3514, allocations: 3.938 kB / 1.173 GB, free: 336 kB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003939/0.3518, allocations: 247.8 kB / 1.173 GB, free: 72 kB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 5.76e-05/0.3519, allocations: 85 kB / 1.173 GB, free: 15.97 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.614e-05/0.3519, allocations: 4 kB / 1.173 GB, free: 15.96 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000106/0.352, allocations: 11.98 kB / 1.173 GB, free: 15.95 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.67e-05/0.3521, allocations: 7.922 kB / 1.173 GB, free: 15.95 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.253e-05/0.3521, allocations: 4 kB / 1.173 GB, free: 15.94 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 7.166e-05/0.3522, allocations: 95.27 kB / 1.173 GB, free: 15.85 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.694e-06/0.3522, allocations: 4 kB / 1.173 GB, free: 15.84 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002939/0.3525, allocations: 47.86 kB / 1.173 GB, free: 15.8 MB / 0.9356 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.0004388/0.3529, allocations: 166.3 kB / 1.173 GB, free: 15.64 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003108/0.3533, allocations: 91.95 kB / 1.173 GB, free: 15.55 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.3533, allocations: 0 / 1.173 GB, free: 15.55 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001345/0.3534, allocations: 43.97 kB / 1.173 GB, free: 15.51 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002718/0.3537, allocations: 10.03 kB / 1.173 GB, free: 15.5 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004694/0.3542, allocations: 207.8 kB / 1.174 GB, free: 15.27 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003038/0.3545, allocations: 0.6925 MB / 1.174 GB, free: 14.55 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.867e-05/0.3545, allocations: 7.859 kB / 1.174 GB, free: 14.54 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.048e-05/0.3546, allocations: 15.44 kB / 1.174 GB, free: 14.53 MB / 0.9356 GB Notification: Performance of SimCode: time 2.21e-07/0.3546, allocations: 0 / 1.174 GB, free: 14.53 MB / 0.9356 GB Notification: Performance of Templates: time 0.004628/0.3592, allocations: 1.733 MB / 1.176 GB, free: 12.8 MB / 0.9356 GB make -j1 -f Buildings_10_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.makefile (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 & ./Buildings_10_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTOut.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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,occ.startTime,occ.startValue,occ.y,time,win.AClose,win.AOpen,win.BClose,win.BOpen,win.TOut,win.occ,win.on,win.pOpen,win.samplePeriod,win.seed,win.t0