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.001302/0.001302, allocations: 116.9 kB / 16.42 MB, free: 6.441 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.001264/0.001264, allocations: 189.6 kB / 17.35 MB, free: 5.738 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.326/1.326, allocations: 222.9 MB / 241 MB, free: 15.18 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.192/2.192, allocations: 390.3 MB / 0.6655 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001276/0.001276, allocations: 59.91 kB / 0.9515 GB, free: 7.66 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7021/0.7034, allocations: 140.4 MB / 1.089 GB, free: 5.508 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn): time 0.003495/0.7069, allocations: 1.523 MB / 1.09 GB, free: 4.453 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001896/0.7088, allocations: 0.7532 MB / 1.091 GB, free: 3.941 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.25e-05/0.7089, allocations: 0.75 kB / 1.091 GB, free: 3.941 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.671e-05/0.709, allocations: 9.391 kB / 1.091 GB, free: 3.934 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 7.526e-05/0.7091, allocations: 10.86 kB / 1.091 GB, free: 3.926 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007851/0.7099, allocations: 136.5 kB / 1.091 GB, free: 3.859 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001795/0.7101, allocations: 105.8 kB / 1.091 GB, free: 3.812 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001026/0.7102, allocations: 11.45 kB / 1.091 GB, free: 3.809 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001229/0.7103, allocations: 55.05 kB / 1.091 GB, free: 3.781 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001238/0.7104, allocations: 50.08 kB / 1.091 GB, free: 3.762 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.432e-05/0.7105, allocations: 9.844 kB / 1.091 GB, free: 3.762 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002929/0.7108, allocations: 96.56 kB / 1.091 GB, free: 3.734 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 4.293e-05/0.7109, allocations: 27.72 kB / 1.091 GB, free: 3.719 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 6.896e-05/0.7109, allocations: 37.92 kB / 1.091 GB, free: 3.695 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003534/0.7113, allocations: 174.7 kB / 1.092 GB, free: 3.633 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.159e-06/0.7113, allocations: 1.156 kB / 1.092 GB, free: 3.633 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.503e-06/0.7113, allocations: 0 / 1.092 GB, free: 3.633 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.18e-06/0.7114, allocations: 0 / 1.092 GB, free: 3.633 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.0007398/0.7121, allocations: 459.3 kB / 1.092 GB, free: 3.18 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.311e-05/0.7122, allocations: 8.719 kB / 1.092 GB, free: 3.18 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.53e-05/0.7122, allocations: 9.828 kB / 1.092 GB, free: 3.176 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.127e-05/0.7124, allocations: 174 kB / 1.092 GB, free: 2.973 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.555e-05/0.7124, allocations: 8.297 kB / 1.092 GB, free: 2.969 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.55e-05/0.7125, allocations: 4.562 kB / 1.092 GB, free: 2.969 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003797/0.7128, allocations: 95.28 kB / 1.092 GB, free: 2.914 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.141e-05/0.7129, allocations: 4 kB / 1.092 GB, free: 2.91 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.203e-05/0.7129, allocations: 1.609 kB / 1.092 GB, free: 2.91 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.7129, allocations: 1.875 kB / 1.092 GB, free: 2.91 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003348/0.7133, allocations: 46.66 kB / 1.092 GB, free: 2.898 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001052/0.7143, allocations: 343.1 kB / 1.093 GB, free: 2.598 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003143/0.7147, allocations: 66.16 kB / 1.093 GB, free: 2.555 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002565/0.715, allocations: 48.75 kB / 1.093 GB, free: 2.531 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.756e-05/0.715, allocations: 1.094 kB / 1.093 GB, free: 2.531 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003693/0.7154, allocations: 101.8 kB / 1.093 GB, free: 2.461 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=8): time 3.116e-06/0.7154, allocations: 0.8438 kB / 1.093 GB, free: 2.461 MB / 0.8575 GB Notification: Performance of matching and sorting (n=8): time 0.0009935/0.7164, allocations: 186.9 kB / 1.093 GB, free: 2.383 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.437e-05/0.7164, allocations: 54.3 kB / 1.093 GB, free: 2.32 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000117/0.7166, allocations: 127.4 kB / 1.093 GB, free: 2.211 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.176e-05/0.7166, allocations: 27.83 kB / 1.093 GB, free: 2.18 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.681e-05/0.7167, allocations: 100.5 kB / 1.093 GB, free: 2.082 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.058e-05/0.7167, allocations: 24.12 kB / 1.093 GB, free: 2.062 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.846e-05/0.7168, allocations: 31.52 kB / 1.093 GB, free: 2.039 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.061e-05/0.7169, allocations: 328 kB / 1.094 GB, free: 1.715 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001565/0.717, allocations: 28.88 kB / 1.094 GB, free: 1.707 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001769/0.7172, allocations: 62.19 kB / 1.094 GB, free: 1.66 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003238/0.7176, allocations: 95.78 kB / 1.094 GB, free: 1.594 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/0.7176, allocations: 0 / 1.094 GB, free: 1.594 MB / 0.8575 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004839/0.7181, allocations: 138.4 kB / 1.094 GB, free: 1.52 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.999e-05/0.7181, allocations: 6.672 kB / 1.094 GB, free: 1.52 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.383e-06/0.7181, allocations: 1.781 kB / 1.094 GB, free: 1.52 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.807e-05/0.7182, allocations: 1.125 kB / 1.094 GB, free: 1.52 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00018/0.7184, allocations: 18.16 kB / 1.094 GB, free: 1.516 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.047e-05/0.7184, allocations: 2.156 kB / 1.094 GB, free: 1.516 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000146/0.7185, allocations: 10.8 kB / 1.094 GB, free: 1.512 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.177e-05/0.7186, allocations: 4.359 kB / 1.094 GB, free: 1.512 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.0001059/0.7187, allocations: 131.3 kB / 1.094 GB, free: 1.383 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.658e-05/0.7188, allocations: 7.984 kB / 1.094 GB, free: 1.379 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.643e-05/0.7188, allocations: 14.69 kB / 1.094 GB, free: 1.363 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.721e-06/0.7188, allocations: 1.75 kB / 1.094 GB, free: 1.363 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/0.7188, allocations: 0 / 1.094 GB, free: 1.363 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.849e-05/0.7189, allocations: 83.75 kB / 1.094 GB, free: 1.266 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.032e-05/0.7189, allocations: 2.672 kB / 1.094 GB, free: 1.266 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001511/0.7191, allocations: 15.27 kB / 1.094 GB, free: 1.258 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.61e-05/0.7192, allocations: 8.688 kB / 1.094 GB, free: 1.254 MB / 0.8575 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000692/0.7199, allocations: 221.2 kB / 1.094 GB, free: 1.117 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006884/0.7206, allocations: 320 kB / 1.095 GB, free: 0.875 MB / 0.8575 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002628/0.7209, allocations: 46.92 kB / 1.095 GB, free: 0.8594 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 6.538e-05/0.7209, allocations: 98.05 kB / 1.095 GB, free: 0.7773 MB / 0.8575 GB Notification: Performance of Backend: time 5.51e-07/0.721, allocations: 0 / 1.095 GB, free: 0.7773 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.001054/0.722, allocations: 188.2 kB / 1.095 GB, free: 0.6836 MB / 0.8575 GB Notification: Performance of SimCode: time 0.0005011/0.7225, allocations: 0.6209 MB / 1.096 GB, free: 72 kB / 0.8575 GB Notification: Performance of Templates: time 0.00849/0.731, allocations: 1.744 MB / 1.097 GB, free: 15.9 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/jenkins1/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