Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001993/0.001993, allocations: 113.8 kB / 17.61 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.002321/0.002321, allocations: 186 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.583/1.583, allocations: 225.6 MB / 249.4 MB, free: 3.156 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.991/2.991, allocations: 496.2 MB / 0.7819 GB, free: 12.29 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_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_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002065/0.002065, allocations: 67.88 kB / 1.136 GB, free: 12.46 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.353/1.355, allocations: 173.7 MB / 1.305 GB, free: 33.37 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen): time 0.002765/1.358, allocations: 1.524 MB / 1.307 GB, free: 32.32 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001133/1.359, allocations: 0.7384 MB / 1.308 GB, free: 31.83 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.031e-05/1.359, allocations: 3.938 kB / 1.308 GB, free: 31.82 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.148e-05/1.359, allocations: 3.938 kB / 1.308 GB, free: 31.82 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 4.817e-05/1.359, allocations: 18.42 kB / 1.308 GB, free: 31.8 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004672/1.359, allocations: 123.3 kB / 1.308 GB, free: 31.74 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 9.846e-05/1.359, allocations: 74.23 kB / 1.308 GB, free: 31.71 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 8.763e-05/1.359, allocations: 11.12 kB / 1.308 GB, free: 31.71 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 7.682e-05/1.36, allocations: 34.05 kB / 1.308 GB, free: 31.69 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 5.804e-05/1.36, allocations: 37.94 kB / 1.308 GB, free: 31.68 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.733e-05/1.36, allocations: 5.531 kB / 1.308 GB, free: 31.68 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001697/1.36, allocations: 110.9 kB / 1.308 GB, free: 31.64 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.191e-05/1.36, allocations: 13.98 kB / 1.308 GB, free: 31.63 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 4.129e-05/1.36, allocations: 35.09 kB / 1.308 GB, free: 31.61 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002031/1.36, allocations: 148.5 kB / 1.308 GB, free: 31.56 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/1.36, allocations: 0 / 1.308 GB, free: 31.56 MB / 1.061 GB Notification: Performance of FrontEnd: time 9.72e-07/1.36, allocations: 0 / 1.308 GB, free: 31.56 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.069e-05/1.36, allocations: 0 / 1.308 GB, free: 31.56 MB / 1.061 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.0005075/1.361, allocations: 421.4 kB / 1.309 GB, free: 31.14 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 2.954e-05/1.361, allocations: 9.062 kB / 1.309 GB, free: 31.14 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.123e-05/1.361, allocations: 10.89 kB / 1.309 GB, free: 31.14 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.038e-05/1.361, allocations: 174.8 kB / 1.309 GB, free: 30.93 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.749e-05/1.361, allocations: 11.25 kB / 1.309 GB, free: 30.93 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.439e-05/1.361, allocations: 3.188 kB / 1.309 GB, free: 30.93 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001561/1.361, allocations: 68.97 kB / 1.309 GB, free: 30.88 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.407e-06/1.361, allocations: 0 / 1.309 GB, free: 30.88 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.149e-05/1.361, allocations: 6.719 kB / 1.309 GB, free: 30.88 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.118e-06/1.361, allocations: 4 kB / 1.309 GB, free: 30.88 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001083/1.361, allocations: 40.17 kB / 1.309 GB, free: 30.86 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005023/1.362, allocations: 319.8 kB / 1.309 GB, free: 30.57 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001017/1.362, allocations: 44.27 kB / 1.309 GB, free: 30.53 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.798e-05/1.362, allocations: 33.84 kB / 1.309 GB, free: 30.52 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.109e-05/1.362, allocations: 0 / 1.309 GB, free: 30.52 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001709/1.362, allocations: 88.22 kB / 1.309 GB, free: 30.45 MB / 1.061 GB Notification: Performance of pre-optimization done (n=7): time 1.022e-06/1.362, allocations: 0 / 1.309 GB, free: 30.45 MB / 1.061 GB Notification: Performance of matching and sorting (n=7): time 0.0003253/1.362, allocations: 134.4 kB / 1.31 GB, free: 30.39 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.556e-05/1.362, allocations: 54.34 kB / 1.31 GB, free: 30.32 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.47e-05/1.362, allocations: 126.1 kB / 1.31 GB, free: 30.21 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.095e-05/1.362, allocations: 28.7 kB / 1.31 GB, free: 30.18 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 3.899e-05/1.362, allocations: 87.56 kB / 1.31 GB, free: 30.09 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.467e-05/1.362, allocations: 18.81 kB / 1.31 GB, free: 30.08 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.095e-05/1.362, allocations: 29.77 kB / 1.31 GB, free: 30.05 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 5.232e-05/1.363, allocations: 324.9 kB / 1.31 GB, free: 29.73 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.787e-05/1.363, allocations: 25.81 kB / 1.31 GB, free: 29.73 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.42e-05/1.363, allocations: 46.45 kB / 1.31 GB, free: 29.7 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001251/1.363, allocations: 72.2 kB / 1.31 GB, free: 29.65 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.492e-06/1.363, allocations: 0 / 1.31 GB, free: 29.65 MB / 1.061 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001927/1.363, allocations: 117.5 kB / 1.31 GB, free: 29.59 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.486e-05/1.363, allocations: 7.719 kB / 1.31 GB, free: 29.59 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.496e-06/1.363, allocations: 0 / 1.31 GB, free: 29.59 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.338e-05/1.363, allocations: 2.906 kB / 1.31 GB, free: 29.59 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.294e-05/1.363, allocations: 19.69 kB / 1.31 GB, free: 29.58 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.719e-06/1.363, allocations: 0 / 1.31 GB, free: 29.58 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.888e-05/1.363, allocations: 9.875 kB / 1.31 GB, free: 29.57 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.311e-05/1.363, allocations: 9.891 kB / 1.31 GB, free: 29.57 MB / 1.061 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 6.178e-05/1.363, allocations: 120.6 kB / 1.311 GB, free: 29.45 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.434e-05/1.363, allocations: 6.734 kB / 1.311 GB, free: 29.44 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.24e-05/1.363, allocations: 14.48 kB / 1.311 GB, free: 29.43 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.442e-06/1.363, allocations: 0 / 1.311 GB, free: 29.43 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/1.363, allocations: 6.812 kB / 1.311 GB, free: 29.43 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.435e-06/1.363, allocations: 0 / 1.311 GB, free: 29.43 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003416/1.364, allocations: 383.4 kB / 1.311 GB, free: 29.09 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/1.364, allocations: 0 / 1.311 GB, free: 29.09 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.515e-05/1.364, allocations: 9.156 kB / 1.311 GB, free: 29.09 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/1.364, allocations: 0 / 1.311 GB, free: 29.09 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.426e-06/1.364, allocations: 0 / 1.311 GB, free: 29.09 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.183e-06/1.364, allocations: 0 / 1.311 GB, free: 29.09 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/1.364, allocations: 6.875 kB / 1.311 GB, free: 29.08 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002043/1.364, allocations: 215.7 kB / 1.311 GB, free: 28.92 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.164e-05/1.364, allocations: 83.91 kB / 1.311 GB, free: 28.82 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.476e-05/1.364, allocations: 0 / 1.311 GB, free: 28.82 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.05e-05/1.364, allocations: 16.44 kB / 1.311 GB, free: 28.81 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.552e-05/1.364, allocations: 10.66 kB / 1.311 GB, free: 28.8 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.746e-06/1.364, allocations: 3.328 kB / 1.311 GB, free: 28.8 MB / 1.061 GB Notification: Performance of sorting global known variables: time 3.598e-05/1.364, allocations: 97.39 kB / 1.311 GB, free: 28.72 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/1.364, allocations: 0 / 1.311 GB, free: 28.72 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002681/1.364, allocations: 36.97 kB / 1.311 GB, free: 28.71 MB / 1.061 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.0002796/1.365, allocations: 158.5 kB / 1.312 GB, free: 28.61 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0001948/1.365, allocations: 77.23 kB / 1.312 GB, free: 28.59 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.072e-06/1.365, allocations: 0 / 1.312 GB, free: 28.59 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 7.498e-05/1.365, allocations: 32.34 kB / 1.312 GB, free: 28.57 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002228/1.365, allocations: 9.016 kB / 1.312 GB, free: 28.57 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003026/1.365, allocations: 194.1 kB / 1.312 GB, free: 28.42 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001318/1.366, allocations: 0.6906 MB / 1.313 GB, free: 27.72 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 2.893e-05/1.366, allocations: 5.375 kB / 1.313 GB, free: 27.72 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.189e-05/1.366, allocations: 10.34 kB / 1.313 GB, free: 27.71 MB / 1.061 GB Notification: Performance of SimCode: time 4.91e-07/1.366, allocations: 0 / 1.313 GB, free: 27.71 MB / 1.061 GB Notification: Performance of Templates: time 0.004124/1.37, allocations: 1.485 MB / 1.314 GB, free: 27.55 MB / 1.061 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.sim & ./Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsTiltedOpen.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 10.25804784335196]