Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001412/0.001412, allocations: 84.91 kB / 19.76 MB, free: 2.023 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001539/0.001539, allocations: 157.2 kB / 23.01 MB, free: 4.961 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.447/1.447, allocations: 177.2 MB / 203.4 MB, free: 8.961 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.819/2.819, allocations: 359.1 MB / 0.6044 GB, free: 14.91 MB / 0.5762 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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_11_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_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003462/0.003462, allocations: 67.89 kB / 0.9515 GB, free: 12.84 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.382/0.3855, allocations: 169.9 MB / 1.117 GB, free: 2.609 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn): time 0.003224/0.3887, allocations: 1.517 MB / 1.119 GB, free: 1.078 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001625/0.3903, allocations: 0.7674 MB / 1.12 GB, free: 312 kB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.409e-05/0.3904, allocations: 0 / 1.12 GB, free: 312 kB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.421e-05/0.3904, allocations: 3.938 kB / 1.12 GB, free: 308 kB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 6.32e-05/0.3905, allocations: 7.875 kB / 1.12 GB, free: 300 kB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007065/0.3912, allocations: 151.5 kB / 1.12 GB, free: 148 kB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001392/0.3913, allocations: 79.77 kB / 1.12 GB, free: 68 kB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 9.158e-05/0.3914, allocations: 8.125 kB / 1.12 GB, free: 60 kB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001482/0.3916, allocations: 43.89 kB / 1.12 GB, free: 16 kB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 9.56e-05/0.3917, allocations: 39.92 kB / 1.12 GB, free: 15.97 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 1.896e-05/0.3917, allocations: 4 kB / 1.12 GB, free: 15.97 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003113/0.392, allocations: 147.7 kB / 1.12 GB, free: 15.83 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 2.814e-05/0.392, allocations: 11.92 kB / 1.12 GB, free: 15.82 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 4.542e-05/0.3921, allocations: 23.92 kB / 1.12 GB, free: 15.79 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0002738/0.3923, allocations: 159.5 kB / 1.12 GB, free: 15.64 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.3923, allocations: 0 / 1.12 GB, free: 15.64 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.653e-06/0.3923, allocations: 0 / 1.12 GB, free: 15.64 MB / 1.076 GB Notification: Performance of Transformations before backend: time 5.33e-06/0.3924, allocations: 0 / 1.12 GB, free: 15.64 MB / 1.076 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.0006381/0.393, allocations: 347.6 kB / 1.121 GB, free: 15.26 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.965e-05/0.393, allocations: 16.02 kB / 1.121 GB, free: 15.25 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003439/0.3934, allocations: 28.88 kB / 1.121 GB, free: 15.22 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002304/0.3936, allocations: 134.3 kB / 1.121 GB, free: 15.06 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.138e-05/0.3936, allocations: 4.375 kB / 1.121 GB, free: 15.06 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.515e-05/0.3936, allocations: 4.375 kB / 1.121 GB, free: 15.05 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001862/0.3938, allocations: 69.78 kB / 1.121 GB, free: 14.98 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.426e-06/0.3938, allocations: 0 / 1.121 GB, free: 14.98 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.307e-05/0.3938, allocations: 4 kB / 1.121 GB, free: 14.98 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.118e-06/0.3939, allocations: 4 kB / 1.121 GB, free: 14.97 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001352/0.394, allocations: 43.95 kB / 1.121 GB, free: 14.93 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005657/0.3946, allocations: 244.4 kB / 1.121 GB, free: 14.66 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001486/0.3947, allocations: 46.56 kB / 1.121 GB, free: 14.61 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.283e-05/0.3948, allocations: 28.95 kB / 1.121 GB, free: 14.57 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 2.08e-05/0.3948, allocations: 0 / 1.121 GB, free: 14.57 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001637/0.395, allocations: 83.38 kB / 1.121 GB, free: 14.48 MB / 1.076 GB Notification: Performance of pre-optimization done (n=7): time 1.282e-06/0.395, allocations: 0 / 1.121 GB, free: 14.48 MB / 1.076 GB Notification: Performance of matching and sorting (n=7): time 0.000449/0.3954, allocations: 149.6 kB / 1.121 GB, free: 14.33 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.39e-05/0.3955, allocations: 55.41 kB / 1.122 GB, free: 14.26 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001279/0.3956, allocations: 126 kB / 1.122 GB, free: 14.12 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 2.472e-05/0.3956, allocations: 33.64 kB / 1.122 GB, free: 14.09 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 6.197e-05/0.3957, allocations: 88.14 kB / 1.122 GB, free: 14 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 2.562e-05/0.3957, allocations: 19.78 kB / 1.122 GB, free: 13.98 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.431e-05/0.3958, allocations: 29.7 kB / 1.122 GB, free: 13.94 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001438/0.3959, allocations: 326.8 kB / 1.122 GB, free: 13.61 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.09e-05/0.396, allocations: 27.98 kB / 1.122 GB, free: 13.59 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001053/0.3961, allocations: 55.34 kB / 1.122 GB, free: 13.52 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001851/0.3963, allocations: 79.34 kB / 1.122 GB, free: 13.43 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.3963, allocations: 4 kB / 1.122 GB, free: 13.43 MB / 1.076 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002727/0.3966, allocations: 121.5 kB / 1.122 GB, free: 13.3 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.592e-05/0.3966, allocations: 4 kB / 1.122 GB, free: 13.3 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.94e-06/0.3966, allocations: 0 / 1.122 GB, free: 13.3 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.744e-05/0.3966, allocations: 4 kB / 1.122 GB, free: 13.29 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.68e-05/0.3967, allocations: 11.98 kB / 1.122 GB, free: 13.28 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.685e-06/0.3967, allocations: 0 / 1.122 GB, free: 13.28 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.236e-05/0.3968, allocations: 8 kB / 1.122 GB, free: 13.27 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.497e-05/0.3968, allocations: 4 kB / 1.122 GB, free: 13.27 MB / 1.076 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 0.000118/0.3969, allocations: 127.6 kB / 1.123 GB, free: 13.14 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.714e-05/0.397, allocations: 12.02 kB / 1.123 GB, free: 13.12 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.273e-05/0.397, allocations: 12.44 kB / 1.123 GB, free: 13.11 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.397, allocations: 0 / 1.123 GB, free: 13.11 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.612e-06/0.397, allocations: 4.062 kB / 1.123 GB, free: 13.11 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.165e-06/0.397, allocations: 0 / 1.123 GB, free: 13.11 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004832/0.3975, allocations: 330 kB / 1.123 GB, free: 12.75 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.3975, allocations: 48 / 1.123 GB, free: 12.75 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.648e-05/0.3975, allocations: 15.91 kB / 1.123 GB, free: 12.73 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.895e-06/0.3975, allocations: 0 / 1.123 GB, free: 12.73 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.075e-05/0.3975, allocations: 4 kB / 1.123 GB, free: 12.73 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.3975, allocations: 3.938 kB / 1.123 GB, free: 12.73 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.3975, allocations: 0 / 1.123 GB, free: 12.73 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000323/0.3979, allocations: 219.4 kB / 1.123 GB, free: 12.5 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 1.351e-05/0.3979, allocations: 4 kB / 1.123 GB, free: 12.49 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.707e-05/0.3979, allocations: 0 / 1.123 GB, free: 12.49 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.105e-05/0.398, allocations: 4 kB / 1.123 GB, free: 12.49 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.583e-05/0.398, allocations: 7.984 kB / 1.123 GB, free: 12.48 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.685e-05/0.3981, allocations: 7.938 kB / 1.123 GB, free: 12.47 MB / 1.076 GB Notification: Performance of sorting global known variables: time 6.785e-05/0.3981, allocations: 91.27 kB / 1.123 GB, free: 12.38 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.01e-07/0.3981, allocations: 4 kB / 1.123 GB, free: 12.38 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0003396/0.3985, allocations: 39.92 kB / 1.123 GB, free: 12.34 MB / 1.076 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.0004125/0.3989, allocations: 159.8 kB / 1.123 GB, free: 12.19 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0002575/0.3991, allocations: 63.95 kB / 1.123 GB, free: 12.13 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.3991, allocations: 8.125 kB / 1.123 GB, free: 12.12 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0001022/0.3992, allocations: 31.92 kB / 1.124 GB, free: 12.09 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002727/0.3995, allocations: 8 kB / 1.124 GB, free: 12.08 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004963/0.4, allocations: 194.1 kB / 1.124 GB, free: 11.87 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.303e-05/0.4001, allocations: 81.45 kB / 1.124 GB, free: 11.77 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 3.949e-05/0.4001, allocations: 8 kB / 1.124 GB, free: 11.76 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.438e-05/0.4002, allocations: 12.5 kB / 1.124 GB, free: 11.75 MB / 1.076 GB Notification: Performance of SimCode: time 3.4e-07/0.4002, allocations: 0 / 1.124 GB, free: 11.75 MB / 1.076 GB Notification: Performance of Templates: time 0.005023/0.4052, allocations: 1.481 MB / 1.125 GB, free: 10.28 MB / 1.076 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.sim & ./Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTIn.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.continuous,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: 8.85155165893957]