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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001698/0.001698, allocations: 114.8 kB / 18.89 MB, free: 2.898 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.002057/0.002057, allocations: 198.6 kB / 22.17 MB, free: 5.211 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.451/1.451, allocations: 225.6 MB / 250.9 MB, free: 13.26 MB / 206.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.851/2.851, allocations: 476.7 MB / 0.7645 GB, free: 10.08 MB / 0.6231 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.Herkel2008WindowsSmall,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.Herkel2008WindowsSmall") translateModel(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall,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.Herkel2008WindowsSmall") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001959/0.001959, allocations: 67.89 kB / 1.109 GB, free: 6.547 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.058/1.06, allocations: 168.7 MB / 1.274 GB, free: 4.426 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall): time 0.002953/1.063, allocations: 1.523 MB / 1.276 GB, free: 2.895 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001413/1.064, allocations: 0.7455 MB / 1.276 GB, free: 2.145 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.058e-05/1.064, allocations: 0 / 1.276 GB, free: 2.145 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.552e-05/1.064, allocations: 3.938 kB / 1.276 GB, free: 2.141 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 5.849e-05/1.065, allocations: 11.86 kB / 1.276 GB, free: 2.129 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005684/1.065, allocations: 123.6 kB / 1.276 GB, free: 2.008 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001506/1.065, allocations: 83.69 kB / 1.276 GB, free: 1.926 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 9.51e-05/1.065, allocations: 11.95 kB / 1.276 GB, free: 1.914 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 8.73e-05/1.065, allocations: 31.92 kB / 1.276 GB, free: 1.883 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 8.008e-05/1.066, allocations: 43.81 kB / 1.277 GB, free: 1.84 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.792e-05/1.066, allocations: 4 kB / 1.277 GB, free: 1.836 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002388/1.066, allocations: 103.8 kB / 1.277 GB, free: 1.734 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 4.062e-05/1.066, allocations: 19.92 kB / 1.277 GB, free: 1.715 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 5.538e-05/1.066, allocations: 35.84 kB / 1.277 GB, free: 1.68 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002565/1.066, allocations: 146.2 kB / 1.277 GB, free: 1.543 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/1.066, allocations: 0 / 1.277 GB, free: 1.543 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.563e-06/1.066, allocations: 0 / 1.277 GB, free: 1.543 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.011e-06/1.066, allocations: 0 / 1.277 GB, free: 1.543 MB / 0.9669 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.0007612/1.067, allocations: 419.2 kB / 1.277 GB, free: 1.082 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.692e-05/1.067, allocations: 8.031 kB / 1.277 GB, free: 1.074 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.59e-05/1.067, allocations: 12.83 kB / 1.277 GB, free: 1.062 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001707/1.067, allocations: 172.3 kB / 1.277 GB, free: 0.8555 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.092e-05/1.067, allocations: 8.359 kB / 1.277 GB, free: 0.8477 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.223e-05/1.067, allocations: 8.375 kB / 1.277 GB, free: 0.8398 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002121/1.067, allocations: 69.97 kB / 1.278 GB, free: 0.7656 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.458e-06/1.067, allocations: 0 / 1.278 GB, free: 0.7656 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.515e-05/1.067, allocations: 4 kB / 1.278 GB, free: 0.7617 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.676e-06/1.067, allocations: 3.938 kB / 1.278 GB, free: 0.7578 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001285/1.068, allocations: 39.97 kB / 1.278 GB, free: 0.7188 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006545/1.068, allocations: 316.7 kB / 1.278 GB, free: 368 kB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001362/1.068, allocations: 42.56 kB / 1.278 GB, free: 316 kB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.18e-05/1.068, allocations: 28.97 kB / 1.278 GB, free: 284 kB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.201e-05/1.068, allocations: 0 / 1.278 GB, free: 284 kB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002127/1.069, allocations: 91.25 kB / 1.278 GB, free: 180 kB / 0.9669 GB Notification: Performance of pre-optimization done (n=7): time 1.253e-06/1.069, allocations: 0 / 1.278 GB, free: 180 kB / 0.9669 GB Notification: Performance of matching and sorting (n=7): time 0.0003995/1.069, allocations: 141.6 kB / 1.278 GB, free: 32 kB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.788e-05/1.069, allocations: 51.41 kB / 1.278 GB, free: 15.97 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001131/1.069, allocations: 133.7 kB / 1.278 GB, free: 15.83 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.267e-05/1.069, allocations: 25.7 kB / 1.278 GB, free: 15.8 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.014e-05/1.069, allocations: 92.12 kB / 1.278 GB, free: 15.7 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.919e-05/1.069, allocations: 11.91 kB / 1.278 GB, free: 15.69 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.149e-05/1.069, allocations: 37.7 kB / 1.278 GB, free: 15.65 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001636/1.07, allocations: 322.8 kB / 1.279 GB, free: 15.32 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.275e-05/1.07, allocations: 23.98 kB / 1.279 GB, free: 15.3 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.552e-05/1.07, allocations: 42.56 kB / 1.279 GB, free: 15.25 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001657/1.07, allocations: 78.8 kB / 1.279 GB, free: 15.16 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/1.07, allocations: 0 / 1.279 GB, free: 15.16 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003278/1.07, allocations: 117.5 kB / 1.279 GB, free: 15.04 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.989e-05/1.07, allocations: 4 kB / 1.279 GB, free: 15.04 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.304e-06/1.07, allocations: 4 kB / 1.279 GB, free: 15.04 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.378e-05/1.07, allocations: 0 / 1.279 GB, free: 15.04 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001012/1.07, allocations: 19.91 kB / 1.279 GB, free: 15.02 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/1.07, allocations: 8 kB / 1.279 GB, free: 15.01 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.343e-05/1.07, allocations: 8 kB / 1.279 GB, free: 15 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.3e-05/1.07, allocations: 4 kB / 1.279 GB, free: 15 MB / 0.9825 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.000113/1.071, allocations: 125.7 kB / 1.279 GB, free: 14.86 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.841e-05/1.071, allocations: 7.953 kB / 1.279 GB, free: 14.86 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.025e-05/1.071, allocations: 8.375 kB / 1.279 GB, free: 14.84 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/1.071, allocations: 4 kB / 1.279 GB, free: 14.84 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/1.071, allocations: 0 / 1.279 GB, free: 14.84 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/1.071, allocations: 4 kB / 1.279 GB, free: 14.83 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004941/1.071, allocations: 382.4 kB / 1.28 GB, free: 14.4 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/1.071, allocations: 0 / 1.28 GB, free: 14.4 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.811e-05/1.071, allocations: 4 kB / 1.28 GB, free: 14.4 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.238e-06/1.071, allocations: 3.984 kB / 1.28 GB, free: 14.39 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.178e-05/1.071, allocations: 4 kB / 1.28 GB, free: 14.39 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/1.071, allocations: 4 kB / 1.28 GB, free: 14.39 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.806e-06/1.071, allocations: 3.938 kB / 1.28 GB, free: 14.38 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003091/1.072, allocations: 211.4 kB / 1.28 GB, free: 14.16 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.727e-05/1.072, allocations: 89.05 kB / 1.28 GB, free: 14.05 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.773e-05/1.072, allocations: 0 / 1.28 GB, free: 14.05 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.476e-05/1.072, allocations: 4 kB / 1.28 GB, free: 14.05 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.82e-05/1.072, allocations: 11.92 kB / 1.28 GB, free: 14.04 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.859e-06/1.072, allocations: 4 kB / 1.28 GB, free: 14.04 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.448e-05/1.072, allocations: 95.92 kB / 1.28 GB, free: 13.94 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1e-07/1.072, allocations: 3.938 kB / 1.28 GB, free: 13.94 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002949/1.072, allocations: 35.94 kB / 1.28 GB, free: 13.9 MB / 0.9825 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.0003844/1.072, allocations: 167 kB / 1.28 GB, free: 13.75 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003062/1.073, allocations: 75.89 kB / 1.28 GB, free: 13.68 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/1.073, allocations: 0 / 1.28 GB, free: 13.68 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 9.203e-05/1.073, allocations: 27.98 kB / 1.28 GB, free: 13.65 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002554/1.073, allocations: 8.531 kB / 1.28 GB, free: 13.64 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004502/1.074, allocations: 196.2 kB / 1.28 GB, free: 13.42 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003283/1.074, allocations: 0.6925 MB / 1.281 GB, free: 12.7 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.436e-05/1.074, allocations: 4 kB / 1.281 GB, free: 12.7 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.273e-05/1.074, allocations: 19.41 kB / 1.281 GB, free: 12.68 MB / 0.9825 GB Notification: Performance of SimCode: time 3.11e-07/1.074, allocations: 0 / 1.281 GB, free: 12.68 MB / 0.9825 GB Notification: Performance of Templates: time 0.005001/1.079, allocations: 1.47 MB / 1.283 GB, free: 11.21 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.makefile [Timeout 300] (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=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe 2>&1) [Timeout 400] 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.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.213127772323787]