Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.001192/0.001192, allocations: 109 kB / 16.42 MB, free: 6.422 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.001268/0.001268, allocations: 186.6 kB / 17.35 MB, free: 5.691 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.834/1.834, allocations: 222.9 MB / 241 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 5.21/5.21, allocations: 461.9 MB / 0.7355 GB, free: 11.01 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002365/0.002365, allocations: 60.12 kB / 1.055 GB, free: 7.707 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.544/1.547, allocations: 157.4 MB / 1.208 GB, free: 13.77 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn): time 0.004371/1.551, allocations: 1.511 MB / 1.21 GB, free: 12.25 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.002555/1.554, allocations: 0.7518 MB / 1.211 GB, free: 11.49 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.112e-05/1.554, allocations: 3.938 kB / 1.211 GB, free: 11.49 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 6.423e-05/1.554, allocations: 11.86 kB / 1.211 GB, free: 11.48 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 9.625e-05/1.554, allocations: 11.88 kB / 1.211 GB, free: 11.46 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001003/1.555, allocations: 139.6 kB / 1.211 GB, free: 11.33 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.000268/1.555, allocations: 103.7 kB / 1.211 GB, free: 11.23 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001716/1.556, allocations: 12 kB / 1.211 GB, free: 11.21 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001686/1.556, allocations: 43.89 kB / 1.211 GB, free: 11.17 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001392/1.556, allocations: 59.8 kB / 1.211 GB, free: 11.11 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 3.732e-05/1.556, allocations: 8 kB / 1.211 GB, free: 11.11 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003243/1.556, allocations: 95.84 kB / 1.211 GB, free: 11.01 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 6.64e-05/1.556, allocations: 27.91 kB / 1.211 GB, free: 10.98 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 9.718e-05/1.556, allocations: 51.78 kB / 1.211 GB, free: 10.93 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0004528/1.557, allocations: 167.4 kB / 1.211 GB, free: 10.77 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 7.093e-06/1.557, allocations: 0 / 1.211 GB, free: 10.77 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.615e-06/1.557, allocations: 0 / 1.211 GB, free: 10.77 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 8.166e-06/1.557, allocations: 0 / 1.211 GB, free: 10.77 MB / 0.9356 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.001028/1.558, allocations: 452.6 kB / 1.212 GB, free: 10.27 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 6.098e-05/1.558, allocations: 8.031 kB / 1.212 GB, free: 10.27 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.505e-05/1.558, allocations: 12.83 kB / 1.212 GB, free: 10.25 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002035/1.558, allocations: 176.2 kB / 1.212 GB, free: 10.04 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.797e-05/1.558, allocations: 8.359 kB / 1.212 GB, free: 10.04 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.373e-05/1.558, allocations: 8.375 kB / 1.212 GB, free: 10.03 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004039/1.559, allocations: 93.88 kB / 1.212 GB, free: 9.93 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.314e-05/1.559, allocations: 0 / 1.212 GB, free: 9.93 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.23e-05/1.559, allocations: 0 / 1.212 GB, free: 9.93 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.684e-06/1.559, allocations: 0 / 1.212 GB, free: 9.93 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003299/1.559, allocations: 51.95 kB / 1.212 GB, free: 9.879 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00122/1.561, allocations: 344.7 kB / 1.212 GB, free: 9.492 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002975/1.561, allocations: 62.58 kB / 1.212 GB, free: 9.422 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002335/1.561, allocations: 52.77 kB / 1.213 GB, free: 9.367 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.993e-05/1.561, allocations: 4 kB / 1.213 GB, free: 9.363 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00038/1.562, allocations: 91.36 kB / 1.213 GB, free: 9.262 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=8): time 2.886e-06/1.562, allocations: 0 / 1.213 GB, free: 9.262 MB / 0.9356 GB Notification: Performance of matching and sorting (n=8): time 0.000983/1.563, allocations: 193.6 kB / 1.213 GB, free: 9.066 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.718e-05/1.563, allocations: 55.41 kB / 1.213 GB, free: 9 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002019/1.563, allocations: 125.1 kB / 1.213 GB, free: 8.871 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.664e-05/1.563, allocations: 33.7 kB / 1.213 GB, free: 8.832 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001052/1.563, allocations: 91.98 kB / 1.213 GB, free: 8.738 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 4.31e-05/1.563, allocations: 23.73 kB / 1.213 GB, free: 8.715 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001018/1.563, allocations: 33.7 kB / 1.213 GB, free: 8.676 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0002178/1.563, allocations: 318.8 kB / 1.213 GB, free: 8.355 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001571/1.564, allocations: 39.97 kB / 1.214 GB, free: 8.316 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001894/1.564, allocations: 60.28 kB / 1.214 GB, free: 8.242 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003382/1.564, allocations: 100.2 kB / 1.214 GB, free: 8.129 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/1.564, allocations: 0 / 1.214 GB, free: 8.129 MB / 0.9356 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004614/1.565, allocations: 133.4 kB / 1.214 GB, free: 7.992 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 3.172e-05/1.565, allocations: 9.406 kB / 1.214 GB, free: 7.984 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.146e-06/1.565, allocations: 0 / 1.214 GB, free: 7.984 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.319e-05/1.565, allocations: 0 / 1.214 GB, free: 7.984 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001994/1.565, allocations: 15.98 kB / 1.214 GB, free: 7.969 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.297e-05/1.565, allocations: 8.031 kB / 1.214 GB, free: 7.961 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001246/1.565, allocations: 8 kB / 1.214 GB, free: 7.953 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.219e-05/1.565, allocations: 4 kB / 1.214 GB, free: 7.949 MB / 0.9356 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.0001647/1.565, allocations: 125.8 kB / 1.214 GB, free: 7.816 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.672e-05/1.565, allocations: 7.906 kB / 1.214 GB, free: 7.809 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.786e-05/1.565, allocations: 12.38 kB / 1.214 GB, free: 7.793 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/1.565, allocations: 0 / 1.214 GB, free: 7.793 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/1.565, allocations: 0 / 1.214 GB, free: 7.793 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 6.884e-05/1.566, allocations: 88.95 kB / 1.214 GB, free: 7.688 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.987e-05/1.566, allocations: 7.984 kB / 1.214 GB, free: 7.68 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001404/1.566, allocations: 7.938 kB / 1.214 GB, free: 7.672 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.847e-05/1.566, allocations: 3.984 kB / 1.214 GB, free: 7.668 MB / 0.9356 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006842/1.567, allocations: 228.8 kB / 1.214 GB, free: 7.438 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0007067/1.567, allocations: 323 kB / 1.215 GB, free: 7.105 MB / 0.9356 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002652/1.568, allocations: 48 kB / 1.215 GB, free: 7.059 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001097/1.568, allocations: 99.2 kB / 1.215 GB, free: 6.961 MB / 0.9356 GB Notification: Performance of Backend: time 7.92e-07/1.568, allocations: 0 / 1.215 GB, free: 6.961 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001273/1.569, allocations: 198.7 kB / 1.215 GB, free: 6.777 MB / 0.9356 GB Notification: Performance of SimCode: time 0.0009015/1.57, allocations: 0.6255 MB / 1.216 GB, free: 6.102 MB / 0.9356 GB Notification: Performance of Templates: time 0.007756/1.578, allocations: 1.777 MB / 1.217 GB, free: 4.328 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.makefile (rm -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.sim & ./Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTIn.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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