Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.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.Herkel2008WindowsSmall,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.Herkel2008WindowsSmall") translateModel(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall,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.Herkel2008WindowsSmall") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0015/0.0015, allocations: 112.2 kB / 16.42 MB, free: 6.5 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.00168/0.00168, allocations: 187.9 kB / 17.35 MB, free: 5.762 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.302/1.302, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.456/2.456, allocations: 461.9 MB / 0.7355 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001297/0.001297, allocations: 59.89 kB / 1.055 GB, free: 7.734 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6921/0.6934, allocations: 157.4 MB / 1.208 GB, free: 13.77 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall): time 0.002498/0.696, allocations: 1.513 MB / 1.21 GB, free: 12.26 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001202/0.6972, allocations: 0.7206 MB / 1.211 GB, free: 11.53 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.619e-05/0.6973, allocations: 0 / 1.211 GB, free: 11.53 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 2.623e-05/0.6973, allocations: 3.938 kB / 1.211 GB, free: 11.53 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 5.21e-05/0.6974, allocations: 11.86 kB / 1.211 GB, free: 11.52 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005293/0.6979, allocations: 127.6 kB / 1.211 GB, free: 11.39 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001215/0.698, allocations: 75.77 kB / 1.211 GB, free: 11.32 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 8.447e-05/0.6981, allocations: 15.95 kB / 1.211 GB, free: 11.3 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 9.143e-05/0.6982, allocations: 43.83 kB / 1.211 GB, free: 11.26 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 6.737e-05/0.6983, allocations: 35.84 kB / 1.211 GB, free: 11.22 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.969e-05/0.6983, allocations: 8 kB / 1.211 GB, free: 11.21 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001895/0.6985, allocations: 91.91 kB / 1.211 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.368e-05/0.6985, allocations: 11.98 kB / 1.211 GB, free: 11.11 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 4.616e-05/0.6986, allocations: 35.78 kB / 1.211 GB, free: 11.08 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0002224/0.6988, allocations: 151.4 kB / 1.211 GB, free: 10.93 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 2.585e-06/0.6988, allocations: 0 / 1.211 GB, free: 10.93 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.082e-06/0.6988, allocations: 0 / 1.211 GB, free: 10.93 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 3.908e-06/0.6989, allocations: 4 kB / 1.211 GB, free: 10.93 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.000584/0.6994, allocations: 415 kB / 1.212 GB, free: 10.47 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.495e-05/0.6995, allocations: 8.031 kB / 1.212 GB, free: 10.46 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.444e-05/0.6995, allocations: 8.844 kB / 1.212 GB, free: 10.46 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001001/0.6996, allocations: 168.3 kB / 1.212 GB, free: 10.25 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.077e-05/0.6997, allocations: 384 / 1.212 GB, free: 10.25 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.959e-05/0.6997, allocations: 16.3 kB / 1.212 GB, free: 10.24 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002121/0.6999, allocations: 77.91 kB / 1.212 GB, free: 10.16 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.344e-06/0.6999, allocations: 0 / 1.212 GB, free: 10.16 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.164e-05/0.6999, allocations: 0 / 1.212 GB, free: 10.16 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.987e-06/0.7, allocations: 0 / 1.212 GB, free: 10.16 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001241/0.7001, allocations: 39.97 kB / 1.212 GB, free: 10.12 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006/0.7007, allocations: 316.7 kB / 1.212 GB, free: 9.758 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001201/0.7008, allocations: 50.5 kB / 1.212 GB, free: 9.699 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.149e-05/0.7009, allocations: 32.97 kB / 1.212 GB, free: 9.664 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.047e-05/0.7009, allocations: 4 kB / 1.212 GB, free: 9.66 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001799/0.7011, allocations: 75.38 kB / 1.212 GB, free: 9.574 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=7): time 1.784e-06/0.7011, allocations: 3.938 kB / 1.212 GB, free: 9.57 MB / 0.9356 GB Notification: Performance of matching and sorting (n=7): time 0.0003737/0.7015, allocations: 145.5 kB / 1.212 GB, free: 9.422 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.258e-05/0.7016, allocations: 55.47 kB / 1.213 GB, free: 9.355 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.786e-05/0.7017, allocations: 121.8 kB / 1.213 GB, free: 9.227 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.653e-05/0.7017, allocations: 25.7 kB / 1.213 GB, free: 9.195 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 4.957e-05/0.7017, allocations: 100.1 kB / 1.213 GB, free: 9.094 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.668e-05/0.7018, allocations: 7.812 kB / 1.213 GB, free: 9.086 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.946e-05/0.7018, allocations: 33.7 kB / 1.213 GB, free: 9.047 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001423/0.702, allocations: 322.8 kB / 1.213 GB, free: 8.723 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.305e-05/0.702, allocations: 31.97 kB / 1.213 GB, free: 8.691 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.634e-05/0.7021, allocations: 43 kB / 1.213 GB, free: 8.641 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001499/0.7023, allocations: 78.48 kB / 1.213 GB, free: 8.555 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.7023, allocations: 4 kB / 1.213 GB, free: 8.551 MB / 0.9356 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002312/0.7025, allocations: 109.5 kB / 1.213 GB, free: 8.438 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.336e-05/0.7026, allocations: 5.875 kB / 1.213 GB, free: 8.434 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.7026, allocations: 0 / 1.213 GB, free: 8.434 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.088e-05/0.7026, allocations: 4 kB / 1.213 GB, free: 8.43 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.642e-05/0.7027, allocations: 15.98 kB / 1.213 GB, free: 8.414 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.775e-06/0.7027, allocations: 0 / 1.213 GB, free: 8.414 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.751e-05/0.7028, allocations: 7.938 kB / 1.213 GB, free: 8.406 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.424e-05/0.7028, allocations: 8.062 kB / 1.213 GB, free: 8.398 MB / 0.9356 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 8.411e-05/0.7029, allocations: 121.7 kB / 1.214 GB, free: 8.27 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.935e-05/0.7029, allocations: 11.89 kB / 1.214 GB, free: 8.258 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.55e-05/0.7029, allocations: 12.36 kB / 1.214 GB, free: 8.242 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.09e-06/0.703, allocations: 4 kB / 1.214 GB, free: 8.238 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.703, allocations: 3.938 kB / 1.214 GB, free: 8.234 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 3.304e-05/0.703, allocations: 81.02 kB / 1.214 GB, free: 8.137 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.773e-05/0.703, allocations: 0 / 1.214 GB, free: 8.137 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.758e-05/0.7031, allocations: 15.92 kB / 1.214 GB, free: 8.121 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.819e-05/0.7031, allocations: 8 kB / 1.214 GB, free: 8.113 MB / 0.9356 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002721/0.7034, allocations: 188.9 kB / 1.214 GB, free: 7.922 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002812/0.7037, allocations: 287.1 kB / 1.214 GB, free: 7.625 MB / 0.9356 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 8.727e-05/0.7038, allocations: 31.98 kB / 1.214 GB, free: 7.594 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 4.702e-05/0.7039, allocations: 99.42 kB / 1.214 GB, free: 7.496 MB / 0.9356 GB Notification: Performance of Backend: time 2.8e-07/0.7039, allocations: 0 / 1.214 GB, free: 7.496 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.000603/0.7045, allocations: 178.2 kB / 1.214 GB, free: 7.332 MB / 0.9356 GB Notification: Performance of SimCode: time 0.0004847/0.705, allocations: 0.6272 MB / 1.215 GB, free: 6.656 MB / 0.9356 GB Notification: Performance of Templates: time 0.003893/0.7089, allocations: 1.535 MB / 1.217 GB, free: 5.125 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.makefile (rm -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.sim & ./Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsSmall.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.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