Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.001344/0.001344, allocations: 110 kB / 18.93 MB, free: 2.945 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.001659/0.001659, allocations: 188.4 kB / 22.23 MB, free: 5.16 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.564/1.564, allocations: 225.6 MB / 251 MB, free: 13.01 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.769/2.769, allocations: 443.4 MB / 0.7321 GB, free: 12.26 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.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_10_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_10_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002238/0.002238, allocations: 67.89 kB / 1.061 GB, free: 2.977 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9301/0.9323, allocations: 160.8 MB / 1.218 GB, free: 3.719 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall): time 0.002822/0.9351, allocations: 1.52 MB / 1.22 GB, free: 2.535 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001408/0.9366, allocations: 0.7505 MB / 1.221 GB, free: 1.953 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.194e-05/0.9366, allocations: 1.125 kB / 1.221 GB, free: 1.953 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.651e-05/0.9366, allocations: 3.938 kB / 1.221 GB, free: 1.949 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 5.976e-05/0.9367, allocations: 17.88 kB / 1.221 GB, free: 1.934 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006137/0.9373, allocations: 131.5 kB / 1.221 GB, free: 1.84 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.000127/0.9374, allocations: 74.45 kB / 1.221 GB, free: 1.797 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 9.316e-05/0.9375, allocations: 12.02 kB / 1.221 GB, free: 1.789 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 8.93e-05/0.9376, allocations: 29.77 kB / 1.221 GB, free: 1.773 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 7.972e-05/0.9377, allocations: 43.91 kB / 1.221 GB, free: 1.742 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.249e-05/0.9377, allocations: 6.062 kB / 1.221 GB, free: 1.742 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002859/0.938, allocations: 137.1 kB / 1.221 GB, free: 1.66 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 3.022e-05/0.938, allocations: 23.5 kB / 1.221 GB, free: 1.641 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 5.817e-05/0.9381, allocations: 31.14 kB / 1.221 GB, free: 1.617 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002501/0.9383, allocations: 140.2 kB / 1.221 GB, free: 1.535 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.9383, allocations: 1.188 kB / 1.221 GB, free: 1.535 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.272e-06/0.9383, allocations: 0 / 1.221 GB, free: 1.535 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.741e-06/0.9384, allocations: 0 / 1.221 GB, free: 1.535 MB / 0.92 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.0006976/0.9391, allocations: 423.6 kB / 1.222 GB, free: 1.098 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.668e-05/0.9391, allocations: 9.312 kB / 1.222 GB, free: 1.098 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.729e-05/0.9391, allocations: 9.172 kB / 1.222 GB, free: 1.094 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001517/0.9393, allocations: 179.3 kB / 1.222 GB, free: 0.8828 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.611e-05/0.9393, allocations: 3.469 kB / 1.222 GB, free: 0.8828 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.606e-05/0.9393, allocations: 3.531 kB / 1.222 GB, free: 0.8828 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000192/0.9395, allocations: 72.38 kB / 1.222 GB, free: 0.8242 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.055e-05/0.9395, allocations: 5.062 kB / 1.222 GB, free: 0.8203 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.18e-05/0.9395, allocations: 0 / 1.222 GB, free: 0.8203 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.9395, allocations: 1.312 kB / 1.222 GB, free: 0.8203 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001323/0.9397, allocations: 40.8 kB / 1.222 GB, free: 0.8008 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006473/0.9403, allocations: 321.4 kB / 1.222 GB, free: 480 kB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001304/0.9405, allocations: 46.3 kB / 1.222 GB, free: 440 kB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.2e-05/0.9405, allocations: 30.41 kB / 1.222 GB, free: 420 kB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.215e-05/0.9406, allocations: 5.031 kB / 1.222 GB, free: 416 kB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001998/0.9408, allocations: 77.34 kB / 1.222 GB, free: 344 kB / 0.92 GB Notification: Performance of pre-optimization done (n=7): time 1.362e-06/0.9408, allocations: 0 / 1.222 GB, free: 344 kB / 0.92 GB Notification: Performance of matching and sorting (n=7): time 0.0004117/0.9412, allocations: 148.2 kB / 1.223 GB, free: 252 kB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.953e-05/0.9412, allocations: 53.62 kB / 1.223 GB, free: 188 kB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001125/0.9413, allocations: 120.9 kB / 1.223 GB, free: 72 kB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.275e-05/0.9414, allocations: 30.7 kB / 1.223 GB, free: 36 kB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 7.909e-05/0.9414, allocations: 95.19 kB / 1.223 GB, free: 15.94 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.424e-05/0.9415, allocations: 18.14 kB / 1.223 GB, free: 15.93 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.063e-05/0.9415, allocations: 22.75 kB / 1.223 GB, free: 15.91 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001452/0.9417, allocations: 323.8 kB / 1.223 GB, free: 15.58 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.016e-05/0.9417, allocations: 26.61 kB / 1.223 GB, free: 15.57 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.983e-05/0.9418, allocations: 53.61 kB / 1.223 GB, free: 15.53 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001619/0.942, allocations: 73.25 kB / 1.223 GB, free: 15.48 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.977e-06/0.942, allocations: 4 kB / 1.223 GB, free: 15.47 MB / 0.9356 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002351/0.9422, allocations: 113.5 kB / 1.223 GB, free: 15.4 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.622e-05/0.9423, allocations: 5.031 kB / 1.224 GB, free: 15.4 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.9423, allocations: 1.062 kB / 1.224 GB, free: 15.4 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.625e-05/0.9423, allocations: 9.031 kB / 1.224 GB, free: 15.39 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001003/0.9424, allocations: 16.77 kB / 1.224 GB, free: 15.39 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.312e-06/0.9424, allocations: 5.031 kB / 1.224 GB, free: 15.38 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.902e-05/0.9425, allocations: 12.42 kB / 1.224 GB, free: 15.38 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.318e-05/0.9425, allocations: 3.312 kB / 1.224 GB, free: 15.38 MB / 0.9356 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.0001036/0.9426, allocations: 122.1 kB / 1.224 GB, free: 15.25 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.718e-05/0.9426, allocations: 7.453 kB / 1.224 GB, free: 15.25 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.607e-05/0.9426, allocations: 13.19 kB / 1.224 GB, free: 15.23 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.714e-06/0.9426, allocations: 1.125 kB / 1.224 GB, free: 15.23 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/0.9426, allocations: 1.125 kB / 1.224 GB, free: 15.23 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.9426, allocations: 3.984 kB / 1.224 GB, free: 15.23 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004757/0.9431, allocations: 379.2 kB / 1.224 GB, free: 14.86 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.038e-06/0.9431, allocations: 3.984 kB / 1.224 GB, free: 14.86 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.812e-05/0.9431, allocations: 3.281 kB / 1.224 GB, free: 14.86 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-06/0.9431, allocations: 1.062 kB / 1.224 GB, free: 14.86 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.125e-05/0.9432, allocations: 1.094 kB / 1.224 GB, free: 14.86 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.9432, allocations: 4 kB / 1.224 GB, free: 14.86 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.9432, allocations: 5.031 kB / 1.224 GB, free: 14.85 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002957/0.9435, allocations: 209.7 kB / 1.224 GB, free: 14.68 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.752e-05/0.9435, allocations: 86.28 kB / 1.224 GB, free: 14.58 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.682e-05/0.9435, allocations: 1.125 kB / 1.224 GB, free: 14.58 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.306e-05/0.9436, allocations: 6.922 kB / 1.224 GB, free: 14.57 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.853e-05/0.9437, allocations: 14.2 kB / 1.224 GB, free: 14.56 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.232e-05/0.9437, allocations: 6.453 kB / 1.224 GB, free: 14.56 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 5.875e-05/0.9437, allocations: 99.92 kB / 1.224 GB, free: 14.47 MB / 0.9356 GB Notification: Performance of sort global known variables: time 9e-08/0.9437, allocations: 1.125 kB / 1.224 GB, free: 14.47 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003175/0.944, allocations: 31.62 kB / 1.225 GB, free: 14.46 MB / 0.9356 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.0004022/0.9444, allocations: 170.7 kB / 1.225 GB, free: 14.34 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002444/0.9447, allocations: 75.62 kB / 1.225 GB, free: 14.31 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.9447, allocations: 0 / 1.225 GB, free: 14.31 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 9.519e-05/0.9448, allocations: 27.02 kB / 1.225 GB, free: 14.3 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002724/0.9451, allocations: 9.375 kB / 1.225 GB, free: 14.3 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004706/0.9455, allocations: 198.1 kB / 1.225 GB, free: 14.12 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003243/0.9459, allocations: 0.6887 MB / 1.226 GB, free: 13.42 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.609e-05/0.9459, allocations: 3.281 kB / 1.226 GB, free: 13.42 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.926e-05/0.9459, allocations: 10.91 kB / 1.226 GB, free: 13.41 MB / 0.9356 GB Notification: Performance of SimCode: time 3.21e-07/0.9459, allocations: 0 / 1.226 GB, free: 13.41 MB / 0.9356 GB Notification: Performance of Templates: time 0.004811/0.9507, allocations: 1.491 MB / 1.227 GB, free: 12.64 MB / 0.9356 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe ; mkfifo Buildings_10_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe >> ../files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.sim & ./Buildings_10_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsSmall.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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.187395394779742]