Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.008869/0.008869, allocations: 101 kB / 15.73 MB, free: 5.949 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.001918/0.001918, allocations: 190 kB / 16.67 MB, free: 5.871 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: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.593/2.593, allocations: 469.8 MB / 0.7425 GB, free: 3.348 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001238/0.001238, allocations: 68.08 kB / 1.065 GB, free: 13.58 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8991/0.9003, allocations: 159.1 MB / 1.221 GB, free: 2.109 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn): time 0.002575/0.9029, allocations: 1.517 MB / 1.222 GB, free: 0.5859 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.00155/0.9044, allocations: 0.7605 MB / 1.223 GB, free: 15.82 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.44e-05/0.9045, allocations: 3.938 kB / 1.223 GB, free: 15.82 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 4.334e-05/0.9045, allocations: 3.938 kB / 1.223 GB, free: 15.81 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 7.06e-05/0.9046, allocations: 19.84 kB / 1.223 GB, free: 15.79 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006142/0.9052, allocations: 131.6 kB / 1.223 GB, free: 15.66 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0001427/0.9054, allocations: 103.7 kB / 1.223 GB, free: 15.56 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001044/0.9055, allocations: 15.98 kB / 1.223 GB, free: 15.55 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 9.665e-05/0.9056, allocations: 43.91 kB / 1.223 GB, free: 15.5 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 9.11e-05/0.9056, allocations: 55.8 kB / 1.223 GB, free: 15.45 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 2.992e-05/0.9057, allocations: 12 kB / 1.223 GB, free: 15.44 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001885/0.9059, allocations: 95.84 kB / 1.223 GB, free: 15.34 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 3.393e-05/0.9059, allocations: 23.92 kB / 1.223 GB, free: 15.32 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 5.565e-05/0.906, allocations: 47.77 kB / 1.223 GB, free: 15.27 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0002477/0.9062, allocations: 160.1 kB / 1.223 GB, free: 15.12 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.9062, allocations: 0 / 1.223 GB, free: 15.12 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.663e-06/0.9062, allocations: 0 / 1.223 GB, free: 15.12 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 5.951e-06/0.9062, allocations: 7.938 kB / 1.224 GB, free: 15.12 MB / 0.9512 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.0006891/0.9069, allocations: 462.4 kB / 1.224 GB, free: 14.61 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.327e-05/0.9069, allocations: 8.625 kB / 1.224 GB, free: 14.6 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.933e-05/0.907, allocations: 8.891 kB / 1.224 GB, free: 14.59 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001219/0.9071, allocations: 184.2 kB / 1.224 GB, free: 14.37 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.559e-05/0.9071, allocations: 4.375 kB / 1.224 GB, free: 14.37 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.358e-05/0.9072, allocations: 8.375 kB / 1.224 GB, free: 14.36 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002715/0.9074, allocations: 89.94 kB / 1.224 GB, free: 14.27 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/0.9074, allocations: 3.938 kB / 1.224 GB, free: 14.26 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.643e-05/0.9075, allocations: 4 kB / 1.224 GB, free: 14.26 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.421e-06/0.9075, allocations: 4 kB / 1.224 GB, free: 14.25 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001762/0.9076, allocations: 43.95 kB / 1.224 GB, free: 14.21 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007337/0.9084, allocations: 344.7 kB / 1.225 GB, free: 13.82 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001677/0.9085, allocations: 54.53 kB / 1.225 GB, free: 13.76 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001261/0.9087, allocations: 44.83 kB / 1.225 GB, free: 13.71 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.53e-05/0.9087, allocations: 0 / 1.225 GB, free: 13.71 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002175/0.9089, allocations: 103.3 kB / 1.225 GB, free: 13.6 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=8): time 1.373e-06/0.9089, allocations: 0 / 1.225 GB, free: 13.6 MB / 0.9512 GB Notification: Performance of matching and sorting (n=8): time 0.000556/0.9095, allocations: 193.6 kB / 1.225 GB, free: 13.41 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.015e-05/0.9095, allocations: 51.41 kB / 1.225 GB, free: 13.34 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.066e-05/0.9096, allocations: 129.8 kB / 1.225 GB, free: 13.21 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.786e-05/0.9096, allocations: 29.7 kB / 1.225 GB, free: 13.17 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 5.217e-05/0.9097, allocations: 96.08 kB / 1.225 GB, free: 13.07 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 1.922e-05/0.9097, allocations: 15.91 kB / 1.225 GB, free: 13.06 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.941e-05/0.9097, allocations: 29.7 kB / 1.225 GB, free: 13.02 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001037/0.9098, allocations: 322.8 kB / 1.226 GB, free: 12.7 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.436e-05/0.9099, allocations: 31.98 kB / 1.226 GB, free: 12.67 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001056/0.91, allocations: 73.77 kB / 1.226 GB, free: 12.58 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001695/0.9102, allocations: 96.2 kB / 1.226 GB, free: 12.47 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.9102, allocations: 0 / 1.226 GB, free: 12.47 MB / 0.9512 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002491/0.9104, allocations: 133.5 kB / 1.226 GB, free: 12.34 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.492e-05/0.9105, allocations: 4 kB / 1.226 GB, free: 12.33 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.094e-06/0.9105, allocations: 3.984 kB / 1.226 GB, free: 12.33 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.604e-05/0.9105, allocations: 4 kB / 1.226 GB, free: 12.32 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001088/0.9106, allocations: 8 kB / 1.226 GB, free: 12.32 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.758e-06/0.9106, allocations: 11.92 kB / 1.226 GB, free: 12.3 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.859e-05/0.9107, allocations: 11.89 kB / 1.226 GB, free: 12.29 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.464e-05/0.9107, allocations: 4 kB / 1.226 GB, free: 12.29 MB / 0.9512 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.0001024/0.9108, allocations: 130.4 kB / 1.226 GB, free: 12.15 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.016e-05/0.9108, allocations: 3.953 kB / 1.226 GB, free: 12.15 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.006e-05/0.9108, allocations: 16.36 kB / 1.226 GB, free: 12.12 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-06/0.9108, allocations: 0 / 1.226 GB, free: 12.12 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.297e-06/0.9108, allocations: 0 / 1.226 GB, free: 12.12 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.9108, allocations: 0 / 1.226 GB, free: 12.12 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005789/0.9114, allocations: 438.4 kB / 1.227 GB, free: 11.64 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.125e-06/0.9114, allocations: 3.984 kB / 1.227 GB, free: 11.64 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.967e-05/0.9115, allocations: 4 kB / 1.227 GB, free: 11.63 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.9115, allocations: 0 / 1.227 GB, free: 11.63 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.458e-05/0.9115, allocations: 3.984 kB / 1.227 GB, free: 11.63 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.9115, allocations: 4.328 kB / 1.227 GB, free: 11.62 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.9115, allocations: 3.938 kB / 1.227 GB, free: 11.62 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003851/0.9119, allocations: 251.4 kB / 1.227 GB, free: 11.36 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 3.814e-05/0.9119, allocations: 85.06 kB / 1.227 GB, free: 11.26 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.542e-05/0.9119, allocations: 0 / 1.227 GB, free: 11.26 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001196/0.9121, allocations: 7.984 kB / 1.227 GB, free: 11.25 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.91e-05/0.9121, allocations: 19.91 kB / 1.227 GB, free: 11.23 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.175e-05/0.9121, allocations: 4 kB / 1.227 GB, free: 11.23 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 4.941e-05/0.9122, allocations: 91.27 kB / 1.227 GB, free: 11.14 MB / 0.9512 GB Notification: Performance of sort global known variables: time 9e-08/0.9122, allocations: 3.938 kB / 1.227 GB, free: 11.13 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002959/0.9125, allocations: 51.86 kB / 1.227 GB, free: 11.08 MB / 0.9512 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.0003242/0.9128, allocations: 167 kB / 1.227 GB, free: 10.93 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0002912/0.9131, allocations: 87.88 kB / 1.227 GB, free: 10.84 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.9131, allocations: 4.188 kB / 1.227 GB, free: 10.84 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0001398/0.9132, allocations: 43.91 kB / 1.227 GB, free: 10.8 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002616/0.9135, allocations: 11.98 kB / 1.227 GB, free: 10.79 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004343/0.9139, allocations: 199.9 kB / 1.228 GB, free: 10.57 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002243/0.9141, allocations: 0.6963 MB / 1.228 GB, free: 9.844 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 3.558e-05/0.9142, allocations: 4 kB / 1.228 GB, free: 9.84 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.876e-05/0.9142, allocations: 15.42 kB / 1.228 GB, free: 9.824 MB / 0.9512 GB Notification: Performance of SimCode: time 3e-07/0.9142, allocations: 0 / 1.228 GB, free: 9.824 MB / 0.9512 GB Notification: Performance of Templates: time 0.004346/0.9186, allocations: 1.754 MB / 1.23 GB, free: 8.074 MB / 0.9512 GB make -j1 -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.makefile (rm -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.sim & ./Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTIn.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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