Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.Haldi2008WindowsTOut,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_latest_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_latest_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.001511/0.001511, allocations: 109.1 kB / 16.41 MB, free: 6.469 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.001684/0.001684, allocations: 187.9 kB / 17.35 MB, free: 5.715 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.329/1.329, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.591/2.591, allocations: 469.4 MB / 0.7428 GB, free: 3.574 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001378/0.001378, allocations: 72.33 kB / 1.065 GB, free: 13.82 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6834/0.6848, allocations: 159.1 MB / 1.221 GB, free: 2.41 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut): time 0.002837/0.6877, allocations: 1.502 MB / 1.222 GB, free: 0.8984 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001314/0.689, allocations: 0.7176 MB / 1.223 GB, free: 180 kB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.623e-05/0.6891, allocations: 4 kB / 1.223 GB, free: 176 kB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.121e-05/0.6891, allocations: 3.938 kB / 1.223 GB, free: 172 kB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 6.512e-05/0.6892, allocations: 19.84 kB / 1.223 GB, free: 152 kB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005786/0.6898, allocations: 123.6 kB / 1.223 GB, free: 28 kB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001418/0.6899, allocations: 75.8 kB / 1.223 GB, free: 15.95 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001155/0.6901, allocations: 15.94 kB / 1.223 GB, free: 15.93 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 9.553e-05/0.6902, allocations: 35.92 kB / 1.223 GB, free: 15.9 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 7.658e-05/0.6903, allocations: 43.75 kB / 1.223 GB, free: 15.86 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.994e-05/0.6903, allocations: 4 kB / 1.223 GB, free: 15.86 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002226/0.6905, allocations: 95.84 kB / 1.223 GB, free: 15.76 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 3.367e-05/0.6906, allocations: 19.97 kB / 1.223 GB, free: 15.74 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 6.022e-05/0.6906, allocations: 39.78 kB / 1.224 GB, free: 15.7 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0002553/0.6909, allocations: 139.3 kB / 1.224 GB, free: 15.57 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.6909, allocations: 0 / 1.224 GB, free: 15.57 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.353e-06/0.6909, allocations: 0 / 1.224 GB, free: 15.57 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 5.62e-06/0.6909, allocations: 0 / 1.224 GB, free: 15.57 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006817/0.6916, allocations: 421.5 kB / 1.224 GB, free: 15.11 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.485e-05/0.6917, allocations: 8.031 kB / 1.224 GB, free: 15.1 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.958e-05/0.6917, allocations: 8.844 kB / 1.224 GB, free: 15.09 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000132/0.6918, allocations: 176.2 kB / 1.224 GB, free: 14.88 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.973e-05/0.6919, allocations: 4.375 kB / 1.224 GB, free: 14.88 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.313e-05/0.6919, allocations: 8.375 kB / 1.224 GB, free: 14.87 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001948/0.6921, allocations: 69.95 kB / 1.224 GB, free: 14.8 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.484e-06/0.6921, allocations: 0 / 1.224 GB, free: 14.8 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.41e-05/0.6922, allocations: 7.938 kB / 1.224 GB, free: 14.79 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.459e-06/0.6922, allocations: 4 kB / 1.224 GB, free: 14.79 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001395/0.6923, allocations: 35.97 kB / 1.224 GB, free: 14.75 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000634/0.6929, allocations: 320.6 kB / 1.225 GB, free: 14.39 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001242/0.6931, allocations: 62.42 kB / 1.225 GB, free: 14.32 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.755e-05/0.6932, allocations: 32.97 kB / 1.225 GB, free: 14.28 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.96e-05/0.6932, allocations: 4 kB / 1.225 GB, free: 14.28 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001895/0.6934, allocations: 75.38 kB / 1.225 GB, free: 14.19 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=7): time 1.853e-06/0.6934, allocations: 0 / 1.225 GB, free: 14.19 MB / 0.9512 GB Notification: Performance of matching and sorting (n=7): time 0.0003886/0.6938, allocations: 137.6 kB / 1.225 GB, free: 14.05 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.975e-05/0.6939, allocations: 55.41 kB / 1.225 GB, free: 13.98 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.005e-05/0.6939, allocations: 129.7 kB / 1.225 GB, free: 13.85 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.47e-05/0.694, allocations: 25.7 kB / 1.225 GB, free: 13.82 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 5.093e-05/0.694, allocations: 96.2 kB / 1.225 GB, free: 13.72 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 1.886e-05/0.6941, allocations: 11.81 kB / 1.225 GB, free: 13.71 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.154e-05/0.6941, allocations: 29.7 kB / 1.225 GB, free: 13.67 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001158/0.6942, allocations: 322.8 kB / 1.226 GB, free: 13.35 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.253e-05/0.6943, allocations: 31.98 kB / 1.226 GB, free: 13.32 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.227e-05/0.6944, allocations: 46.55 kB / 1.226 GB, free: 13.26 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001503/0.6946, allocations: 70.5 kB / 1.226 GB, free: 13.18 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.6946, allocations: 0 / 1.226 GB, free: 13.18 MB / 0.9512 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002387/0.6948, allocations: 113.5 kB / 1.226 GB, free: 13.07 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.581e-05/0.6949, allocations: 8 kB / 1.226 GB, free: 13.06 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.6949, allocations: 0 / 1.226 GB, free: 13.06 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.313e-05/0.6949, allocations: 3.984 kB / 1.226 GB, free: 13.05 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.552e-05/0.695, allocations: 15.98 kB / 1.226 GB, free: 13.04 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.572e-06/0.695, allocations: 4 kB / 1.226 GB, free: 13.04 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.748e-05/0.6951, allocations: 7.938 kB / 1.226 GB, free: 13.03 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.614e-05/0.6951, allocations: 3.984 kB / 1.226 GB, free: 13.02 MB / 0.9512 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 9.529e-05/0.6952, allocations: 134.2 kB / 1.226 GB, free: 12.88 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.634e-05/0.6952, allocations: 3.906 kB / 1.226 GB, free: 12.88 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.697e-05/0.6953, allocations: 12.38 kB / 1.226 GB, free: 12.86 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.6953, allocations: 0 / 1.226 GB, free: 12.86 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.6953, allocations: 0 / 1.226 GB, free: 12.86 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 3.671e-05/0.6953, allocations: 85 kB / 1.226 GB, free: 12.76 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.793e-05/0.6953, allocations: 4 kB / 1.226 GB, free: 12.75 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.228e-05/0.6954, allocations: 3.938 kB / 1.226 GB, free: 12.75 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.136e-05/0.6955, allocations: 11.98 kB / 1.226 GB, free: 12.74 MB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002956/0.6958, allocations: 192.9 kB / 1.226 GB, free: 12.54 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003564/0.6961, allocations: 278.7 kB / 1.227 GB, free: 12.25 MB / 0.9512 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 9.361e-05/0.6962, allocations: 36.52 kB / 1.227 GB, free: 12.22 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 5.15e-05/0.6963, allocations: 87.28 kB / 1.227 GB, free: 12.13 MB / 0.9512 GB Notification: Performance of Backend: time 6.91e-07/0.6963, allocations: 7.938 kB / 1.227 GB, free: 12.12 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0006528/0.697, allocations: 182.2 kB / 1.227 GB, free: 11.96 MB / 0.9512 GB Notification: Performance of SimCode: time 0.0004717/0.6974, allocations: 0.6177 MB / 1.227 GB, free: 11.3 MB / 0.9512 GB Notification: Performance of Templates: time 0.004252/0.7017, allocations: 1.51 MB / 1.229 GB, free: 9.789 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.makefile (rm -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.sim & ./Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTOut.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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