Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.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.001763/0.001763, 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.001997/0.001997, 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.539/1.539, allocations: 225.6 MB / 249.4 MB, free: 3.164 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.915/2.915, 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.Haldi2008WindowsTIn,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|win.TIn|win.occ|win.p|win.on",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn") translateModel(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|win.TIn|win.occ|win.p|win.on",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002046/0.002046, allocations: 67.89 kB / 1.136 GB, free: 12.44 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.266/1.268, allocations: 173.7 MB / 1.305 GB, free: 33.37 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn): time 0.003578/1.272, allocations: 1.52 MB / 1.307 GB, free: 32.32 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001636/1.273, allocations: 0.7427 MB / 1.308 GB, free: 31.82 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.859e-05/1.273, allocations: 0 / 1.308 GB, free: 31.82 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.953e-05/1.273, allocations: 11.88 kB / 1.308 GB, free: 31.81 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 7.642e-05/1.273, allocations: 10.08 kB / 1.308 GB, free: 31.81 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008136/1.274, allocations: 124.3 kB / 1.308 GB, free: 31.75 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001751/1.274, allocations: 83.83 kB / 1.308 GB, free: 31.71 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001423/1.275, allocations: 6.75 kB / 1.308 GB, free: 31.7 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001164/1.275, allocations: 32.78 kB / 1.308 GB, free: 31.69 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 8.066e-05/1.275, allocations: 41.69 kB / 1.308 GB, free: 31.67 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.625e-05/1.275, allocations: 5.875 kB / 1.308 GB, free: 31.67 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002347/1.275, allocations: 109 kB / 1.308 GB, free: 31.64 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 3.347e-05/1.275, allocations: 21.77 kB / 1.308 GB, free: 31.62 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 5.893e-05/1.275, allocations: 32.66 kB / 1.308 GB, free: 31.6 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002958/1.275, allocations: 144.1 kB / 1.308 GB, free: 31.56 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 6.993e-06/1.275, allocations: 0 / 1.308 GB, free: 31.56 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.174e-06/1.275, allocations: 0 / 1.308 GB, free: 31.56 MB / 1.061 GB Notification: Performance of Transformations before backend: time 9.187e-06/1.275, 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.0008118/1.276, allocations: 422 kB / 1.309 GB, free: 31.14 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 5.299e-05/1.276, allocations: 12.53 kB / 1.309 GB, free: 31.14 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.306e-05/1.276, allocations: 11.73 kB / 1.309 GB, free: 31.13 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00016/1.277, allocations: 170.6 kB / 1.309 GB, free: 30.93 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.039e-05/1.277, allocations: 7.375 kB / 1.309 GB, free: 30.93 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.199e-05/1.277, allocations: 6.125 kB / 1.309 GB, free: 30.93 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002243/1.277, allocations: 68.17 kB / 1.309 GB, free: 30.88 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.455e-05/1.277, allocations: 0 / 1.309 GB, free: 30.88 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.671e-05/1.277, allocations: 4 kB / 1.309 GB, free: 30.88 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.494e-06/1.277, allocations: 2.875 kB / 1.309 GB, free: 30.88 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001155/1.277, allocations: 34.94 kB / 1.309 GB, free: 30.87 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006/1.278, allocations: 327.8 kB / 1.309 GB, free: 30.56 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000119/1.278, allocations: 39.61 kB / 1.309 GB, free: 30.54 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.466e-05/1.278, allocations: 30.59 kB / 1.309 GB, free: 30.52 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 3.186e-05/1.278, allocations: 0 / 1.309 GB, free: 30.52 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002485/1.278, allocations: 86.62 kB / 1.309 GB, free: 30.45 MB / 1.061 GB Notification: Performance of pre-optimization done (n=7): time 1.373e-06/1.278, allocations: 6.781 kB / 1.309 GB, free: 30.45 MB / 1.061 GB Notification: Performance of matching and sorting (n=7): time 0.0003904/1.278, allocations: 131.7 kB / 1.31 GB, free: 30.39 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.096e-05/1.278, allocations: 54.34 kB / 1.31 GB, free: 30.33 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.634e-05/1.279, allocations: 123 kB / 1.31 GB, free: 30.22 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.157e-05/1.279, allocations: 29.7 kB / 1.31 GB, free: 30.18 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 4.461e-05/1.279, allocations: 94.84 kB / 1.31 GB, free: 30.09 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.876e-05/1.279, allocations: 17.86 kB / 1.31 GB, free: 30.08 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.586e-05/1.279, allocations: 29.02 kB / 1.31 GB, free: 30.05 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 7.242e-05/1.279, allocations: 324.2 kB / 1.31 GB, free: 29.73 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.354e-05/1.279, allocations: 20.66 kB / 1.31 GB, free: 29.73 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.612e-05/1.279, allocations: 60.16 kB / 1.31 GB, free: 29.68 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001405/1.279, allocations: 77.64 kB / 1.31 GB, free: 29.63 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/1.279, allocations: 0 / 1.31 GB, free: 29.63 MB / 1.061 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002027/1.279, allocations: 114.8 kB / 1.31 GB, free: 29.57 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.573e-05/1.279, allocations: 17.47 kB / 1.31 GB, free: 29.57 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/1.279, allocations: 4.062 kB / 1.31 GB, free: 29.56 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.852e-05/1.279, allocations: 0 / 1.31 GB, free: 29.56 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.599e-05/1.279, allocations: 16.23 kB / 1.31 GB, free: 29.56 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.177e-06/1.279, allocations: 3.25 kB / 1.31 GB, free: 29.56 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.334e-05/1.279, allocations: 6.891 kB / 1.31 GB, free: 29.55 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.775e-05/1.28, allocations: 10.86 kB / 1.31 GB, free: 29.55 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 9 (win.curSeed,$PRE.win.curSeed,occ.y,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 7.728e-05/1.28, allocations: 130.1 kB / 1.311 GB, free: 29.42 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.534e-05/1.28, allocations: 10.86 kB / 1.311 GB, free: 29.41 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.925e-05/1.28, allocations: 11.25 kB / 1.311 GB, free: 29.41 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.225e-06/1.28, allocations: 0 / 1.311 GB, free: 29.41 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/1.28, allocations: 0 / 1.311 GB, free: 29.41 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.45e-06/1.28, allocations: 2.75 kB / 1.311 GB, free: 29.41 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004024/1.28, allocations: 391.4 kB / 1.311 GB, free: 29.06 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/1.28, allocations: 0 / 1.311 GB, free: 29.06 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.585e-05/1.28, allocations: 2.531 kB / 1.311 GB, free: 29.06 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.406e-06/1.28, allocations: 6.594 kB / 1.311 GB, free: 29.05 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.432e-05/1.28, allocations: 3.141 kB / 1.311 GB, free: 29.05 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/1.28, allocations: 3.938 kB / 1.311 GB, free: 29.05 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/1.28, allocations: 0 / 1.311 GB, free: 29.05 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002346/1.28, allocations: 199.6 kB / 1.311 GB, free: 28.9 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.818e-05/1.28, allocations: 83.84 kB / 1.311 GB, free: 28.8 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.285e-05/1.28, allocations: 7.281 kB / 1.311 GB, free: 28.8 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.195e-05/1.28, allocations: 10.72 kB / 1.311 GB, free: 28.79 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.363e-05/1.281, allocations: 6.141 kB / 1.311 GB, free: 28.79 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.091e-05/1.281, allocations: 2.875 kB / 1.311 GB, free: 28.79 MB / 1.061 GB Notification: Performance of sorting global known variables: time 3.905e-05/1.281, allocations: 95.19 kB / 1.311 GB, free: 28.71 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/1.281, allocations: 0 / 1.311 GB, free: 28.71 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002968/1.281, allocations: 43.8 kB / 1.311 GB, free: 28.7 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,occ.y,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.0003704/1.281, allocations: 164 kB / 1.312 GB, free: 28.59 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002432/1.281, allocations: 70.09 kB / 1.312 GB, free: 28.57 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/1.281, allocations: 0 / 1.312 GB, free: 28.57 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 8.576e-05/1.282, allocations: 34.91 kB / 1.312 GB, free: 28.56 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002514/1.282, allocations: 7 kB / 1.312 GB, free: 28.55 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003816/1.282, allocations: 196.5 kB / 1.312 GB, free: 28.39 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001267/1.282, allocations: 0.687 MB / 1.313 GB, free: 27.7 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 3.579e-05/1.282, allocations: 11.64 kB / 1.313 GB, free: 27.7 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.577e-05/1.282, allocations: 10.38 kB / 1.313 GB, free: 27.69 MB / 1.061 GB Notification: Performance of SimCode: time 3.51e-07/1.282, allocations: 0 / 1.313 GB, free: 27.69 MB / 1.061 GB Notification: Performance of Templates: time 0.004226/1.287, allocations: 1.485 MB / 1.314 GB, free: 27.53 MB / 1.061 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.sim & ./Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTIn.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" Variables in the reference:time,win.TIn,win.occ,win.p,win.on Variables in the result:TIn.amplitude,TIn.f,TIn.offset,TIn.phase,TIn.startTime,occ.startTime,occ.startValue,occ.y,time,win.A,win.B,win.TIn,win.occ,win.on,win.p,win.samplePeriod,win.seed,win.t0 [Calling sys.exit(0), Time elapsed: 10.058169312775135]