Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001364/0.001364, 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.00151/0.00151, allocations: 197.4 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.468/1.468, allocations: 225.6 MB / 250.9 MB, free: 13.24 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.883/2.883, 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.Herkel2008WindowsCompletelyOpen,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.Herkel2008WindowsCompletelyOpen") translateModel(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen,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.Herkel2008WindowsCompletelyOpen") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00197/0.00197, allocations: 59.91 kB / 1.109 GB, free: 6.535 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8381/0.84, allocations: 168.7 MB / 1.274 GB, free: 4.539 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen): time 0.002773/0.8428, allocations: 1.522 MB / 1.276 GB, free: 3.012 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001364/0.8442, allocations: 0.7495 MB / 1.276 GB, free: 2.258 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.14e-05/0.8442, allocations: 0 / 1.276 GB, free: 2.258 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.464e-05/0.8442, allocations: 3.938 kB / 1.276 GB, free: 2.254 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 4.92e-05/0.8443, allocations: 11.86 kB / 1.276 GB, free: 2.242 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006094/0.8449, allocations: 119.6 kB / 1.276 GB, free: 2.125 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001363/0.845, allocations: 87.69 kB / 1.276 GB, free: 2.039 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 9.796e-05/0.8451, allocations: 11.95 kB / 1.276 GB, free: 2.027 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 8.544e-05/0.8452, allocations: 27.92 kB / 1.276 GB, free: 2 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 8.154e-05/0.8453, allocations: 43.81 kB / 1.277 GB, free: 1.957 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.861e-05/0.8453, allocations: 4 kB / 1.277 GB, free: 1.953 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002151/0.8455, allocations: 107.8 kB / 1.277 GB, free: 1.848 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.486e-05/0.8456, allocations: 15.92 kB / 1.277 GB, free: 1.832 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 5.438e-05/0.8456, allocations: 35.84 kB / 1.277 GB, free: 1.797 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002592/0.8459, allocations: 142.2 kB / 1.277 GB, free: 1.664 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.8459, allocations: 0 / 1.277 GB, free: 1.664 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.763e-06/0.8459, allocations: 7.938 kB / 1.277 GB, free: 1.656 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.542e-06/0.8459, allocations: 0 / 1.277 GB, free: 1.656 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.0007307/0.8466, allocations: 416.8 kB / 1.277 GB, free: 1.195 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.567e-05/0.8467, allocations: 8.031 kB / 1.277 GB, free: 1.188 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.406e-05/0.8467, allocations: 8.891 kB / 1.277 GB, free: 1.18 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001712/0.8469, allocations: 176.2 kB / 1.277 GB, free: 0.9688 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.426e-05/0.8469, allocations: 12.36 kB / 1.277 GB, free: 0.957 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.118e-05/0.8469, allocations: 384 / 1.277 GB, free: 0.957 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002069/0.8471, allocations: 77.97 kB / 1.278 GB, free: 0.875 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.126e-05/0.8471, allocations: 0 / 1.278 GB, free: 0.875 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.59e-05/0.8472, allocations: 3.984 kB / 1.278 GB, free: 0.8711 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.783e-06/0.8472, allocations: 4 kB / 1.278 GB, free: 0.8672 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001351/0.8473, allocations: 39.91 kB / 1.278 GB, free: 0.8281 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006838/0.848, allocations: 320.7 kB / 1.278 GB, free: 476 kB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001396/0.8481, allocations: 42.56 kB / 1.278 GB, free: 424 kB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.263e-05/0.8482, allocations: 24.97 kB / 1.278 GB, free: 396 kB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.439e-05/0.8482, allocations: 0 / 1.278 GB, free: 396 kB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002291/0.8485, allocations: 79.38 kB / 1.278 GB, free: 304 kB / 0.9669 GB Notification: Performance of pre-optimization done (n=7): time 1.272e-06/0.8485, allocations: 4 kB / 1.278 GB, free: 300 kB / 0.9669 GB Notification: Performance of matching and sorting (n=7): time 0.0004337/0.8489, allocations: 145.6 kB / 1.278 GB, free: 148 kB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.01e-05/0.849, allocations: 55.41 kB / 1.278 GB, free: 80 kB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001399/0.8491, allocations: 129.7 kB / 1.278 GB, free: 15.94 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.404e-05/0.8491, allocations: 25.7 kB / 1.278 GB, free: 15.91 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.158e-05/0.8492, allocations: 96.12 kB / 1.278 GB, free: 15.81 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.962e-05/0.8492, allocations: 11.91 kB / 1.278 GB, free: 15.8 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.811e-05/0.8493, allocations: 33.7 kB / 1.278 GB, free: 15.76 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001666/0.8494, allocations: 322.8 kB / 1.279 GB, free: 15.44 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.706e-05/0.8495, allocations: 23.98 kB / 1.279 GB, free: 15.41 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001068/0.8496, allocations: 42.56 kB / 1.279 GB, free: 15.36 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000183/0.8498, allocations: 86.78 kB / 1.279 GB, free: 15.27 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.8498, allocations: 0 / 1.279 GB, free: 15.27 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002575/0.8501, allocations: 109.5 kB / 1.279 GB, free: 15.16 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.627e-05/0.8501, allocations: 4 kB / 1.279 GB, free: 15.15 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.722e-06/0.8501, allocations: 4 kB / 1.279 GB, free: 15.15 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.6e-05/0.8501, allocations: 0 / 1.279 GB, free: 15.15 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.958e-05/0.8502, allocations: 11.98 kB / 1.279 GB, free: 15.14 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.551e-06/0.8502, allocations: 3.938 kB / 1.279 GB, free: 15.13 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.724e-05/0.8503, allocations: 16 kB / 1.279 GB, free: 15.12 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.677e-05/0.8503, allocations: 4 kB / 1.279 GB, free: 15.11 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.0001176/0.8504, allocations: 125.7 kB / 1.279 GB, free: 14.98 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.98e-05/0.8505, allocations: 7.953 kB / 1.279 GB, free: 14.97 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.371e-05/0.8505, allocations: 12.38 kB / 1.279 GB, free: 14.95 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/0.8505, allocations: 3.938 kB / 1.279 GB, free: 14.95 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.8505, allocations: 0 / 1.279 GB, free: 14.95 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.8505, allocations: 0 / 1.279 GB, free: 14.95 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005118/0.851, allocations: 386.4 kB / 1.28 GB, free: 14.52 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.851, allocations: 0 / 1.28 GB, free: 14.52 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.577e-05/0.8511, allocations: 11.98 kB / 1.28 GB, free: 14.5 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.8511, allocations: 0 / 1.28 GB, free: 14.5 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.498e-05/0.8511, allocations: 8 kB / 1.28 GB, free: 14.5 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.8511, allocations: 0 / 1.28 GB, free: 14.5 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/0.8511, allocations: 3.938 kB / 1.28 GB, free: 14.49 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003062/0.8514, allocations: 203.5 kB / 1.28 GB, free: 14.28 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.372e-05/0.8515, allocations: 92.98 kB / 1.28 GB, free: 14.17 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.095e-05/0.8515, allocations: 0 / 1.28 GB, free: 14.17 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.233e-05/0.8516, allocations: 8 kB / 1.28 GB, free: 14.16 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.067e-05/0.8516, allocations: 7.922 kB / 1.28 GB, free: 14.15 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.765e-06/0.8516, allocations: 4 kB / 1.28 GB, free: 14.15 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.122e-05/0.8517, allocations: 91.27 kB / 1.28 GB, free: 14.06 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.8517, allocations: 4 kB / 1.28 GB, free: 14.05 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003116/0.852, allocations: 35.94 kB / 1.28 GB, free: 14.02 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.000402/0.8524, allocations: 176.9 kB / 1.28 GB, free: 13.86 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002584/0.8527, allocations: 67.89 kB / 1.28 GB, free: 13.79 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.8527, allocations: 4.125 kB / 1.28 GB, free: 13.79 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001032/0.8528, allocations: 32.38 kB / 1.28 GB, free: 13.75 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002596/0.853, allocations: 7.984 kB / 1.28 GB, free: 13.75 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004502/0.8535, allocations: 196.3 kB / 1.281 GB, free: 13.53 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003705/0.8538, allocations: 0.6885 MB / 1.281 GB, free: 12.81 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.564e-05/0.8539, allocations: 8 kB / 1.281 GB, free: 12.8 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.474e-05/0.8539, allocations: 15.42 kB / 1.281 GB, free: 12.79 MB / 0.9825 GB Notification: Performance of SimCode: time 3.91e-07/0.8539, allocations: 0 / 1.281 GB, free: 12.79 MB / 0.9825 GB Notification: Performance of Templates: time 0.00464/0.8586, allocations: 1.463 MB / 1.283 GB, free: 11.34 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.sim & ./Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsCompletelyOpen.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.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: 8.764615584164858]