Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.Yun2008WindowsTOut,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.pOpen|win.on",fileNamePrefix="Buildings_9_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_9_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.001402/0.001402, allocations: 115.3 kB / 16.42 MB, free: 6.02 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.001511/0.001511, allocations: 186.1 kB / 17.35 MB, free: 5.633 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.282/1.282, 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 9.1.3-maint.9.1.x/package.mo): time 2.151/2.151, allocations: 390.3 MB / 0.6655 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001173/0.001173, allocations: 63.91 kB / 0.9515 GB, free: 7.676 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6883/0.6894, allocations: 140.4 MB / 1.089 GB, free: 5.516 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut): time 0.002404/0.6919, allocations: 1.507 MB / 1.09 GB, free: 4.473 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001153/0.6931, allocations: 0.7491 MB / 1.091 GB, free: 3.965 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.384e-05/0.6931, allocations: 5.125 kB / 1.091 GB, free: 3.961 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.748e-05/0.6931, allocations: 5.203 kB / 1.091 GB, free: 3.957 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 5.214e-05/0.6932, allocations: 15.48 kB / 1.091 GB, free: 3.945 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004897/0.6937, allocations: 138.7 kB / 1.091 GB, free: 3.875 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001227/0.6938, allocations: 104 kB / 1.091 GB, free: 3.828 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 7.702e-05/0.6939, allocations: 8.016 kB / 1.091 GB, free: 3.828 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 8.598e-05/0.694, allocations: 51.34 kB / 1.091 GB, free: 3.805 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 7.967e-05/0.6941, allocations: 53.95 kB / 1.091 GB, free: 3.781 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.243e-05/0.6941, allocations: 8.719 kB / 1.091 GB, free: 3.781 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001858/0.6943, allocations: 98.31 kB / 1.091 GB, free: 3.754 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.987e-05/0.6944, allocations: 33.91 kB / 1.091 GB, free: 3.73 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.845e-05/0.6944, allocations: 35.03 kB / 1.091 GB, free: 3.711 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002426/0.6947, allocations: 165.2 kB / 1.092 GB, free: 3.656 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.606e-06/0.6947, allocations: 4.734 kB / 1.092 GB, free: 3.652 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.493e-06/0.6947, allocations: 0.75 kB / 1.092 GB, free: 3.652 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.606e-06/0.6947, allocations: 0 / 1.092 GB, free: 3.652 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.0005264/0.6952, allocations: 462.9 kB / 1.092 GB, free: 3.195 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.658e-05/0.6953, allocations: 8.906 kB / 1.092 GB, free: 3.195 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.724e-05/0.6953, allocations: 9.281 kB / 1.092 GB, free: 3.191 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.163e-05/0.6954, allocations: 178.4 kB / 1.092 GB, free: 2.984 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.674e-05/0.6954, allocations: 8.562 kB / 1.092 GB, free: 2.98 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.972e-05/0.6955, allocations: 4.438 kB / 1.092 GB, free: 2.98 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002363/0.6957, allocations: 97.08 kB / 1.092 GB, free: 2.922 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.985e-06/0.6957, allocations: 0 / 1.092 GB, free: 2.922 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.421e-05/0.6957, allocations: 1.438 kB / 1.092 GB, free: 2.922 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.589e-06/0.6957, allocations: 1.594 kB / 1.092 GB, free: 2.922 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001767/0.6959, allocations: 46.14 kB / 1.092 GB, free: 2.91 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006958/0.6966, allocations: 344.9 kB / 1.093 GB, free: 2.605 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001526/0.6968, allocations: 55.75 kB / 1.093 GB, free: 2.57 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001179/0.6969, allocations: 43.39 kB / 1.093 GB, free: 2.551 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.294e-05/0.6969, allocations: 1.406 kB / 1.093 GB, free: 2.551 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002044/0.6972, allocations: 100.4 kB / 1.093 GB, free: 2.48 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=8): time 1.513e-06/0.6972, allocations: 0 / 1.093 GB, free: 2.48 MB / 0.8575 GB Notification: Performance of matching and sorting (n=8): time 0.0005309/0.6977, allocations: 182 kB / 1.093 GB, free: 2.402 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.353e-05/0.6977, allocations: 54.88 kB / 1.093 GB, free: 2.34 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.149e-05/0.6978, allocations: 122.4 kB / 1.093 GB, free: 2.234 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.428e-05/0.6978, allocations: 30.95 kB / 1.093 GB, free: 2.199 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.388e-05/0.6979, allocations: 97.84 kB / 1.093 GB, free: 2.105 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.826e-05/0.6979, allocations: 20.34 kB / 1.093 GB, free: 2.09 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.805e-05/0.698, allocations: 30.89 kB / 1.093 GB, free: 2.066 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.765e-05/0.698, allocations: 324 kB / 1.094 GB, free: 1.746 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.913e-05/0.6981, allocations: 29.33 kB / 1.094 GB, free: 1.738 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001046/0.6982, allocations: 73.14 kB / 1.094 GB, free: 1.68 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001672/0.6984, allocations: 95.39 kB / 1.094 GB, free: 1.613 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.6984, allocations: 0.7188 kB / 1.094 GB, free: 1.613 MB / 0.8575 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002807/0.6987, allocations: 135.3 kB / 1.094 GB, free: 1.543 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.494e-05/0.6987, allocations: 9.656 kB / 1.094 GB, free: 1.539 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.72e-06/0.6987, allocations: 0.75 kB / 1.094 GB, free: 1.539 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.352e-05/0.6987, allocations: 2.594 kB / 1.094 GB, free: 1.539 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001094/0.6989, allocations: 18.48 kB / 1.094 GB, free: 1.535 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.005e-05/0.6989, allocations: 1.594 kB / 1.094 GB, free: 1.535 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.416e-05/0.6989, allocations: 6.547 kB / 1.094 GB, free: 1.535 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.618e-05/0.699, allocations: 4.219 kB / 1.094 GB, free: 1.535 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 7.442e-05/0.699, allocations: 132.8 kB / 1.094 GB, free: 1.402 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.138e-05/0.6991, allocations: 8.078 kB / 1.094 GB, free: 1.398 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.525e-05/0.6991, allocations: 11.38 kB / 1.094 GB, free: 1.387 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.6991, allocations: 1.641 kB / 1.094 GB, free: 1.387 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.183e-06/0.6991, allocations: 0 / 1.094 GB, free: 1.387 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.098e-05/0.6991, allocations: 84.16 kB / 1.094 GB, free: 1.289 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.672e-05/0.6992, allocations: 2.047 kB / 1.094 GB, free: 1.289 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.409e-05/0.6993, allocations: 13.52 kB / 1.094 GB, free: 1.281 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.733e-05/0.6993, allocations: 13.33 kB / 1.094 GB, free: 1.273 MB / 0.8575 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003578/0.6997, allocations: 217.7 kB / 1.094 GB, free: 1.137 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003395/0.7, allocations: 312.4 kB / 1.095 GB, free: 0.8984 MB / 0.8575 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001233/0.7002, allocations: 50.45 kB / 1.095 GB, free: 0.8789 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.718e-05/0.7002, allocations: 102 kB / 1.095 GB, free: 0.793 MB / 0.8575 GB Notification: Performance of Backend: time 3e-07/0.7002, allocations: 0 / 1.095 GB, free: 0.793 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0006151/0.7008, allocations: 199.7 kB / 1.095 GB, free: 0.6914 MB / 0.8575 GB Notification: Performance of SimCode: time 0.000354/0.7012, allocations: 0.6171 MB / 1.096 GB, free: 84 kB / 0.8575 GB Notification: Performance of Templates: time 0.0047/0.7059, allocations: 1.718 MB / 1.097 GB, free: 15.91 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.makefile (rm -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.sim & ./Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTOut.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_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