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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.001318/0.001318, allocations: 114.5 kB / 16.42 MB, free: 6.496 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.001357/0.001357, allocations: 188.3 kB / 17.35 MB, free: 5.758 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.363/1.363, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.652/2.652, allocations: 472.7 MB / 0.746 GB, free: 412 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001393/0.001393, allocations: 63.89 kB / 1.07 GB, free: 9.543 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6931/0.6945, allocations: 159.9 MB / 1.226 GB, free: 13.49 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn): time 0.002617/0.6972, allocations: 1.52 MB / 1.228 GB, free: 11.96 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.001334/0.6985, allocations: 0.749 MB / 1.229 GB, free: 11.21 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.521e-05/0.6986, allocations: 0 / 1.229 GB, free: 11.21 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 3.22e-05/0.6987, allocations: 7.938 kB / 1.229 GB, free: 11.2 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 6.019e-05/0.6987, allocations: 15.86 kB / 1.229 GB, free: 11.19 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006088/0.6993, allocations: 135.6 kB / 1.229 GB, free: 11.05 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0001472/0.6995, allocations: 107.7 kB / 1.229 GB, free: 10.95 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 8.599e-05/0.6996, allocations: 8 kB / 1.229 GB, free: 10.94 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001117/0.6997, allocations: 47.89 kB / 1.229 GB, free: 10.89 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 8.618e-05/0.6998, allocations: 55.81 kB / 1.229 GB, free: 10.84 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 2.39e-05/0.6998, allocations: 11.94 kB / 1.229 GB, free: 10.83 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002075/0.7001, allocations: 95.91 kB / 1.229 GB, free: 10.73 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 3.931e-05/0.7001, allocations: 27.91 kB / 1.229 GB, free: 10.71 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 6.818e-05/0.7002, allocations: 43.78 kB / 1.229 GB, free: 10.66 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0002804/0.7005, allocations: 170.9 kB / 1.229 GB, free: 10.5 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.7005, allocations: 0 / 1.229 GB, free: 10.5 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.122e-06/0.7005, allocations: 0 / 1.229 GB, free: 10.5 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 5.371e-06/0.7005, allocations: 0 / 1.229 GB, free: 10.5 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.0006618/0.7012, allocations: 459.5 kB / 1.23 GB, free: 9.996 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.252e-05/0.7012, allocations: 8.031 kB / 1.23 GB, free: 9.988 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.069e-05/0.7013, allocations: 8.891 kB / 1.23 GB, free: 9.98 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001218/0.7014, allocations: 184.2 kB / 1.23 GB, free: 9.762 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.464e-05/0.7014, allocations: 4.375 kB / 1.23 GB, free: 9.758 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.024e-05/0.7015, allocations: 4.375 kB / 1.23 GB, free: 9.754 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002508/0.7017, allocations: 101.8 kB / 1.23 GB, free: 9.648 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.805e-06/0.7017, allocations: 0 / 1.23 GB, free: 9.648 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.371e-05/0.7017, allocations: 4 kB / 1.23 GB, free: 9.645 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.531e-06/0.7018, allocations: 0 / 1.23 GB, free: 9.645 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001829/0.7019, allocations: 55.89 kB / 1.23 GB, free: 9.59 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000746/0.7027, allocations: 336.7 kB / 1.23 GB, free: 9.211 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001745/0.7029, allocations: 74.56 kB / 1.23 GB, free: 9.129 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00015/0.703, allocations: 40.84 kB / 1.23 GB, free: 9.086 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.441e-05/0.7031, allocations: 8.141 kB / 1.23 GB, free: 9.078 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002532/0.7033, allocations: 91.34 kB / 1.231 GB, free: 8.977 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=8): time 1.794e-06/0.7033, allocations: 4 kB / 1.231 GB, free: 8.973 MB / 0.9512 GB Notification: Performance of matching and sorting (n=8): time 0.0005661/0.7039, allocations: 185.5 kB / 1.231 GB, free: 8.785 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.571e-05/0.704, allocations: 55.41 kB / 1.231 GB, free: 8.719 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001104/0.7041, allocations: 136.8 kB / 1.231 GB, free: 8.578 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.269e-05/0.7041, allocations: 33.7 kB / 1.231 GB, free: 8.539 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 4.997e-05/0.7042, allocations: 88.08 kB / 1.231 GB, free: 8.449 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.268e-05/0.7042, allocations: 23.89 kB / 1.231 GB, free: 8.426 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.363e-05/0.7043, allocations: 33.7 kB / 1.231 GB, free: 8.387 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001129/0.7044, allocations: 322.8 kB / 1.231 GB, free: 8.062 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.056e-05/0.7045, allocations: 27.98 kB / 1.231 GB, free: 8.035 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001013/0.7046, allocations: 64.27 kB / 1.231 GB, free: 7.957 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001804/0.7048, allocations: 96.2 kB / 1.232 GB, free: 7.848 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.7048, allocations: 0 / 1.232 GB, free: 7.848 MB / 0.9512 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000259/0.705, allocations: 129.5 kB / 1.232 GB, free: 7.715 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.725e-05/0.7051, allocations: 16.08 kB / 1.232 GB, free: 7.699 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.7051, allocations: 0 / 1.232 GB, free: 7.699 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.209e-05/0.7051, allocations: 0 / 1.232 GB, free: 7.699 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001133/0.7052, allocations: 19.92 kB / 1.232 GB, free: 7.68 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.939e-06/0.7052, allocations: 4 kB / 1.232 GB, free: 7.676 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.728e-05/0.7053, allocations: 15.89 kB / 1.232 GB, free: 7.66 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.356e-05/0.7053, allocations: 4 kB / 1.232 GB, free: 7.656 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 9.593e-05/0.7054, allocations: 118.3 kB / 1.232 GB, free: 7.531 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.38e-05/0.7055, allocations: 15.94 kB / 1.232 GB, free: 7.516 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.841e-05/0.7055, allocations: 12.38 kB / 1.232 GB, free: 7.5 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.7055, allocations: 0 / 1.232 GB, free: 7.5 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.7055, allocations: 0 / 1.232 GB, free: 7.5 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 4.716e-05/0.7056, allocations: 81.06 kB / 1.232 GB, free: 7.402 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.847e-05/0.7056, allocations: 8 kB / 1.232 GB, free: 7.395 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.309e-05/0.7057, allocations: 11.92 kB / 1.232 GB, free: 7.383 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.769e-05/0.7058, allocations: 3.984 kB / 1.232 GB, free: 7.379 MB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004081/0.7062, allocations: 229.1 kB / 1.232 GB, free: 7.148 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004128/0.7066, allocations: 330.7 kB / 1.233 GB, free: 6.809 MB / 0.9512 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001331/0.7067, allocations: 39.97 kB / 1.233 GB, free: 6.77 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 6.152e-05/0.7068, allocations: 103.3 kB / 1.233 GB, free: 6.668 MB / 0.9512 GB Notification: Performance of Backend: time 4.91e-07/0.7068, allocations: 0 / 1.233 GB, free: 6.668 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0006617/0.7075, allocations: 192.8 kB / 1.233 GB, free: 6.492 MB / 0.9512 GB Notification: Performance of SimCode: time 0.0004655/0.708, allocations: 0.6332 MB / 1.233 GB, free: 5.812 MB / 0.9512 GB Notification: Performance of Templates: time 0.004382/0.7123, allocations: 1.746 MB / 1.235 GB, free: 4.07 MB / 0.9512 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