Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.001835/0.001835, 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.002197/0.002197, allocations: 189.3 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.477/1.477, allocations: 225.6 MB / 251 MB, free: 13.02 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.614/2.614, 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.Herkel2008WindowsTiltedOpen,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.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_10_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.003159/0.003159, allocations: 67.88 kB / 1.061 GB, free: 2.977 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9664/0.9696, allocations: 160.8 MB / 1.218 GB, free: 3.676 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen): time 0.003259/0.9728, allocations: 1.525 MB / 1.22 GB, free: 2.484 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001511/0.9743, allocations: 0.7476 MB / 1.221 GB, free: 1.906 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.971e-05/0.9744, allocations: 4 kB / 1.221 GB, free: 1.902 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.618e-05/0.9744, allocations: 3.938 kB / 1.221 GB, free: 1.898 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 5.879e-05/0.9745, allocations: 13.98 kB / 1.221 GB, free: 1.887 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007194/0.9752, allocations: 135.2 kB / 1.221 GB, free: 1.789 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001477/0.9753, allocations: 74.55 kB / 1.221 GB, free: 1.746 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 9.236e-05/0.9754, allocations: 8.219 kB / 1.221 GB, free: 1.742 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001111/0.9755, allocations: 37.8 kB / 1.221 GB, free: 1.719 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 8.035e-05/0.9756, allocations: 39.62 kB / 1.221 GB, free: 1.691 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.262e-05/0.9756, allocations: 10.16 kB / 1.221 GB, free: 1.688 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003131/0.976, allocations: 133.5 kB / 1.221 GB, free: 1.609 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 3.395e-05/0.976, allocations: 23.44 kB / 1.221 GB, free: 1.59 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 5.753e-05/0.9761, allocations: 26.45 kB / 1.221 GB, free: 1.57 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.000293/0.9763, allocations: 141.4 kB / 1.221 GB, free: 1.488 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.9764, allocations: 4 kB / 1.221 GB, free: 1.484 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.323e-06/0.9764, allocations: 0 / 1.221 GB, free: 1.484 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.162e-06/0.9764, allocations: 0 / 1.221 GB, free: 1.484 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.0007361/0.9771, allocations: 423.7 kB / 1.222 GB, free: 1.047 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.722e-05/0.9771, allocations: 13.47 kB / 1.222 GB, free: 1.043 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.63e-05/0.9772, allocations: 9.266 kB / 1.222 GB, free: 1.039 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001656/0.9773, allocations: 176.1 kB / 1.222 GB, free: 0.832 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.38e-05/0.9774, allocations: 2.469 kB / 1.222 GB, free: 0.832 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.993e-05/0.9774, allocations: 12.58 kB / 1.222 GB, free: 0.8242 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001948/0.9776, allocations: 72.08 kB / 1.222 GB, free: 0.7656 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.478e-06/0.9776, allocations: 0 / 1.222 GB, free: 0.7656 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.219e-05/0.9776, allocations: 5.125 kB / 1.222 GB, free: 0.7617 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.9776, allocations: 0 / 1.222 GB, free: 0.7617 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001268/0.9777, allocations: 41.03 kB / 1.222 GB, free: 0.7422 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006379/0.9784, allocations: 317.1 kB / 1.222 GB, free: 424 kB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001334/0.9785, allocations: 42.97 kB / 1.222 GB, free: 388 kB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.255e-05/0.9786, allocations: 30.03 kB / 1.222 GB, free: 368 kB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.101e-05/0.9786, allocations: 5.031 kB / 1.222 GB, free: 364 kB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002048/0.9788, allocations: 73.66 kB / 1.222 GB, free: 296 kB / 0.92 GB Notification: Performance of pre-optimization done (n=7): time 1.343e-06/0.9788, allocations: 0 / 1.222 GB, free: 296 kB / 0.92 GB Notification: Performance of matching and sorting (n=7): time 0.000407/0.9792, allocations: 144.6 kB / 1.223 GB, free: 208 kB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.955e-05/0.9793, allocations: 57.98 kB / 1.223 GB, free: 140 kB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001142/0.9794, allocations: 120.7 kB / 1.223 GB, free: 24 kB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 4.103e-05/0.9794, allocations: 30.8 kB / 1.223 GB, free: 15.99 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 6.611e-05/0.9795, allocations: 94.33 kB / 1.223 GB, free: 15.89 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.423e-05/0.9795, allocations: 19.38 kB / 1.223 GB, free: 15.88 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.226e-05/0.9796, allocations: 24.98 kB / 1.223 GB, free: 15.86 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001398/0.9797, allocations: 320.8 kB / 1.223 GB, free: 15.54 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.989e-05/0.9798, allocations: 31.5 kB / 1.223 GB, free: 15.52 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001282/0.9799, allocations: 52.05 kB / 1.223 GB, free: 15.48 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001689/0.9801, allocations: 74.05 kB / 1.223 GB, free: 15.43 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.9801, allocations: 0 / 1.223 GB, free: 15.43 MB / 0.9356 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002622/0.9804, allocations: 117.2 kB / 1.223 GB, free: 15.35 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.634e-05/0.9804, allocations: 8.969 kB / 1.224 GB, free: 15.35 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.019e-05/0.9804, allocations: 5.125 kB / 1.224 GB, free: 15.34 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.695e-05/0.9804, allocations: 1.031 kB / 1.224 GB, free: 15.34 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001196/0.9805, allocations: 17.14 kB / 1.224 GB, free: 15.34 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.432e-06/0.9806, allocations: 5.094 kB / 1.224 GB, free: 15.33 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.979e-05/0.9806, allocations: 7.312 kB / 1.224 GB, free: 15.33 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.302e-05/0.9806, allocations: 3.188 kB / 1.224 GB, free: 15.33 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.000119/0.9808, allocations: 134.3 kB / 1.224 GB, free: 15.2 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.122e-05/0.9808, allocations: 11.34 kB / 1.224 GB, free: 15.19 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.608e-05/0.9808, allocations: 5.5 kB / 1.224 GB, free: 15.18 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.9808, allocations: 1.062 kB / 1.224 GB, free: 15.18 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.012e-06/0.9808, allocations: 1.312 kB / 1.224 GB, free: 15.18 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/0.9808, allocations: 0 / 1.224 GB, free: 15.18 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005017/0.9813, allocations: 386.5 kB / 1.224 GB, free: 14.81 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.9813, allocations: 0 / 1.224 GB, free: 14.81 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.2e-05/0.9814, allocations: 4.156 kB / 1.224 GB, free: 14.81 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.9814, allocations: 4 kB / 1.224 GB, free: 14.8 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.483e-05/0.9814, allocations: 5.016 kB / 1.224 GB, free: 14.8 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.306e-06/0.9814, allocations: 0.9688 kB / 1.224 GB, free: 14.8 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.9814, allocations: 3.938 kB / 1.224 GB, free: 14.8 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003123/0.9817, allocations: 202.3 kB / 1.224 GB, free: 14.63 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 6.311e-05/0.9818, allocations: 91.17 kB / 1.224 GB, free: 14.53 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.793e-05/0.9818, allocations: 0.75 kB / 1.224 GB, free: 14.53 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.036e-05/0.9819, allocations: 7.5 kB / 1.224 GB, free: 14.52 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.124e-05/0.9819, allocations: 10.08 kB / 1.224 GB, free: 14.52 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.251e-05/0.9819, allocations: 6.188 kB / 1.224 GB, free: 14.51 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 7.223e-05/0.982, allocations: 92.17 kB / 1.224 GB, free: 14.43 MB / 0.9356 GB Notification: Performance of sort global known variables: time 8e-08/0.982, allocations: 0 / 1.224 GB, free: 14.43 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003308/0.9823, allocations: 36.53 kB / 1.225 GB, free: 14.42 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.0004304/0.9828, allocations: 179.7 kB / 1.225 GB, free: 14.29 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002634/0.983, allocations: 67.97 kB / 1.225 GB, free: 14.27 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.983, allocations: 0 / 1.225 GB, free: 14.27 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001107/0.9831, allocations: 30.48 kB / 1.225 GB, free: 14.25 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000267/0.9834, allocations: 17.27 kB / 1.225 GB, free: 14.24 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005048/0.9839, allocations: 202.2 kB / 1.225 GB, free: 14.06 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003514/0.9843, allocations: 0.6882 MB / 1.226 GB, free: 13.36 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.482e-05/0.9843, allocations: 3.281 kB / 1.226 GB, free: 13.36 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.208e-05/0.9843, allocations: 15.02 kB / 1.226 GB, free: 13.35 MB / 0.9356 GB Notification: Performance of SimCode: time 6.31e-07/0.9843, allocations: 0 / 1.226 GB, free: 13.35 MB / 0.9356 GB Notification: Performance of Templates: time 0.005209/0.9895, allocations: 1.486 MB / 1.227 GB, free: 12.58 MB / 0.9356 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe ; mkfifo Buildings_10_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe >> ../files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.sim & ./Buildings_10_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsTiltedOpen.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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.01177840307355]