Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.Herkel2008WindowsSmall,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_11_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_11_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.005082/0.005082, allocations: 101.2 kB / 15.73 MB, free: 6.062 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.001031/0.001031, allocations: 192.7 kB / 16.67 MB, free: 5.973 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.361/1.361, 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 11.1.0-maint.11.x/package.mo): time 2.583/2.583, allocations: 469.8 MB / 0.7425 GB, free: 3.375 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001372/0.001372, allocations: 63.89 kB / 1.065 GB, free: 13.6 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9294/0.9308, allocations: 159.1 MB / 1.221 GB, free: 2.117 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall): time 0.0029/0.9337, allocations: 1.51 MB / 1.222 GB, free: 0.6016 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001352/0.935, allocations: 0.7254 MB / 1.223 GB, free: 15.87 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.193e-05/0.9351, allocations: 0 / 1.223 GB, free: 15.87 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 3.23e-05/0.9351, allocations: 3.938 kB / 1.223 GB, free: 15.87 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 6.443e-05/0.9352, allocations: 19.84 kB / 1.223 GB, free: 15.85 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005556/0.9357, allocations: 119.6 kB / 1.223 GB, free: 15.73 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0001225/0.9358, allocations: 71.78 kB / 1.223 GB, free: 15.66 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 9.971e-05/0.9359, allocations: 23.94 kB / 1.223 GB, free: 15.64 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 9.169e-05/0.936, allocations: 39.84 kB / 1.223 GB, free: 15.6 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 6.771e-05/0.9361, allocations: 31.84 kB / 1.223 GB, free: 15.57 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.948e-05/0.9361, allocations: 8 kB / 1.223 GB, free: 15.56 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001895/0.9363, allocations: 95.91 kB / 1.223 GB, free: 15.46 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 2.712e-05/0.9363, allocations: 15.97 kB / 1.223 GB, free: 15.45 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 4.784e-05/0.9364, allocations: 39.72 kB / 1.223 GB, free: 15.41 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0002546/0.9366, allocations: 140.1 kB / 1.223 GB, free: 15.28 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.93e-06/0.9366, allocations: 0 / 1.223 GB, free: 15.28 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.252e-06/0.9366, allocations: 0 / 1.223 GB, free: 15.28 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 6.342e-06/0.9366, allocations: 4 kB / 1.223 GB, free: 15.28 MB / 0.9512 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.0007178/0.9374, allocations: 420.7 kB / 1.224 GB, free: 14.81 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.255e-05/0.9374, allocations: 8.625 kB / 1.224 GB, free: 14.8 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.171e-05/0.9375, allocations: 8.891 kB / 1.224 GB, free: 14.8 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001274/0.9376, allocations: 172.3 kB / 1.224 GB, free: 14.59 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.667e-05/0.9376, allocations: 8.312 kB / 1.224 GB, free: 14.58 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.904e-05/0.9376, allocations: 8.375 kB / 1.224 GB, free: 14.57 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00019/0.9378, allocations: 69.91 kB / 1.224 GB, free: 14.5 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.113e-05/0.9378, allocations: 4 kB / 1.224 GB, free: 14.5 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.434e-05/0.9378, allocations: 0 / 1.224 GB, free: 14.5 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.544e-06/0.9379, allocations: 4 kB / 1.224 GB, free: 14.49 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001263/0.938, allocations: 35.97 kB / 1.224 GB, free: 14.46 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007367/0.9387, allocations: 316.7 kB / 1.224 GB, free: 14.1 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000141/0.9389, allocations: 58.47 kB / 1.224 GB, free: 14.03 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.338e-05/0.9389, allocations: 28.97 kB / 1.224 GB, free: 14 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.089e-05/0.939, allocations: 7.938 kB / 1.224 GB, free: 13.99 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001937/0.9392, allocations: 71.38 kB / 1.225 GB, free: 13.91 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=7): time 1.422e-06/0.9392, allocations: 0 / 1.225 GB, free: 13.91 MB / 0.9512 GB Notification: Performance of matching and sorting (n=7): time 0.0003907/0.9395, allocations: 145.5 kB / 1.225 GB, free: 13.76 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.871e-05/0.9396, allocations: 51.41 kB / 1.225 GB, free: 13.7 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.971e-05/0.9397, allocations: 125.8 kB / 1.225 GB, free: 13.57 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.86e-05/0.9397, allocations: 29.7 kB / 1.225 GB, free: 13.53 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.000103/0.9398, allocations: 92.2 kB / 1.225 GB, free: 13.44 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 1.935e-05/0.9398, allocations: 15.91 kB / 1.225 GB, free: 13.42 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.835e-05/0.9399, allocations: 25.7 kB / 1.225 GB, free: 13.39 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.000124/0.94, allocations: 326.8 kB / 1.225 GB, free: 13.06 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.706e-05/0.9401, allocations: 27.98 kB / 1.225 GB, free: 13.04 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.728e-05/0.9402, allocations: 46.55 kB / 1.225 GB, free: 12.98 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001435/0.9403, allocations: 70.5 kB / 1.225 GB, free: 12.9 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.9403, allocations: 4 kB / 1.225 GB, free: 12.9 MB / 0.9512 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002281/0.9406, allocations: 113.5 kB / 1.226 GB, free: 12.78 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.368e-05/0.9406, allocations: 8 kB / 1.226 GB, free: 12.77 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.9406, allocations: 0 / 1.226 GB, free: 12.77 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.167e-05/0.9406, allocations: 0 / 1.226 GB, free: 12.77 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.68e-05/0.9407, allocations: 11.98 kB / 1.226 GB, free: 12.76 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.436e-06/0.9407, allocations: 4 kB / 1.226 GB, free: 12.76 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.449e-05/0.9408, allocations: 7.938 kB / 1.226 GB, free: 12.75 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.283e-05/0.9408, allocations: 8.047 kB / 1.226 GB, free: 12.74 MB / 0.9512 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 9.297e-05/0.9409, allocations: 129.1 kB / 1.226 GB, free: 12.61 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.592e-05/0.9409, allocations: 3.953 kB / 1.226 GB, free: 12.61 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.172e-05/0.9409, allocations: 16.31 kB / 1.226 GB, free: 12.58 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.926e-06/0.9409, allocations: 4 kB / 1.226 GB, free: 12.58 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.9409, allocations: 0 / 1.226 GB, free: 12.58 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.886e-06/0.9409, allocations: 0 / 1.226 GB, free: 12.58 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00043/0.9414, allocations: 386.4 kB / 1.226 GB, free: 12.14 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.9414, allocations: 0 / 1.226 GB, free: 12.14 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.218e-05/0.9414, allocations: 11.92 kB / 1.226 GB, free: 12.13 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.9414, allocations: 3.938 kB / 1.226 GB, free: 12.13 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.282e-05/0.9414, allocations: 4 kB / 1.226 GB, free: 12.12 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.9414, allocations: 0 / 1.226 GB, free: 12.12 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.387e-06/0.9414, allocations: 3.938 kB / 1.226 GB, free: 12.12 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002684/0.9417, allocations: 212 kB / 1.226 GB, free: 11.9 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 4.463e-05/0.9417, allocations: 85.06 kB / 1.226 GB, free: 11.8 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.833e-05/0.9418, allocations: 0 / 1.226 GB, free: 11.8 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.037e-05/0.9418, allocations: 7.984 kB / 1.226 GB, free: 11.79 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.701e-05/0.9419, allocations: 7.938 kB / 1.226 GB, free: 11.78 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.504e-06/0.9419, allocations: 0 / 1.226 GB, free: 11.78 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 5.124e-05/0.9419, allocations: 95.92 kB / 1.227 GB, free: 11.69 MB / 0.9512 GB Notification: Performance of sort global known variables: time 9.1e-08/0.9419, allocations: 4 kB / 1.227 GB, free: 11.68 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002848/0.9422, allocations: 35.92 kB / 1.227 GB, free: 11.65 MB / 0.9512 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.0003344/0.9426, allocations: 167 kB / 1.227 GB, free: 11.49 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0002268/0.9428, allocations: 67.95 kB / 1.227 GB, free: 11.42 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.9428, allocations: 3.938 kB / 1.227 GB, free: 11.42 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.000199/0.943, allocations: 36.03 kB / 1.227 GB, free: 11.38 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002477/0.9432, allocations: 11.94 kB / 1.227 GB, free: 11.37 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003817/0.9436, allocations: 181.6 kB / 1.227 GB, free: 11.17 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002755/0.9439, allocations: 0.6884 MB / 1.228 GB, free: 10.45 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 3.43e-05/0.9439, allocations: 7.984 kB / 1.228 GB, free: 10.45 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.932e-05/0.944, allocations: 19.44 kB / 1.228 GB, free: 10.43 MB / 0.9512 GB Notification: Performance of SimCode: time 3.21e-07/0.944, allocations: 0 / 1.228 GB, free: 10.43 MB / 0.9512 GB Notification: Performance of Templates: time 0.004093/0.9481, allocations: 1.455 MB / 1.229 GB, free: 8.977 MB / 0.9512 GB make -j1 -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.makefile (rm -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.sim & ./Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsSmall.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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