Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.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.Herkel2008WindowsTiltedOpen,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.Herkel2008WindowsTiltedOpen") translateModel(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen,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.Herkel2008WindowsTiltedOpen") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00169/0.00169, allocations: 113.3 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.002084/0.002084, allocations: 190.6 kB / 17.35 MB, free: 5.738 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.112/2.112, 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 4.563/4.563, allocations: 461.9 MB / 0.7355 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002713/0.002713, allocations: 63.89 kB / 1.055 GB, free: 7.719 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.326/1.329, allocations: 157.4 MB / 1.208 GB, free: 13.63 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen): time 0.004285/1.333, allocations: 1.507 MB / 1.21 GB, free: 12.12 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.002202/1.335, allocations: 0.7284 MB / 1.211 GB, free: 11.39 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.663e-05/1.335, allocations: 0 / 1.211 GB, free: 11.39 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 4.586e-05/1.336, allocations: 7.922 kB / 1.211 GB, free: 11.38 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 8.338e-05/1.336, allocations: 7.875 kB / 1.211 GB, free: 11.37 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007976/1.337, allocations: 123.6 kB / 1.211 GB, free: 11.25 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001636/1.337, allocations: 79.77 kB / 1.211 GB, free: 11.17 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000132/1.337, allocations: 15.94 kB / 1.211 GB, free: 11.16 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001289/1.337, allocations: 39.86 kB / 1.211 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001136/1.337, allocations: 43.81 kB / 1.211 GB, free: 11.07 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 3.017e-05/1.337, allocations: 8 kB / 1.211 GB, free: 11.07 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003555/1.338, allocations: 91.91 kB / 1.211 GB, free: 10.98 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 3.644e-05/1.338, allocations: 7.984 kB / 1.211 GB, free: 10.97 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 8.818e-05/1.338, allocations: 35.8 kB / 1.211 GB, free: 10.93 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0004059/1.338, allocations: 147.3 kB / 1.211 GB, free: 10.79 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/1.338, allocations: 0 / 1.211 GB, free: 10.79 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.665e-06/1.338, allocations: 0 / 1.211 GB, free: 10.79 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 7.594e-06/1.338, allocations: 4 kB / 1.211 GB, free: 10.79 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.001011/1.339, allocations: 419 kB / 1.212 GB, free: 10.33 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 5.923e-05/1.339, allocations: 12.02 kB / 1.212 GB, free: 10.32 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.805e-05/1.339, allocations: 12.84 kB / 1.212 GB, free: 10.3 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002038/1.34, allocations: 168.3 kB / 1.212 GB, free: 10.1 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.436e-05/1.34, allocations: 4.375 kB / 1.212 GB, free: 10.1 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.247e-05/1.34, allocations: 384 / 1.212 GB, free: 10.1 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003206/1.34, allocations: 77.97 kB / 1.212 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.808e-05/1.34, allocations: 3.938 kB / 1.212 GB, free: 10.01 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.835e-05/1.34, allocations: 0 / 1.212 GB, free: 10.01 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.271e-05/1.34, allocations: 4 kB / 1.212 GB, free: 10.01 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002567/1.34, allocations: 39.91 kB / 1.212 GB, free: 9.969 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009691/1.341, allocations: 316.7 kB / 1.212 GB, free: 9.609 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001949/1.342, allocations: 46.56 kB / 1.212 GB, free: 9.555 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001382/1.342, allocations: 32.97 kB / 1.212 GB, free: 9.52 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 3.11e-05/1.342, allocations: 3.938 kB / 1.212 GB, free: 9.516 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002918/1.342, allocations: 83.44 kB / 1.212 GB, free: 9.422 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=7): time 4.078e-06/1.342, allocations: 0 / 1.212 GB, free: 9.422 MB / 0.9356 GB Notification: Performance of matching and sorting (n=7): time 0.0006254/1.343, allocations: 137.5 kB / 1.212 GB, free: 9.281 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.634e-05/1.343, allocations: 55.34 kB / 1.213 GB, free: 9.215 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001626/1.343, allocations: 129.7 kB / 1.213 GB, free: 9.078 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.77e-05/1.343, allocations: 29.7 kB / 1.213 GB, free: 9.043 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 8.299e-05/1.343, allocations: 88.14 kB / 1.213 GB, free: 8.953 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 4.489e-05/1.343, allocations: 19.73 kB / 1.213 GB, free: 8.934 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.457e-05/1.343, allocations: 29.72 kB / 1.213 GB, free: 8.898 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001741/1.343, allocations: 322.8 kB / 1.213 GB, free: 8.574 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000127/1.344, allocations: 27.98 kB / 1.213 GB, free: 8.547 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00015/1.344, allocations: 46.55 kB / 1.213 GB, free: 8.492 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000263/1.344, allocations: 78.53 kB / 1.213 GB, free: 8.406 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.472e-06/1.344, allocations: 0 / 1.213 GB, free: 8.406 MB / 0.9356 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003741/1.344, allocations: 113.8 kB / 1.213 GB, free: 8.289 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.546e-05/1.344, allocations: 6.031 kB / 1.213 GB, free: 8.285 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.131e-05/1.345, allocations: 4.078 kB / 1.213 GB, free: 8.281 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.436e-05/1.345, allocations: 3.984 kB / 1.213 GB, free: 8.277 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001464/1.345, allocations: 8 kB / 1.213 GB, free: 8.27 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.108e-05/1.345, allocations: 3.984 kB / 1.213 GB, free: 8.266 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001093/1.345, allocations: 19.98 kB / 1.213 GB, free: 8.246 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.252e-05/1.345, allocations: 8 kB / 1.213 GB, free: 8.238 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 0.0001436/1.345, allocations: 117.8 kB / 1.214 GB, free: 8.113 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.936e-05/1.345, allocations: 7.906 kB / 1.214 GB, free: 8.105 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.669e-05/1.345, allocations: 8.375 kB / 1.214 GB, free: 8.094 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.514e-06/1.345, allocations: 11.92 kB / 1.214 GB, free: 8.082 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/1.345, allocations: 0 / 1.214 GB, free: 8.082 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 8.311e-05/1.345, allocations: 81.02 kB / 1.214 GB, free: 7.984 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.098e-05/1.345, allocations: 3.938 kB / 1.214 GB, free: 7.98 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.562e-05/1.345, allocations: 11.94 kB / 1.214 GB, free: 7.969 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.208e-05/1.345, allocations: 7.984 kB / 1.214 GB, free: 7.961 MB / 0.9356 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004476/1.346, allocations: 188.9 kB / 1.214 GB, free: 7.77 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005087/1.346, allocations: 274.7 kB / 1.214 GB, free: 7.484 MB / 0.9356 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001486/1.347, allocations: 39.97 kB / 1.214 GB, free: 7.445 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 8.728e-05/1.347, allocations: 95.27 kB / 1.214 GB, free: 7.352 MB / 0.9356 GB Notification: Performance of Backend: time 9.12e-07/1.347, allocations: 0 / 1.214 GB, free: 7.352 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001094/1.348, allocations: 186.7 kB / 1.214 GB, free: 7.18 MB / 0.9356 GB Notification: Performance of SimCode: time 0.0007544/1.349, allocations: 0.6177 MB / 1.215 GB, free: 6.512 MB / 0.9356 GB Notification: Performance of Templates: time 0.006619/1.355, allocations: 1.535 MB / 1.217 GB, free: 4.988 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.makefile (rm -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.sim & ./Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsTiltedOpen.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.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