Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.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.001568/0.001568, allocations: 115.5 kB / 18.88 MB, free: 3.062 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.001795/0.001795, allocations: 193.8 kB / 22.17 MB, free: 5.652 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.421/1.421, allocations: 225.6 MB / 250.9 MB, free: 13.29 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.622/2.622, allocations: 443.5 MB / 0.732 GB, free: 12.56 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.Haldi2008WindowsTOut,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.Haldi2008WindowsTOut") translateModel(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut,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.Haldi2008WindowsTOut") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002565/0.002565, allocations: 67.89 kB / 1.061 GB, free: 3.238 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9614/0.964, allocations: 160.7 MB / 1.218 GB, free: 4.105 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut): time 0.003301/0.9673, allocations: 1.521 MB / 1.22 GB, free: 2.914 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.00158/0.9688, allocations: 0.7519 MB / 1.22 GB, free: 2.332 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.739e-05/0.9689, allocations: 0 / 1.22 GB, free: 2.332 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.696e-05/0.9689, allocations: 3.938 kB / 1.22 GB, free: 2.328 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 5.788e-05/0.969, allocations: 9.688 kB / 1.22 GB, free: 2.32 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006301/0.9696, allocations: 122.3 kB / 1.221 GB, free: 2.234 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001654/0.9698, allocations: 86.88 kB / 1.221 GB, free: 2.18 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001096/0.9699, allocations: 7.25 kB / 1.221 GB, free: 2.176 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000116/0.97, allocations: 29.7 kB / 1.221 GB, free: 2.16 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 8.745e-05/0.9701, allocations: 47.34 kB / 1.221 GB, free: 2.125 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.228e-05/0.9701, allocations: 7.125 kB / 1.221 GB, free: 2.125 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002459/0.9704, allocations: 103.7 kB / 1.221 GB, free: 2.07 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.886e-05/0.9704, allocations: 10.05 kB / 1.221 GB, free: 2.062 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 6.744e-05/0.9705, allocations: 40.12 kB / 1.221 GB, free: 2.031 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002785/0.9707, allocations: 139.9 kB / 1.221 GB, free: 1.945 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.616e-06/0.9707, allocations: 1.438 kB / 1.221 GB, free: 1.945 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.844e-06/0.9707, allocations: 0 / 1.221 GB, free: 1.945 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.042e-06/0.9707, allocations: 4 kB / 1.221 GB, free: 1.941 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.0007564/0.9715, allocations: 419.6 kB / 1.221 GB, free: 1.508 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.122e-05/0.9715, allocations: 9.438 kB / 1.221 GB, free: 1.508 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.937e-05/0.9716, allocations: 12.77 kB / 1.221 GB, free: 1.5 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001509/0.9717, allocations: 175.8 kB / 1.222 GB, free: 1.293 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.032e-05/0.9718, allocations: 2.781 kB / 1.222 GB, free: 1.293 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.535e-05/0.9718, allocations: 7.797 kB / 1.222 GB, free: 1.289 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002035/0.972, allocations: 77.03 kB / 1.222 GB, free: 1.227 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.056e-05/0.972, allocations: 0 / 1.222 GB, free: 1.227 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.428e-05/0.972, allocations: 1.062 kB / 1.222 GB, free: 1.227 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.129e-06/0.972, allocations: 0.9375 kB / 1.222 GB, free: 1.227 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001392/0.9722, allocations: 36.06 kB / 1.222 GB, free: 1.211 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006759/0.9728, allocations: 318.1 kB / 1.222 GB, free: 0.8828 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001463/0.973, allocations: 45.84 kB / 1.222 GB, free: 0.8438 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.777e-05/0.9731, allocations: 26.44 kB / 1.222 GB, free: 0.8281 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.44e-05/0.9731, allocations: 1 kB / 1.222 GB, free: 0.8281 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002347/0.9733, allocations: 77.75 kB / 1.222 GB, free: 0.7578 MB / 0.92 GB Notification: Performance of pre-optimization done (n=7): time 1.473e-06/0.9733, allocations: 0 / 1.222 GB, free: 0.7578 MB / 0.92 GB Notification: Performance of matching and sorting (n=7): time 0.0004448/0.9738, allocations: 156 kB / 1.222 GB, free: 0.6602 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001417/0.9739, allocations: 57.56 kB / 1.222 GB, free: 0.5938 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001187/0.974, allocations: 124.2 kB / 1.222 GB, free: 488 kB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.253e-05/0.9741, allocations: 27.02 kB / 1.223 GB, free: 456 kB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 7.255e-05/0.9741, allocations: 98.55 kB / 1.223 GB, free: 356 kB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.991e-05/0.9742, allocations: 11.06 kB / 1.223 GB, free: 348 kB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.909e-05/0.9742, allocations: 30.52 kB / 1.223 GB, free: 320 kB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001761/0.9744, allocations: 324.8 kB / 1.223 GB, free: 15.99 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.623e-05/0.9745, allocations: 26.44 kB / 1.223 GB, free: 15.98 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001015/0.9746, allocations: 48.5 kB / 1.223 GB, free: 15.94 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001763/0.9748, allocations: 77.77 kB / 1.223 GB, free: 15.88 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.9748, allocations: 0 / 1.223 GB, free: 15.88 MB / 0.9356 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002539/0.975, allocations: 108.7 kB / 1.223 GB, free: 15.82 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.72e-05/0.975, allocations: 8.438 kB / 1.223 GB, free: 15.82 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.975, allocations: 1.094 kB / 1.223 GB, free: 15.82 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.64e-05/0.9751, allocations: 1.156 kB / 1.223 GB, free: 15.82 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.62e-05/0.9752, allocations: 12.98 kB / 1.223 GB, free: 15.81 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.716e-06/0.9752, allocations: 4.656 kB / 1.223 GB, free: 15.81 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.292e-05/0.9752, allocations: 12.38 kB / 1.223 GB, free: 15.8 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.498e-05/0.9752, allocations: 2.938 kB / 1.223 GB, free: 15.8 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.0001128/0.9754, allocations: 123.1 kB / 1.223 GB, free: 15.68 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.039e-05/0.9754, allocations: 11.22 kB / 1.223 GB, free: 15.67 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.06e-05/0.9754, allocations: 9.469 kB / 1.223 GB, free: 15.66 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.005e-06/0.9754, allocations: 1.219 kB / 1.223 GB, free: 15.66 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/0.9754, allocations: 0 / 1.223 GB, free: 15.66 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.529e-06/0.9754, allocations: 5.125 kB / 1.223 GB, free: 15.66 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005193/0.9759, allocations: 394.5 kB / 1.224 GB, free: 15.27 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.9759, allocations: 0 / 1.224 GB, free: 15.27 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.87e-05/0.976, allocations: 3.219 kB / 1.224 GB, free: 15.27 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.976, allocations: 1.188 kB / 1.224 GB, free: 15.27 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.643e-05/0.976, allocations: 9.062 kB / 1.224 GB, free: 15.27 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.976, allocations: 0 / 1.224 GB, free: 15.27 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.247e-06/0.976, allocations: 5.031 kB / 1.224 GB, free: 15.26 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003373/0.9763, allocations: 209.9 kB / 1.224 GB, free: 15.09 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.955e-05/0.9764, allocations: 87.36 kB / 1.224 GB, free: 14.99 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.164e-05/0.9764, allocations: 9.062 kB / 1.224 GB, free: 14.98 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.741e-05/0.9765, allocations: 1.969 kB / 1.224 GB, free: 14.98 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.606e-05/0.9766, allocations: 11.17 kB / 1.224 GB, free: 14.97 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.488e-06/0.9766, allocations: 2.031 kB / 1.224 GB, free: 14.97 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 6.407e-05/0.9766, allocations: 91.98 kB / 1.224 GB, free: 14.89 MB / 0.9356 GB Notification: Performance of sort global known variables: time 9e-08/0.9766, allocations: 1.219 kB / 1.224 GB, free: 14.89 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003064/0.9769, allocations: 39.28 kB / 1.224 GB, free: 14.88 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.0004065/0.9774, allocations: 160.4 kB / 1.224 GB, free: 14.77 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002665/0.9776, allocations: 68.42 kB / 1.224 GB, free: 14.74 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.9776, allocations: 128 / 1.224 GB, free: 14.74 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.000101/0.9777, allocations: 34.27 kB / 1.224 GB, free: 14.73 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002592/0.978, allocations: 15.62 kB / 1.224 GB, free: 14.72 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004671/0.9785, allocations: 200.1 kB / 1.225 GB, free: 14.55 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000353/0.9788, allocations: 0.6887 MB / 1.225 GB, free: 13.84 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.652e-05/0.9788, allocations: 7.281 kB / 1.225 GB, free: 13.84 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.531e-05/0.9789, allocations: 14.36 kB / 1.225 GB, free: 13.83 MB / 0.9356 GB Notification: Performance of SimCode: time 3.21e-07/0.9789, allocations: 0.8438 kB / 1.225 GB, free: 13.83 MB / 0.9356 GB Notification: Performance of Templates: time 0.005238/0.9841, allocations: 1.476 MB / 1.227 GB, free: 13.06 MB / 0.9356 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe ; mkfifo Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe >> ../files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.sim & ./Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTOut.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.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.540925924666226]