Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.Herkel2008WindowsTiltedOpen,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.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_9_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.001008/0.001008, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.001244/0.001244, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.481/1.481, allocations: 223.2 MB / 240 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.533/2.533, allocations: 390.9 MB / 0.666 GB, free: 2.543 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003733/0.0003733, allocations: 12 kB / 0.8154 GB, free: 13.68 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8115/0.8119, allocations: 142.4 MB / 0.9544 GB, free: 7.734 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen): time 0.002036/0.814, allocations: 1.194 MB / 0.9556 GB, free: 6.789 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001756/0.8157, allocations: 0.6774 MB / 0.9563 GB, free: 6.266 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.769e-05/0.8158, allocations: 4.844 kB / 0.9563 GB, free: 6.262 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.203e-05/0.8158, allocations: 4 kB / 0.9563 GB, free: 6.258 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 9.128e-05/0.816, allocations: 5.938 kB / 0.9563 GB, free: 6.254 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006329/0.8166, allocations: 100.5 kB / 0.9564 GB, free: 6.184 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001231/0.8167, allocations: 70.2 kB / 0.9564 GB, free: 6.141 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.472e-05/0.8169, allocations: 12.28 kB / 0.9564 GB, free: 6.133 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 9.655e-05/0.817, allocations: 25.92 kB / 0.9565 GB, free: 6.121 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 8.454e-05/0.8171, allocations: 51.03 kB / 0.9565 GB, free: 6.082 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.09e-05/0.8171, allocations: 3.25 kB / 0.9565 GB, free: 6.082 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002442/0.8174, allocations: 84.56 kB / 0.9566 GB, free: 6.039 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.452e-05/0.8174, allocations: 11.2 kB / 0.9566 GB, free: 6.031 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.98e-05/0.8175, allocations: 39.17 kB / 0.9567 GB, free: 5.992 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002019/0.8177, allocations: 95.41 kB / 0.9567 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.8177, allocations: 4 kB / 0.9567 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.844e-06/0.8177, allocations: 0 / 0.9567 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.178e-06/0.8177, allocations: 0 / 0.9567 GB, free: 5.93 MB / 0.7169 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.0006149/0.8183, allocations: 414.2 kB / 0.9571 GB, free: 5.5 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.196e-05/0.8184, allocations: 9.031 kB / 0.9571 GB, free: 5.5 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.232e-05/0.8185, allocations: 15.7 kB / 0.9572 GB, free: 5.488 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.844e-05/0.8186, allocations: 163.4 kB / 0.9573 GB, free: 5.293 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.36e-05/0.8186, allocations: 5.938 kB / 0.9573 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.008e-05/0.8187, allocations: 7.25 kB / 0.9573 GB, free: 5.285 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002544/0.819, allocations: 67.25 kB / 0.9574 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.172e-05/0.819, allocations: 4 kB / 0.9574 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.726e-05/0.819, allocations: 5.156 kB / 0.9574 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.893e-06/0.819, allocations: 0 / 0.9574 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002278/0.8193, allocations: 50.67 kB / 0.9575 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000744/0.82, allocations: 328.9 kB / 0.9578 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000188/0.8202, allocations: 47.28 kB / 0.9578 GB, free: 4.832 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001425/0.8204, allocations: 34.81 kB / 0.9578 GB, free: 4.812 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.132e-05/0.8204, allocations: 9.312 kB / 0.9579 GB, free: 4.805 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002428/0.8207, allocations: 84.27 kB / 0.9579 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 2.164e-06/0.8207, allocations: 0 / 0.9579 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0005911/0.8213, allocations: 151.6 kB / 0.9581 GB, free: 4.645 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.255e-05/0.8214, allocations: 53.03 kB / 0.9581 GB, free: 4.582 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.354e-05/0.8215, allocations: 124.3 kB / 0.9582 GB, free: 4.465 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.728e-05/0.8215, allocations: 27.98 kB / 0.9583 GB, free: 4.434 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.326e-05/0.8216, allocations: 91.17 kB / 0.9584 GB, free: 4.344 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.673e-05/0.8216, allocations: 21.33 kB / 0.9584 GB, free: 4.324 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.106e-05/0.8216, allocations: 5.344 kB / 0.9584 GB, free: 4.32 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.979e-05/0.8217, allocations: 316.2 kB / 0.9587 GB, free: 4.004 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001361/0.8218, allocations: 33.31 kB / 0.9587 GB, free: 3.988 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001476/0.822, allocations: 47.19 kB / 0.9588 GB, free: 3.953 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001575/0.8222, allocations: 31.61 kB / 0.9588 GB, free: 3.941 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.8222, allocations: 4 kB / 0.9588 GB, free: 3.938 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004083/0.8226, allocations: 117.9 kB / 0.9589 GB, free: 3.867 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.783e-05/0.8226, allocations: 5.406 kB / 0.9589 GB, free: 3.867 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.666e-06/0.8227, allocations: 5.734 kB / 0.9589 GB, free: 3.863 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.375e-05/0.8227, allocations: 0 / 0.9589 GB, free: 3.863 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001378/0.8228, allocations: 14.7 kB / 0.9589 GB, free: 3.859 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.576e-06/0.8229, allocations: 8 kB / 0.9589 GB, free: 3.852 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001197/0.823, allocations: 17.41 kB / 0.959 GB, free: 3.84 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.984e-05/0.823, allocations: 4.5 kB / 0.959 GB, free: 3.84 MB / 0.7169 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,$PRE.win.on,win.on,$PRE.win.p,win.p,$PRE.win.curSeed,win.curSeed,$whenCondition1,win.sampleTrigger) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.655e-05/0.8231, allocations: 121 kB / 0.9591 GB, free: 3.715 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.262e-05/0.8232, allocations: 7.953 kB / 0.9591 GB, free: 3.711 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.069e-05/0.8232, allocations: 9.719 kB / 0.9591 GB, free: 3.703 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.029e-06/0.8232, allocations: 5.297 kB / 0.9591 GB, free: 3.699 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.8232, allocations: 4 kB / 0.9591 GB, free: 3.695 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.8232, allocations: 0 / 0.9591 GB, free: 3.695 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005435/0.8238, allocations: 384.5 kB / 0.9595 GB, free: 3.328 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.866e-06/0.8238, allocations: 0 / 0.9595 GB, free: 3.328 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.48e-05/0.8239, allocations: 4.125 kB / 0.9595 GB, free: 3.328 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.849e-06/0.8239, allocations: 9.266 kB / 0.9595 GB, free: 3.32 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.854e-05/0.8239, allocations: 13.36 kB / 0.9595 GB, free: 3.309 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.824, allocations: 0 / 0.9595 GB, free: 3.309 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.824, allocations: 0 / 0.9595 GB, free: 3.309 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004282/0.8244, allocations: 203.9 kB / 0.9597 GB, free: 3.148 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.84e-05/0.8245, allocations: 86.38 kB / 0.9598 GB, free: 3.047 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.311e-05/0.8245, allocations: 9.328 kB / 0.9598 GB, free: 3.039 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001668/0.8247, allocations: 16.06 kB / 0.9598 GB, free: 3.027 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.097e-05/0.8248, allocations: 6.734 kB / 0.9598 GB, free: 3.023 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.538e-05/0.8248, allocations: 2.75 kB / 0.9598 GB, free: 3.023 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 5.251e-05/0.8248, allocations: 91.52 kB / 0.9599 GB, free: 2.941 MB / 0.7169 GB Notification: Performance of sort global known variables: time 3.81e-07/0.8249, allocations: 0 / 0.9599 GB, free: 2.941 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0005418/0.8254, allocations: 36.88 kB / 0.9599 GB, free: 2.934 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 (win.sampleTrigger,$whenCondition1,win.occ,win.on,win.p,win.curSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004336/0.8259, allocations: 171.3 kB / 0.9601 GB, free: 2.812 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003777/0.8263, allocations: 81.95 kB / 0.9602 GB, free: 2.777 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.8263, allocations: 0 / 0.9602 GB, free: 2.777 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001711/0.8265, allocations: 43.3 kB / 0.9602 GB, free: 2.758 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004529/0.8269, allocations: 14.42 kB / 0.9602 GB, free: 2.746 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004896/0.8274, allocations: 202.4 kB / 0.9604 GB, free: 2.566 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001206/0.8276, allocations: 0.6919 MB / 0.9611 GB, free: 1.859 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 5.951e-05/0.8277, allocations: 3.344 kB / 0.9611 GB, free: 1.859 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.806e-05/0.8277, allocations: 11 kB / 0.9611 GB, free: 1.852 MB / 0.7169 GB Notification: Performance of SimCode: time 5.11e-07/0.8277, allocations: 0 / 0.9611 GB, free: 1.852 MB / 0.7169 GB Notification: Performance of Templates: time 0.006236/0.834, allocations: 1.334 MB / 0.9624 GB, free: 1.16 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.makefile (rm -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.sim & ./Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsTiltedOpen.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_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