Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.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.Haldi2008WindowsTOut,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut") translateModel(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001574/0.001574, allocations: 116.2 kB / 16.42 MB, free: 6.504 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.001825/0.001825, allocations: 186.6 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.276/1.276, allocations: 222.9 MB / 241 MB, free: 15.17 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.166/2.166, allocations: 390.3 MB / 0.6655 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001274/0.001274, allocations: 67.89 kB / 0.9515 GB, free: 7.684 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6894/0.6907, allocations: 140.4 MB / 1.089 GB, free: 5.543 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut): time 0.002226/0.693, allocations: 1.506 MB / 1.09 GB, free: 4.5 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001029/0.694, allocations: 0.7243 MB / 1.091 GB, free: 4.008 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.721e-05/0.694, allocations: 0.6562 kB / 1.091 GB, free: 4.008 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.992e-05/0.6941, allocations: 4.688 kB / 1.091 GB, free: 4.004 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 4.376e-05/0.6941, allocations: 14.41 kB / 1.091 GB, free: 3.992 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004793/0.6946, allocations: 126.2 kB / 1.091 GB, free: 3.93 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001056/0.6947, allocations: 76.83 kB / 1.091 GB, free: 3.895 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 8.391e-05/0.6948, allocations: 11.53 kB / 1.091 GB, free: 3.891 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 7.762e-05/0.6949, allocations: 34.62 kB / 1.091 GB, free: 3.875 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 6.638e-05/0.695, allocations: 37.95 kB / 1.091 GB, free: 3.859 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.936e-05/0.695, allocations: 9.75 kB / 1.091 GB, free: 3.855 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001837/0.6952, allocations: 94.45 kB / 1.091 GB, free: 3.828 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.661e-05/0.6952, allocations: 19.7 kB / 1.091 GB, free: 3.816 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.257e-05/0.6953, allocations: 27.53 kB / 1.091 GB, free: 3.801 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002232/0.6955, allocations: 141.1 kB / 1.091 GB, free: 3.754 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.6955, allocations: 0.75 kB / 1.091 GB, free: 3.754 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.102e-06/0.6955, allocations: 0 / 1.091 GB, free: 3.754 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.128e-06/0.6955, allocations: 0.9375 kB / 1.091 GB, free: 3.754 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.000497/0.696, allocations: 432.3 kB / 1.092 GB, free: 3.324 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.523e-05/0.6961, allocations: 9.281 kB / 1.092 GB, free: 3.324 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.144e-05/0.6961, allocations: 8.672 kB / 1.092 GB, free: 3.32 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.159e-05/0.6962, allocations: 173.3 kB / 1.092 GB, free: 3.117 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.323e-05/0.6963, allocations: 2.75 kB / 1.092 GB, free: 3.117 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.76e-05/0.6963, allocations: 9.016 kB / 1.092 GB, free: 3.113 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001707/0.6964, allocations: 72.61 kB / 1.092 GB, free: 3.066 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.074e-06/0.6965, allocations: 0 / 1.092 GB, free: 3.066 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.19e-05/0.6965, allocations: 1.562 kB / 1.092 GB, free: 3.066 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.6965, allocations: 0.7812 kB / 1.092 GB, free: 3.066 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001303/0.6966, allocations: 39.78 kB / 1.092 GB, free: 3.055 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005177/0.6972, allocations: 314.5 kB / 1.092 GB, free: 2.762 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001128/0.6973, allocations: 46.64 kB / 1.092 GB, free: 2.73 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.045e-05/0.6974, allocations: 39.08 kB / 1.092 GB, free: 2.707 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.622e-05/0.6974, allocations: 6.422 kB / 1.092 GB, free: 2.703 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001549/0.6975, allocations: 80.19 kB / 1.093 GB, free: 2.641 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=7): time 1.573e-06/0.6976, allocations: 0 / 1.093 GB, free: 2.641 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7): time 0.0003768/0.6979, allocations: 133.5 kB / 1.093 GB, free: 2.582 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.004e-05/0.698, allocations: 61.84 kB / 1.093 GB, free: 2.512 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.59e-05/0.6981, allocations: 120.2 kB / 1.093 GB, free: 2.406 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.142e-05/0.6981, allocations: 30.27 kB / 1.093 GB, free: 2.371 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.099e-05/0.6981, allocations: 96.27 kB / 1.093 GB, free: 2.277 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.741e-05/0.6981, allocations: 12.17 kB / 1.093 GB, free: 2.27 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.585e-05/0.6982, allocations: 29.42 kB / 1.093 GB, free: 2.246 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.1e-05/0.6982, allocations: 323.1 kB / 1.093 GB, free: 1.926 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.283e-05/0.6983, allocations: 31.59 kB / 1.093 GB, free: 1.914 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.716e-05/0.6984, allocations: 50.48 kB / 1.093 GB, free: 1.879 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001492/0.6986, allocations: 76.39 kB / 1.093 GB, free: 1.832 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.6986, allocations: 0 / 1.093 GB, free: 1.832 MB / 0.8575 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002251/0.6988, allocations: 113.4 kB / 1.094 GB, free: 1.773 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.406e-05/0.6988, allocations: 8.203 kB / 1.094 GB, free: 1.773 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.6988, allocations: 1.078 kB / 1.094 GB, free: 1.773 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.27e-05/0.6988, allocations: 0.9375 kB / 1.094 GB, free: 1.773 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.024e-05/0.6989, allocations: 11.89 kB / 1.094 GB, free: 1.773 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.163e-05/0.699, allocations: 5.688 kB / 1.094 GB, free: 1.77 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.732e-05/0.699, allocations: 16.39 kB / 1.094 GB, free: 1.758 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.43e-05/0.6991, allocations: 3.672 kB / 1.094 GB, free: 1.758 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 9 (win.occ,win.curSeed,$PRE.win.curSeed,win.p,$PRE.win.p,win.on,$PRE.win.on,win.sampleTrigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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 6.436e-05/0.6991, allocations: 124.9 kB / 1.094 GB, free: 1.633 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.706e-05/0.6991, allocations: 15.64 kB / 1.094 GB, free: 1.621 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.402e-05/0.6992, allocations: 10.58 kB / 1.094 GB, free: 1.609 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.6992, allocations: 0.9688 kB / 1.094 GB, free: 1.609 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.6992, allocations: 0.6094 kB / 1.094 GB, free: 1.609 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.823e-05/0.6992, allocations: 79.88 kB / 1.094 GB, free: 1.516 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.984e-05/0.6992, allocations: 1.422 kB / 1.094 GB, free: 1.516 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.355e-05/0.6993, allocations: 8.156 kB / 1.094 GB, free: 1.512 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.97e-05/0.6993, allocations: 9.422 kB / 1.094 GB, free: 1.508 MB / 0.8575 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000272/0.6996, allocations: 191.9 kB / 1.094 GB, free: 1.375 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002608/0.6999, allocations: 282.6 kB / 1.094 GB, free: 1.145 MB / 0.8575 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 9.206e-05/0.7, allocations: 30.42 kB / 1.094 GB, free: 1.137 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.528e-05/0.7, allocations: 92.05 kB / 1.094 GB, free: 1.059 MB / 0.8575 GB Notification: Performance of Backend: time 9.12e-07/0.7, allocations: 4 kB / 1.094 GB, free: 1.055 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0006157/0.7007, allocations: 186.6 kB / 1.095 GB, free: 0.957 MB / 0.8575 GB Notification: Performance of SimCode: time 0.0003138/0.701, allocations: 0.6253 MB / 1.095 GB, free: 344 kB / 0.8575 GB Notification: Performance of Templates: time 0.004225/0.7052, allocations: 1.495 MB / 1.097 GB, free: 188 kB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.makefile (rm -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.sim & ./Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTOut.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,win.TOut,win.occ,win.p,win.on Variables in the result:TOut.amplitude,TOut.f,TOut.offset,TOut.phase,TOut.startTime,occ.startTime,occ.startValue,time,win.A,win.B,win.TOut,win.occ,win.on,win.p,win.samplePeriod,win.seed,win.t0