Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.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.Haldi2008WindowsTIn,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TIn|win.occ|win.p|win.on",fileNamePrefix="Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn") translateModel(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TIn|win.occ|win.p|win.on",fileNamePrefix="Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001637/0.001637, allocations: 110.4 kB / 16.42 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.001864/0.001864, 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.279/1.279, allocations: 222.9 MB / 241 MB, free: 15.07 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.135/2.135, allocations: 390.3 MB / 0.6655 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001222/0.001222, allocations: 71.91 kB / 0.9515 GB, free: 7.652 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6985/0.6997, allocations: 140.4 MB / 1.089 GB, free: 5.52 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn): time 0.002389/0.7021, allocations: 1.492 MB / 1.09 GB, free: 4.484 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001112/0.7032, allocations: 0.7391 MB / 1.091 GB, free: 3.98 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.406e-05/0.7033, allocations: 0 / 1.091 GB, free: 3.98 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.934e-05/0.7033, allocations: 5.109 kB / 1.091 GB, free: 3.977 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 4.313e-05/0.7034, allocations: 11.28 kB / 1.091 GB, free: 3.969 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004723/0.7039, allocations: 120.5 kB / 1.091 GB, free: 3.91 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001136/0.704, allocations: 81.78 kB / 1.091 GB, free: 3.871 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 8.676e-05/0.7041, allocations: 15.92 kB / 1.091 GB, free: 3.863 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 7.84e-05/0.7042, allocations: 31.59 kB / 1.091 GB, free: 3.852 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 6.486e-05/0.7042, allocations: 41.11 kB / 1.091 GB, free: 3.832 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.896e-05/0.7043, allocations: 6.906 kB / 1.091 GB, free: 3.832 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001917/0.7045, allocations: 94.5 kB / 1.091 GB, free: 3.805 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.849e-05/0.7045, allocations: 19.61 kB / 1.091 GB, free: 3.793 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.667e-05/0.7045, allocations: 31.59 kB / 1.091 GB, free: 3.773 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.000235/0.7048, allocations: 137.6 kB / 1.091 GB, free: 3.73 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.85e-06/0.7048, allocations: 1.828 kB / 1.091 GB, free: 3.73 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.643e-06/0.7048, allocations: 4 kB / 1.091 GB, free: 3.727 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.248e-06/0.7048, allocations: 0 / 1.091 GB, free: 3.727 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.0005297/0.7054, allocations: 423.2 kB / 1.092 GB, free: 3.309 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.291e-05/0.7054, allocations: 8.188 kB / 1.092 GB, free: 3.309 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.141e-05/0.7054, allocations: 16.69 kB / 1.092 GB, free: 3.297 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.731e-05/0.7055, allocations: 173.4 kB / 1.092 GB, free: 3.094 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.448e-05/0.7056, allocations: 4.328 kB / 1.092 GB, free: 3.094 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.654e-05/0.7056, allocations: 3.562 kB / 1.092 GB, free: 3.094 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001746/0.7058, allocations: 77.09 kB / 1.092 GB, free: 3.043 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.504e-06/0.7058, allocations: 0.7031 kB / 1.092 GB, free: 3.043 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.158e-05/0.7058, allocations: 0 / 1.092 GB, free: 3.043 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.7058, allocations: 1.344 kB / 1.092 GB, free: 3.043 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001284/0.7059, allocations: 36.52 kB / 1.092 GB, free: 3.035 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005349/0.7065, allocations: 317.2 kB / 1.092 GB, free: 2.738 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000115/0.7066, allocations: 49.27 kB / 1.092 GB, free: 2.703 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.212e-05/0.7067, allocations: 32.3 kB / 1.092 GB, free: 2.688 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.745e-05/0.7067, allocations: 2.188 kB / 1.092 GB, free: 2.688 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001678/0.7069, allocations: 80.08 kB / 1.093 GB, free: 2.625 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=7): time 2.535e-06/0.7069, allocations: 4 kB / 1.093 GB, free: 2.621 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7): time 0.0003742/0.7073, allocations: 141.9 kB / 1.093 GB, free: 2.555 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.998e-05/0.7073, allocations: 53.83 kB / 1.093 GB, free: 2.492 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.418e-05/0.7074, allocations: 123.3 kB / 1.093 GB, free: 2.383 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.273e-05/0.7074, allocations: 31.42 kB / 1.093 GB, free: 2.348 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 2.951e-05/0.7074, allocations: 91.92 kB / 1.093 GB, free: 2.258 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.64e-05/0.7075, allocations: 11.88 kB / 1.093 GB, free: 2.25 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.492e-05/0.7075, allocations: 29.86 kB / 1.093 GB, free: 2.227 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.01e-05/0.7075, allocations: 322.6 kB / 1.093 GB, free: 1.906 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.116e-05/0.7076, allocations: 31.53 kB / 1.093 GB, free: 1.895 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.019e-05/0.7077, allocations: 51.52 kB / 1.093 GB, free: 1.855 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001542/0.7079, allocations: 81.67 kB / 1.093 GB, free: 1.801 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.7079, allocations: 4.719 kB / 1.093 GB, free: 1.797 MB / 0.8575 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002313/0.7081, allocations: 118.8 kB / 1.094 GB, free: 1.734 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.288e-05/0.7082, allocations: 5.094 kB / 1.094 GB, free: 1.734 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.7082, allocations: 2.391 kB / 1.094 GB, free: 1.734 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.363e-05/0.7082, allocations: 1.656 kB / 1.094 GB, free: 1.734 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.152e-05/0.7083, allocations: 10.88 kB / 1.094 GB, free: 1.734 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.958e-06/0.7083, allocations: 7.359 kB / 1.094 GB, free: 1.73 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.004e-05/0.7084, allocations: 16.03 kB / 1.094 GB, free: 1.719 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.341e-05/0.7084, allocations: 4.875 kB / 1.094 GB, free: 1.719 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 9 (win.curSeed,$PRE.win.curSeed,occ.y,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.023e-05/0.7085, allocations: 123.4 kB / 1.094 GB, free: 1.594 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.675e-05/0.7085, allocations: 7.641 kB / 1.094 GB, free: 1.59 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.281e-05/0.7085, allocations: 11.11 kB / 1.094 GB, free: 1.578 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.7085, allocations: 0.6094 kB / 1.094 GB, free: 1.578 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.7085, allocations: 0 / 1.094 GB, free: 1.578 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.816e-05/0.7085, allocations: 83.94 kB / 1.094 GB, free: 1.48 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.803e-05/0.7086, allocations: 2.203 kB / 1.094 GB, free: 1.48 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.23e-05/0.7086, allocations: 8.641 kB / 1.094 GB, free: 1.477 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.45e-05/0.7087, allocations: 12.62 kB / 1.094 GB, free: 1.469 MB / 0.8575 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002577/0.7089, allocations: 184.9 kB / 1.094 GB, free: 1.344 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000247/0.7092, allocations: 289.5 kB / 1.094 GB, free: 1.105 MB / 0.8575 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 8.647e-05/0.7093, allocations: 30.75 kB / 1.094 GB, free: 1.098 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.34e-05/0.7093, allocations: 92.5 kB / 1.094 GB, free: 1.02 MB / 0.8575 GB Notification: Performance of Backend: time 3.51e-07/0.7093, allocations: 0 / 1.094 GB, free: 1.02 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0006041/0.7099, allocations: 195.8 kB / 1.095 GB, free: 0.9141 MB / 0.8575 GB Notification: Performance of SimCode: time 0.000315/0.7103, allocations: 0.6201 MB / 1.095 GB, free: 304 kB / 0.8575 GB Notification: Performance of Templates: time 0.004153/0.7144, allocations: 1.51 MB / 1.097 GB, free: 144 kB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.makefile (rm -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.sim & ./Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTIn.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,win.TIn,win.occ,win.p,win.on Variables in the result:TIn.amplitude,TIn.f,TIn.offset,TIn.phase,TIn.startTime,occ.startTime,occ.startValue,occ.y,time,win.A,win.B,win.TIn,win.occ,win.on,win.p,win.samplePeriod,win.seed,win.t0