Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001681/0.001681, allocations: 114.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.002094/0.002094, allocations: 194.3 kB / 22.17 MB, free: 5.656 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.517/1.517, allocations: 225.6 MB / 250.9 MB, free: 13.3 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.802/2.802, allocations: 476.7 MB / 0.7645 GB, free: 10.12 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002013/0.002013, allocations: 75.88 kB / 1.109 GB, free: 6.605 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9162/0.9182, allocations: 168.7 MB / 1.274 GB, free: 4.586 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut): time 0.002996/0.9212, allocations: 1.51 MB / 1.276 GB, free: 3.07 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001494/0.9227, allocations: 0.7455 MB / 1.276 GB, free: 2.32 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.014e-05/0.9228, allocations: 3.938 kB / 1.276 GB, free: 2.316 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.792e-05/0.9228, allocations: 3.938 kB / 1.276 GB, free: 2.312 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 5.762e-05/0.9229, allocations: 11.91 kB / 1.276 GB, free: 2.301 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005902/0.9234, allocations: 119.6 kB / 1.276 GB, free: 2.184 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001374/0.9236, allocations: 83.75 kB / 1.276 GB, free: 2.102 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 9.734e-05/0.9237, allocations: 15.95 kB / 1.276 GB, free: 2.086 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 8.988e-05/0.9238, allocations: 31.91 kB / 1.277 GB, free: 2.055 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 7.734e-05/0.9238, allocations: 39.83 kB / 1.277 GB, free: 2.016 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.838e-05/0.9239, allocations: 4 kB / 1.277 GB, free: 2.012 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000219/0.9241, allocations: 103.8 kB / 1.277 GB, free: 1.91 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.486e-05/0.9241, allocations: 15.98 kB / 1.277 GB, free: 1.895 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 5.513e-05/0.9242, allocations: 43.77 kB / 1.277 GB, free: 1.852 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002523/0.9244, allocations: 146.2 kB / 1.277 GB, free: 1.715 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.9244, allocations: 0 / 1.277 GB, free: 1.715 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.703e-06/0.9244, allocations: 0 / 1.277 GB, free: 1.715 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.232e-05/0.9244, allocations: 0 / 1.277 GB, free: 1.715 MB / 0.9669 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.0007605/0.9252, allocations: 416.8 kB / 1.277 GB, free: 1.254 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.298e-05/0.9252, allocations: 8.031 kB / 1.277 GB, free: 1.246 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.235e-05/0.9253, allocations: 8.891 kB / 1.277 GB, free: 1.238 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001538/0.9254, allocations: 176.3 kB / 1.277 GB, free: 1.027 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.786e-05/0.9254, allocations: 8.375 kB / 1.277 GB, free: 1.02 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.978e-05/0.9255, allocations: 384 / 1.277 GB, free: 1.02 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001958/0.9257, allocations: 73.95 kB / 1.277 GB, free: 0.9414 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.798e-06/0.9257, allocations: 4 kB / 1.278 GB, free: 0.9375 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.578e-05/0.9257, allocations: 4 kB / 1.278 GB, free: 0.9336 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.344e-06/0.9257, allocations: 4 kB / 1.278 GB, free: 0.9297 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001293/0.9258, allocations: 39.91 kB / 1.278 GB, free: 0.8906 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006391/0.9265, allocations: 308.8 kB / 1.278 GB, free: 0.5391 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001302/0.9266, allocations: 50.5 kB / 1.278 GB, free: 492 kB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.64e-05/0.9267, allocations: 32.95 kB / 1.278 GB, free: 456 kB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.164e-05/0.9267, allocations: 0 / 1.278 GB, free: 456 kB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000216/0.9269, allocations: 83.31 kB / 1.278 GB, free: 360 kB / 0.9669 GB Notification: Performance of pre-optimization done (n=7): time 1.132e-06/0.9269, allocations: 0 / 1.278 GB, free: 360 kB / 0.9669 GB Notification: Performance of matching and sorting (n=7): time 0.0004175/0.9273, allocations: 145.6 kB / 1.278 GB, free: 208 kB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.465e-05/0.9274, allocations: 51.41 kB / 1.278 GB, free: 144 kB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001387/0.9275, allocations: 141.6 kB / 1.278 GB, free: 15.99 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.3e-05/0.9276, allocations: 25.7 kB / 1.278 GB, free: 15.96 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.754e-05/0.9276, allocations: 88.14 kB / 1.278 GB, free: 15.87 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.12e-05/0.9276, allocations: 15.91 kB / 1.278 GB, free: 15.86 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.056e-05/0.9277, allocations: 29.7 kB / 1.278 GB, free: 15.82 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001664/0.9279, allocations: 322.8 kB / 1.279 GB, free: 15.5 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.205e-05/0.9279, allocations: 27.98 kB / 1.279 GB, free: 15.47 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.645e-05/0.928, allocations: 50.48 kB / 1.279 GB, free: 15.41 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002415/0.9283, allocations: 66.56 kB / 1.279 GB, free: 15.34 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.087e-06/0.9283, allocations: 8 kB / 1.279 GB, free: 15.33 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002471/0.9285, allocations: 113.5 kB / 1.279 GB, free: 15.21 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.677e-05/0.9285, allocations: 4 kB / 1.279 GB, free: 15.21 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.792e-06/0.9286, allocations: 4 kB / 1.279 GB, free: 15.2 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.547e-05/0.9286, allocations: 0 / 1.279 GB, free: 15.2 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001106/0.9287, allocations: 15.92 kB / 1.279 GB, free: 15.19 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.5e-06/0.9287, allocations: 0 / 1.279 GB, free: 15.19 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.738e-05/0.9288, allocations: 8 kB / 1.279 GB, free: 15.18 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.862e-05/0.9288, allocations: 8.047 kB / 1.279 GB, free: 15.17 MB / 0.9825 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.0001184/0.9289, allocations: 131.2 kB / 1.279 GB, free: 15.04 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.759e-05/0.9289, allocations: 7.953 kB / 1.279 GB, free: 15.03 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.531e-05/0.9289, allocations: 12.38 kB / 1.279 GB, free: 15.01 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-06/0.9289, allocations: 0 / 1.279 GB, free: 15.01 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.089e-06/0.929, allocations: 0 / 1.279 GB, free: 15.01 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.929, allocations: 3.938 kB / 1.279 GB, free: 15 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005207/0.9295, allocations: 386.4 kB / 1.28 GB, free: 14.57 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.9295, allocations: 0 / 1.28 GB, free: 14.57 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.113e-05/0.9295, allocations: 7.984 kB / 1.28 GB, free: 14.56 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.9295, allocations: 0 / 1.28 GB, free: 14.56 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.469e-05/0.9295, allocations: 4 kB / 1.28 GB, free: 14.56 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.9295, allocations: 0 / 1.28 GB, free: 14.56 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.247e-06/0.9295, allocations: 3.938 kB / 1.28 GB, free: 14.55 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003121/0.9298, allocations: 215.9 kB / 1.28 GB, free: 14.33 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.346e-05/0.9299, allocations: 85.06 kB / 1.28 GB, free: 14.23 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.996e-05/0.9299, allocations: 0 / 1.28 GB, free: 14.23 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.672e-05/0.93, allocations: 4 kB / 1.28 GB, free: 14.22 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.182e-05/0.9301, allocations: 15.86 kB / 1.28 GB, free: 14.21 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.935e-06/0.9301, allocations: 4 kB / 1.28 GB, free: 14.2 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.221e-05/0.9301, allocations: 91.27 kB / 1.28 GB, free: 14.11 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.9301, allocations: 0 / 1.28 GB, free: 14.11 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003052/0.9304, allocations: 39.92 kB / 1.28 GB, free: 14.07 MB / 0.9825 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.0003908/0.9308, allocations: 170.9 kB / 1.28 GB, free: 13.91 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002513/0.9311, allocations: 67.91 kB / 1.28 GB, free: 13.85 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.9311, allocations: 0 / 1.28 GB, free: 13.85 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001009/0.9312, allocations: 36.03 kB / 1.28 GB, free: 13.81 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002537/0.9314, allocations: 8 kB / 1.28 GB, free: 13.8 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004525/0.9319, allocations: 200.1 kB / 1.281 GB, free: 13.58 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000362/0.9323, allocations: 0.6846 MB / 1.281 GB, free: 12.87 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.802e-05/0.9323, allocations: 7.984 kB / 1.281 GB, free: 12.86 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.974e-05/0.9323, allocations: 11.44 kB / 1.281 GB, free: 12.85 MB / 0.9825 GB Notification: Performance of SimCode: time 3.3e-07/0.9323, allocations: 4 kB / 1.281 GB, free: 12.85 MB / 0.9825 GB Notification: Performance of Templates: time 0.004886/0.9372, allocations: 1.473 MB / 1.283 GB, free: 11.38 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.sim & ./Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTOut.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_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.806925234850496]