Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.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.001906/0.001906, allocations: 78.25 kB / 19.76 MB, free: 2.031 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.002499/0.002499, allocations: 158.2 kB / 23.01 MB, free: 4.945 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.498/1.498, allocations: 177.2 MB / 203.4 MB, free: 8.969 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.701/2.701, allocations: 359.1 MB / 0.6044 GB, free: 14.98 MB / 0.5762 GB " [Timeout remaining time 177] 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.Haldi2009WindowsTInTout,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|win.TOut|win.occ|win.pOpen|win.on",fileNamePrefix="Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout") translateModel(Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|win.TOut|win.occ|win.pOpen|win.on",fileNamePrefix="Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout") [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.002133/0.002133, allocations: 67.89 kB / 0.9515 GB, free: 12.8 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3773/0.3794, allocations: 169.9 MB / 1.117 GB, free: 2.555 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout): time 0.003149/0.3825, allocations: 1.591 MB / 1.119 GB, free: 0.9492 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001659/0.3842, allocations: 0.822 MB / 1.12 GB, free: 124 kB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.972e-05/0.3843, allocations: 3.938 kB / 1.12 GB, free: 120 kB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.981e-05/0.3843, allocations: 7.875 kB / 1.12 GB, free: 112 kB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 7.708e-05/0.3844, allocations: 27.72 kB / 1.12 GB, free: 84 kB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007029/0.3851, allocations: 175.5 kB / 1.12 GB, free: 15.91 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0001956/0.3853, allocations: 139.6 kB / 1.12 GB, free: 15.77 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000102/0.3854, allocations: 13.58 kB / 1.12 GB, free: 15.76 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001729/0.3855, allocations: 71.77 kB / 1.12 GB, free: 15.69 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001268/0.3857, allocations: 67.72 kB / 1.12 GB, free: 15.62 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 3.197e-05/0.3857, allocations: 12 kB / 1.12 GB, free: 15.61 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003054/0.386, allocations: 143.8 kB / 1.12 GB, free: 15.47 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 4.395e-05/0.3861, allocations: 27.91 kB / 1.12 GB, free: 15.44 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 8.29e-05/0.3861, allocations: 47.77 kB / 1.12 GB, free: 15.39 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0003292/0.3865, allocations: 211.2 kB / 1.121 GB, free: 15.19 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.3865, allocations: 4 kB / 1.121 GB, free: 15.18 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.663e-06/0.3865, allocations: 0 / 1.121 GB, free: 15.18 MB / 1.076 GB Notification: Performance of Transformations before backend: time 5.58e-06/0.3865, allocations: 0 / 1.121 GB, free: 15.18 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0008054/0.3873, allocations: 417 kB / 1.121 GB, free: 14.73 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.841e-05/0.3873, allocations: 8.031 kB / 1.121 GB, free: 14.73 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007037/0.388, allocations: 72.83 kB / 1.121 GB, free: 14.66 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002876/0.3883, allocations: 142.4 kB / 1.121 GB, free: 14.49 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.504e-05/0.3883, allocations: 4.375 kB / 1.121 GB, free: 14.49 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.271e-05/0.3884, allocations: 8.375 kB / 1.121 GB, free: 14.48 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002785/0.3886, allocations: 101.9 kB / 1.121 GB, free: 14.38 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.518e-06/0.3886, allocations: 0 / 1.121 GB, free: 14.38 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.633e-05/0.3887, allocations: 4 kB / 1.121 GB, free: 14.37 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.124e-06/0.3887, allocations: 4 kB / 1.121 GB, free: 14.37 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002073/0.3889, allocations: 63.95 kB / 1.121 GB, free: 14.3 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008772/0.3898, allocations: 296.3 kB / 1.122 GB, free: 13.98 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001956/0.39, allocations: 70.48 kB / 1.122 GB, free: 13.91 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001312/0.3901, allocations: 40.84 kB / 1.122 GB, free: 13.86 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 2.841e-05/0.3901, allocations: 7.984 kB / 1.122 GB, free: 13.86 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002305/0.3903, allocations: 99.34 kB / 1.122 GB, free: 13.75 MB / 1.076 GB Notification: Performance of pre-optimization done (n=9): time 1.432e-06/0.3903, allocations: 4 kB / 1.122 GB, free: 13.74 MB / 1.076 GB Notification: Performance of matching and sorting (n=9): time 0.0006267/0.391, allocations: 217.4 kB / 1.122 GB, free: 13.52 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.065e-05/0.391, allocations: 55.52 kB / 1.122 GB, free: 13.46 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001667/0.3912, allocations: 156.5 kB / 1.122 GB, free: 13.29 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 4.254e-05/0.3912, allocations: 33.7 kB / 1.122 GB, free: 13.25 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 8.442e-05/0.3913, allocations: 104.3 kB / 1.123 GB, free: 13.15 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 3.001e-05/0.3914, allocations: 19.8 kB / 1.123 GB, free: 13.13 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.473e-05/0.3914, allocations: 33.7 kB / 1.123 GB, free: 13.09 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001946/0.3916, allocations: 330.8 kB / 1.123 GB, free: 12.76 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001206/0.3917, allocations: 35.97 kB / 1.123 GB, free: 12.72 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001575/0.3919, allocations: 80.27 kB / 1.123 GB, free: 12.63 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002637/0.3922, allocations: 116.2 kB / 1.123 GB, free: 12.5 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.3922, allocations: 0 / 1.123 GB, free: 12.5 MB / 1.076 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003448/0.3925, allocations: 149.5 kB / 1.123 GB, free: 12.35 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.122e-05/0.3925, allocations: 11.98 kB / 1.123 GB, free: 12.34 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/0.3925, allocations: 4 kB / 1.123 GB, free: 12.33 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.636e-05/0.3925, allocations: 0 / 1.123 GB, free: 12.33 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001441/0.3927, allocations: 24.08 kB / 1.123 GB, free: 12.31 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.152e-06/0.3927, allocations: 0 / 1.123 GB, free: 12.31 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001036/0.3928, allocations: 15.95 kB / 1.123 GB, free: 12.29 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.977e-05/0.3928, allocations: 7.984 kB / 1.123 GB, free: 12.29 MB / 1.076 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 11 (win.curSeed,$PRE.win.curSeed,win.on,$PRE.win.on,win.occ,win.pClose,$PRE.win.pClose,win.pOpen,$PRE.win.pOpen,win.sampleTrigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001203/0.3929, allocations: 125.7 kB / 1.123 GB, free: 12.15 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.47e-05/0.393, allocations: 11.95 kB / 1.123 GB, free: 12.14 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.275e-05/0.393, allocations: 8.781 kB / 1.123 GB, free: 12.13 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.141e-05/0.393, allocations: 7.984 kB / 1.123 GB, free: 12.12 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.393, allocations: 4 kB / 1.123 GB, free: 12.12 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.393, allocations: 0 / 1.123 GB, free: 12.12 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006474/0.3937, allocations: 406.1 kB / 1.124 GB, free: 11.69 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.3937, allocations: 0 / 1.124 GB, free: 11.69 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.024e-05/0.3937, allocations: 7.984 kB / 1.124 GB, free: 11.68 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.714e-06/0.3937, allocations: 0 / 1.124 GB, free: 11.68 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.165e-05/0.3937, allocations: 7.984 kB / 1.124 GB, free: 11.67 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.472e-06/0.3938, allocations: 0 / 1.124 GB, free: 11.67 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.3938, allocations: 480 / 1.124 GB, free: 11.67 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004473/0.3942, allocations: 283.2 kB / 1.124 GB, free: 11.38 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 1.831e-05/0.3942, allocations: 11.91 kB / 1.124 GB, free: 11.37 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.534e-05/0.3942, allocations: 3.984 kB / 1.124 GB, free: 11.36 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000124/0.3944, allocations: 12 kB / 1.124 GB, free: 11.35 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.662e-05/0.3944, allocations: 3.984 kB / 1.124 GB, free: 11.35 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.562e-05/0.3944, allocations: 15.86 kB / 1.124 GB, free: 11.33 MB / 1.076 GB Notification: Performance of sorting global known variables: time 8e-05/0.3945, allocations: 107.2 kB / 1.124 GB, free: 11.23 MB / 1.076 GB Notification: Performance of sort global known variables: time 7e-08/0.3945, allocations: 0 / 1.124 GB, free: 11.23 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0003397/0.3948, allocations: 47.92 kB / 1.124 GB, free: 11.18 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: 7 (win.sampleTrigger,$whenCondition1,win.occ,win.on,win.pOpen,win.pClose,win.curSeed) * Number of discrete states: 1 (win.on) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0004086/0.3953, allocations: 172.5 kB / 1.125 GB, free: 11.02 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0003441/0.3956, allocations: 107.9 kB / 1.125 GB, free: 10.91 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 4.93e-06/0.3956, allocations: 4.188 kB / 1.125 GB, free: 10.91 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0001496/0.3958, allocations: 56 kB / 1.125 GB, free: 10.86 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002904/0.396, allocations: 18.36 kB / 1.125 GB, free: 10.84 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005348/0.3966, allocations: 228.6 kB / 1.125 GB, free: 10.59 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.685e-05/0.3967, allocations: 88.27 kB / 1.125 GB, free: 10.48 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 4.897e-05/0.3967, allocations: 8.734 kB / 1.125 GB, free: 10.48 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.915e-05/0.3968, allocations: 20.48 kB / 1.125 GB, free: 10.45 MB / 1.076 GB Notification: Performance of SimCode: time 2.9e-07/0.3968, allocations: 0 / 1.125 GB, free: 10.45 MB / 1.076 GB Notification: Performance of Templates: time 0.005746/0.4025, allocations: 2.013 MB / 1.127 GB, free: 8.473 MB / 1.076 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.sim & ./Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Windows_Validation_Haldi2009WindowsTInTout.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.85911845008377]