Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.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.Herkel2008WindowsCompletelyOpen,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.Herkel2008WindowsCompletelyOpen") translateModel(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen,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.Herkel2008WindowsCompletelyOpen") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005216/0.005216, allocations: 103.2 kB / 15.73 MB, free: 6.059 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.001283/0.001283, allocations: 190.5 kB / 16.67 MB, free: 5.977 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.368/1.368, allocations: 222.9 MB / 240.4 MB, free: 15.14 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.24/2.24, allocations: 390.2 MB / 0.6648 GB, free: 0.6172 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001283/0.001283, allocations: 67.89 kB / 0.9508 GB, free: 7.637 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9891/0.9904, allocations: 140.4 MB / 1.088 GB, free: 5.766 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen): time 0.002916/0.9933, allocations: 1.505 MB / 1.089 GB, free: 4.719 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001257/0.9946, allocations: 0.7224 MB / 1.09 GB, free: 4.23 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.921e-05/0.9947, allocations: 1.188 kB / 1.09 GB, free: 4.23 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.14e-05/0.9947, allocations: 8.453 kB / 1.09 GB, free: 4.223 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 5.844e-05/0.9948, allocations: 14.3 kB / 1.09 GB, free: 4.211 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005741/0.9954, allocations: 124.8 kB / 1.09 GB, free: 4.148 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001305/0.9955, allocations: 73.62 kB / 1.09 GB, free: 4.117 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001052/0.9956, allocations: 11 kB / 1.09 GB, free: 4.113 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 8.586e-05/0.9957, allocations: 39.95 kB / 1.09 GB, free: 4.094 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 7.505e-05/0.9958, allocations: 37.17 kB / 1.09 GB, free: 4.078 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.382e-05/0.9958, allocations: 6.344 kB / 1.09 GB, free: 4.078 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000231/0.9961, allocations: 98.16 kB / 1.09 GB, free: 4.047 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.307e-05/0.9961, allocations: 19.06 kB / 1.09 GB, free: 4.035 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 5.298e-05/0.9962, allocations: 31.62 kB / 1.091 GB, free: 4.016 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002845/0.9964, allocations: 138.7 kB / 1.091 GB, free: 3.973 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/0.9965, allocations: 4.609 kB / 1.091 GB, free: 3.969 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.423e-06/0.9965, allocations: 0 / 1.091 GB, free: 3.969 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.4e-06/0.9965, allocations: 0 / 1.091 GB, free: 3.969 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.0006083/0.9971, allocations: 424.5 kB / 1.091 GB, free: 3.547 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.073e-05/0.9971, allocations: 9.812 kB / 1.091 GB, free: 3.547 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.41e-05/0.9972, allocations: 8.125 kB / 1.091 GB, free: 3.543 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001044/0.9973, allocations: 174.5 kB / 1.091 GB, free: 3.34 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.46e-05/0.9973, allocations: 3.094 kB / 1.091 GB, free: 3.34 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.629e-05/0.9974, allocations: 12.16 kB / 1.091 GB, free: 3.332 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001956/0.9976, allocations: 72.91 kB / 1.091 GB, free: 3.285 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.779e-06/0.9976, allocations: 0 / 1.091 GB, free: 3.285 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.418e-05/0.9976, allocations: 1.781 kB / 1.091 GB, free: 3.285 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.051e-06/0.9976, allocations: 4.781 kB / 1.091 GB, free: 3.281 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001363/0.9978, allocations: 34.95 kB / 1.091 GB, free: 3.273 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005983/0.9984, allocations: 327.1 kB / 1.092 GB, free: 2.969 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000131/0.9985, allocations: 46 kB / 1.092 GB, free: 2.938 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.881e-05/0.9986, allocations: 35.95 kB / 1.092 GB, free: 2.918 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.906e-05/0.9986, allocations: 1.609 kB / 1.092 GB, free: 2.918 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001748/0.9988, allocations: 77.16 kB / 1.092 GB, free: 2.859 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=7): time 1.432e-06/0.9988, allocations: 0 / 1.092 GB, free: 2.859 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7): time 0.0004204/0.9992, allocations: 141.2 kB / 1.092 GB, free: 2.793 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.159e-05/0.9993, allocations: 58.2 kB / 1.092 GB, free: 2.727 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.758e-05/0.9994, allocations: 119.7 kB / 1.092 GB, free: 2.621 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.474e-05/0.9994, allocations: 26.52 kB / 1.092 GB, free: 2.59 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.457e-05/0.9994, allocations: 99.64 kB / 1.092 GB, free: 2.492 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.892e-05/0.9995, allocations: 8.594 kB / 1.092 GB, free: 2.488 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.878e-05/0.9995, allocations: 29.03 kB / 1.092 GB, free: 2.465 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.457e-05/0.9996, allocations: 323.5 kB / 1.093 GB, free: 2.145 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.41e-05/0.9997, allocations: 31.36 kB / 1.093 GB, free: 2.133 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001105/0.9998, allocations: 50.73 kB / 1.093 GB, free: 2.098 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001661/1, allocations: 72.89 kB / 1.093 GB, free: 2.055 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/1, allocations: 0 / 1.093 GB, free: 2.055 MB / 0.8575 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002419/1, allocations: 116.3 kB / 1.093 GB, free: 1.992 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.679e-05/1, allocations: 5.531 kB / 1.093 GB, free: 1.992 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.541e-06/1, allocations: 0.9688 kB / 1.093 GB, free: 1.992 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.783e-05/1, allocations: 1.531 kB / 1.093 GB, free: 1.992 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.914e-05/1, allocations: 10.86 kB / 1.093 GB, free: 1.992 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.145e-05/1, allocations: 6.922 kB / 1.093 GB, free: 1.988 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.714e-05/1, allocations: 16.88 kB / 1.093 GB, free: 1.977 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.602e-05/1, allocations: 3.719 kB / 1.093 GB, free: 1.977 MB / 0.8575 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 7.621e-05/1.001, allocations: 123.6 kB / 1.093 GB, free: 1.852 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.815e-05/1.001, allocations: 7.359 kB / 1.093 GB, free: 1.848 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.946e-05/1.001, allocations: 11.14 kB / 1.093 GB, free: 1.836 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/1.001, allocations: 1 kB / 1.093 GB, free: 1.836 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/1.001, allocations: 0 / 1.093 GB, free: 1.836 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/1.001, allocations: 1.859 kB / 1.093 GB, free: 1.836 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004291/1.001, allocations: 381.7 kB / 1.093 GB, free: 1.496 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/1.001, allocations: 0.6562 kB / 1.093 GB, free: 1.496 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.071e-05/1.001, allocations: 9.219 kB / 1.093 GB, free: 1.492 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.656e-06/1.001, allocations: 1.703 kB / 1.093 GB, free: 1.492 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.22e-05/1.001, allocations: 5.359 kB / 1.093 GB, free: 1.488 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/1.001, allocations: 0.7812 kB / 1.093 GB, free: 1.488 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.796e-06/1.001, allocations: 4.734 kB / 1.093 GB, free: 1.484 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002858/1.001, allocations: 204 kB / 1.094 GB, free: 1.332 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.585e-05/1.002, allocations: 79.3 kB / 1.094 GB, free: 1.238 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.298e-05/1.002, allocations: 10.27 kB / 1.094 GB, free: 1.23 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.781e-05/1.002, allocations: 12.53 kB / 1.094 GB, free: 1.223 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.977e-05/1.002, allocations: 8.422 kB / 1.094 GB, free: 1.219 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.291e-05/1.002, allocations: 7.234 kB / 1.094 GB, free: 1.215 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.584e-05/1.002, allocations: 92.22 kB / 1.094 GB, free: 1.137 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/1.002, allocations: 0 / 1.094 GB, free: 1.137 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003179/1.002, allocations: 42.48 kB / 1.094 GB, free: 1.125 MB / 0.8575 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003661/1.002, allocations: 168.2 kB / 1.094 GB, free: 1.012 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002844/1.003, allocations: 72.69 kB / 1.094 GB, free: 0.9922 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/1.003, allocations: 4 kB / 1.094 GB, free: 0.9883 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001201/1.003, allocations: 33.59 kB / 1.094 GB, free: 0.9805 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002782/1.003, allocations: 11.97 kB / 1.094 GB, free: 0.9766 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000519/1.004, allocations: 189.7 kB / 1.094 GB, free: 0.8203 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000211/1.004, allocations: 0.6868 MB / 1.095 GB, free: 128 kB / 0.8575 GB Notification: Performance of simCode: alias equations: time 4.854e-05/1.004, allocations: 13.81 kB / 1.095 GB, free: 120 kB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.489e-05/1.004, allocations: 10.89 kB / 1.095 GB, free: 112 kB / 0.8575 GB Notification: Performance of SimCode: time 2.3e-07/1.004, allocations: 0.6562 kB / 1.095 GB, free: 112 kB / 0.8575 GB Notification: Performance of Templates: time 0.006235/1.01, allocations: 1.454 MB / 1.096 GB, free: 15.96 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.makefile (rm -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.sim & ./Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsCompletelyOpen.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.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