Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001331/0.001331, allocations: 110.5 kB / 17.6 MB, free: 4.703 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001999/0.001999, allocations: 186.7 kB / 20.78 MB, free: 1.547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.601/1.601, allocations: 225.6 MB / 249.4 MB, free: 3.137 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.827/2.827, allocations: 476.7 MB / 0.7628 GB, free: 15.19 MB / 0.6075 GB " [Timeout remaining time 176] 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.Herkel2008WindowsTiltedOpen,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen") translateModel(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002014/0.002014, allocations: 75.88 kB / 1.107 GB, free: 4.602 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.12/1.122, allocations: 168.7 MB / 1.272 GB, free: 7.902 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen): time 0.00284/1.125, allocations: 1.525 MB / 1.273 GB, free: 6.855 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001344/1.126, allocations: 0.7419 MB / 1.274 GB, free: 6.359 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.239e-05/1.126, allocations: 0.7188 kB / 1.274 GB, free: 6.359 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.174e-05/1.126, allocations: 9.203 kB / 1.274 GB, free: 6.352 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 6.051e-05/1.126, allocations: 14.58 kB / 1.274 GB, free: 6.34 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005843/1.127, allocations: 120.6 kB / 1.274 GB, free: 6.281 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001295/1.127, allocations: 78.47 kB / 1.274 GB, free: 6.246 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.847e-05/1.127, allocations: 5.188 kB / 1.274 GB, free: 6.246 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 9.777e-05/1.127, allocations: 38.19 kB / 1.274 GB, free: 6.227 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.801e-05/1.127, allocations: 42.77 kB / 1.274 GB, free: 6.207 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.223e-05/1.127, allocations: 6.406 kB / 1.274 GB, free: 6.207 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002227/1.127, allocations: 100.3 kB / 1.275 GB, free: 6.18 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.806e-05/1.127, allocations: 26.27 kB / 1.275 GB, free: 6.16 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 4.959e-05/1.127, allocations: 29.3 kB / 1.275 GB, free: 6.145 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002634/1.128, allocations: 142.7 kB / 1.275 GB, free: 6.102 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/1.128, allocations: 1.125 kB / 1.275 GB, free: 6.102 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.265e-06/1.128, allocations: 0 / 1.275 GB, free: 6.102 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.681e-06/1.128, allocations: 0 / 1.275 GB, free: 6.102 MB / 0.9981 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.0006163/1.128, allocations: 423.7 kB / 1.275 GB, free: 5.68 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.099e-05/1.128, allocations: 9 kB / 1.275 GB, free: 5.68 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.013e-05/1.128, allocations: 8.203 kB / 1.275 GB, free: 5.676 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.794e-05/1.129, allocations: 172.8 kB / 1.275 GB, free: 5.473 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.681e-05/1.129, allocations: 4.172 kB / 1.275 GB, free: 5.473 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.903e-05/1.129, allocations: 7.703 kB / 1.275 GB, free: 5.469 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001864/1.129, allocations: 77.66 kB / 1.275 GB, free: 5.418 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.146e-05/1.129, allocations: 0 / 1.275 GB, free: 5.418 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.309e-05/1.129, allocations: 4.844 kB / 1.275 GB, free: 5.414 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.641e-06/1.129, allocations: 0.5625 kB / 1.275 GB, free: 5.414 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001316/1.129, allocations: 35.66 kB / 1.275 GB, free: 5.406 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005765/1.129, allocations: 326.5 kB / 1.276 GB, free: 5.102 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001257/1.13, allocations: 44.03 kB / 1.276 GB, free: 5.07 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.89e-05/1.13, allocations: 30.91 kB / 1.276 GB, free: 5.055 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.822e-05/1.13, allocations: 6.531 kB / 1.276 GB, free: 5.051 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002104/1.13, allocations: 80.16 kB / 1.276 GB, free: 4.988 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=7): time 1.333e-06/1.13, allocations: 0 / 1.276 GB, free: 4.988 MB / 0.9981 GB Notification: Performance of matching and sorting (n=7): time 0.0004145/1.13, allocations: 137.6 kB / 1.276 GB, free: 4.926 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.504e-05/1.13, allocations: 56.92 kB / 1.276 GB, free: 4.863 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.237e-05/1.13, allocations: 123.7 kB / 1.276 GB, free: 4.75 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.379e-05/1.131, allocations: 30.98 kB / 1.276 GB, free: 4.715 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 4.034e-05/1.131, allocations: 93.2 kB / 1.276 GB, free: 4.625 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.747e-05/1.131, allocations: 15.28 kB / 1.276 GB, free: 4.613 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.119e-05/1.131, allocations: 29.78 kB / 1.276 GB, free: 4.59 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.471e-05/1.131, allocations: 322.5 kB / 1.277 GB, free: 4.27 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.456e-05/1.131, allocations: 28.59 kB / 1.277 GB, free: 4.262 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.556e-05/1.131, allocations: 45.11 kB / 1.277 GB, free: 4.23 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001551/1.131, allocations: 73.27 kB / 1.277 GB, free: 4.188 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/1.131, allocations: 0 / 1.277 GB, free: 4.188 MB / 0.9981 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002252/1.131, allocations: 116.9 kB / 1.277 GB, free: 4.125 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.774e-05/1.131, allocations: 5.625 kB / 1.277 GB, free: 4.125 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.732e-06/1.131, allocations: 5.125 kB / 1.277 GB, free: 4.121 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.81e-05/1.131, allocations: 1.031 kB / 1.277 GB, free: 4.121 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.957e-05/1.131, allocations: 15.12 kB / 1.277 GB, free: 4.117 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.456e-06/1.131, allocations: 2.656 kB / 1.277 GB, free: 4.117 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.637e-05/1.131, allocations: 12.39 kB / 1.277 GB, free: 4.109 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.614e-05/1.131, allocations: 8.578 kB / 1.277 GB, free: 4.105 MB / 0.9981 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.032e-05/1.132, allocations: 120 kB / 1.277 GB, free: 3.984 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.755e-05/1.132, allocations: 7.359 kB / 1.277 GB, free: 3.98 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.006e-05/1.132, allocations: 16.42 kB / 1.277 GB, free: 3.961 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/1.132, allocations: 4.969 kB / 1.277 GB, free: 3.957 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/1.132, allocations: 0 / 1.277 GB, free: 3.957 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.938e-06/1.132, allocations: 0.875 kB / 1.277 GB, free: 3.957 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004117/1.132, allocations: 376.6 kB / 1.277 GB, free: 3.621 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/1.132, allocations: 3.047 kB / 1.277 GB, free: 3.621 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.983e-05/1.132, allocations: 3.641 kB / 1.278 GB, free: 3.621 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/1.132, allocations: 1.188 kB / 1.278 GB, free: 3.621 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.211e-05/1.132, allocations: 5.266 kB / 1.278 GB, free: 3.617 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/1.132, allocations: 1.094 kB / 1.278 GB, free: 3.617 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/1.132, allocations: 8.344 kB / 1.278 GB, free: 3.609 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002673/1.132, allocations: 212.3 kB / 1.278 GB, free: 3.449 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.619e-05/1.132, allocations: 84.25 kB / 1.278 GB, free: 3.352 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.134e-05/1.132, allocations: 0.875 kB / 1.278 GB, free: 3.352 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.844e-05/1.132, allocations: 8.281 kB / 1.278 GB, free: 3.348 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.502e-05/1.133, allocations: 15.34 kB / 1.278 GB, free: 3.34 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.121e-05/1.133, allocations: 2.031 kB / 1.278 GB, free: 3.34 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 3.939e-05/1.133, allocations: 91.41 kB / 1.278 GB, free: 3.262 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/1.133, allocations: 0 / 1.278 GB, free: 3.262 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003344/1.133, allocations: 37.64 kB / 1.278 GB, free: 3.254 MB / 0.9981 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.0003831/1.133, allocations: 174.8 kB / 1.278 GB, free: 3.137 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002632/1.134, allocations: 68.3 kB / 1.278 GB, free: 3.121 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/1.134, allocations: 0.6875 kB / 1.278 GB, free: 3.121 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 9.986e-05/1.134, allocations: 34.83 kB / 1.278 GB, free: 3.109 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002603/1.134, allocations: 7.5 kB / 1.278 GB, free: 3.105 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004231/1.134, allocations: 203.5 kB / 1.278 GB, free: 2.945 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001263/1.134, allocations: 0.687 MB / 1.279 GB, free: 2.25 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 3.732e-05/1.134, allocations: 4.094 kB / 1.279 GB, free: 2.25 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.918e-05/1.135, allocations: 12.75 kB / 1.279 GB, free: 2.242 MB / 0.9981 GB Notification: Performance of SimCode: time 5.01e-07/1.135, allocations: 0.9062 kB / 1.279 GB, free: 2.242 MB / 0.9981 GB Notification: Performance of Templates: time 0.005172/1.14, allocations: 1.482 MB / 1.281 GB, free: 2.078 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.sim & ./Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsTiltedOpen.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" 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 [Calling sys.exit(0), Time elapsed: 9.567556387744844]