Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.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.001279/0.001279, allocations: 118.7 kB / 17.13 MB, free: 5.758 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.001294/0.001294, allocations: 193.2 kB / 20.08 MB, free: 2.848 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.426/1.426, allocations: 225.6 MB / 248.5 MB, free: 3.617 MB / 190.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.556/2.556, allocations: 443.5 MB / 0.7293 GB, free: 14.64 MB / 0.5763 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.Residential.Windows.Validation.Nicol2001WindowsUK,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_10_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK") translateModel(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_10_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00189/0.00189, allocations: 63.89 kB / 1.057 GB, free: 2.125 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.284/0.2858, allocations: 160.7 MB / 1.214 GB, free: 1.098 MB / 0.9513 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK): time 0.002854/0.2887, allocations: 1.485 MB / 1.215 GB, free: 15.59 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001381/0.2901, allocations: 0.7408 MB / 1.216 GB, free: 14.84 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.134e-05/0.2901, allocations: 0 / 1.216 GB, free: 14.84 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.709e-05/0.2901, allocations: 3.938 kB / 1.216 GB, free: 14.84 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 5.731e-05/0.2902, allocations: 11.86 kB / 1.216 GB, free: 14.83 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005493/0.2908, allocations: 123.6 kB / 1.216 GB, free: 14.71 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001195/0.2909, allocations: 87.69 kB / 1.216 GB, free: 14.62 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 8.276e-05/0.291, allocations: 8 kB / 1.216 GB, free: 14.61 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 8.733e-05/0.291, allocations: 31.91 kB / 1.216 GB, free: 14.58 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 7.634e-05/0.2911, allocations: 39.83 kB / 1.216 GB, free: 14.54 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.378e-05/0.2911, allocations: 8 kB / 1.216 GB, free: 14.54 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002121/0.2914, allocations: 103.8 kB / 1.217 GB, free: 14.43 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.597e-05/0.2914, allocations: 11.98 kB / 1.217 GB, free: 14.42 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 4.521e-05/0.2914, allocations: 31.84 kB / 1.217 GB, free: 14.39 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002739/0.2917, allocations: 151.5 kB / 1.217 GB, free: 14.24 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.2917, allocations: 0 / 1.217 GB, free: 14.24 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.402e-06/0.2917, allocations: 3.938 kB / 1.217 GB, free: 14.24 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 9.598e-06/0.2917, allocations: 0 / 1.217 GB, free: 14.24 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.0006834/0.2924, allocations: 430.9 kB / 1.217 GB, free: 13.77 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.848e-05/0.2924, allocations: 12.03 kB / 1.217 GB, free: 13.75 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.909e-05/0.2925, allocations: 4.891 kB / 1.217 GB, free: 13.75 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001315/0.2926, allocations: 176.3 kB / 1.217 GB, free: 13.54 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.378e-05/0.2926, allocations: 4.375 kB / 1.217 GB, free: 13.54 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.21e-05/0.2927, allocations: 16.31 kB / 1.217 GB, free: 13.52 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001909/0.2928, allocations: 69.97 kB / 1.217 GB, free: 13.45 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.895e-06/0.2928, allocations: 0 / 1.217 GB, free: 13.45 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.324e-05/0.2929, allocations: 3.984 kB / 1.217 GB, free: 13.44 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.153e-06/0.2929, allocations: 0 / 1.217 GB, free: 13.44 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001417/0.293, allocations: 39.91 kB / 1.218 GB, free: 13.4 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006392/0.2937, allocations: 316.8 kB / 1.218 GB, free: 13.04 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000137/0.2938, allocations: 42.56 kB / 1.218 GB, free: 12.99 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.34e-05/0.2939, allocations: 36.95 kB / 1.218 GB, free: 12.95 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.929e-05/0.2939, allocations: 0 / 1.218 GB, free: 12.95 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002207/0.2941, allocations: 83.31 kB / 1.218 GB, free: 12.86 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=7): time 1.293e-06/0.2941, allocations: 4 kB / 1.218 GB, free: 12.86 MB / 0.9669 GB Notification: Performance of matching and sorting (n=7): time 0.0004195/0.2945, allocations: 137.7 kB / 1.218 GB, free: 12.71 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.732e-05/0.2946, allocations: 55.41 kB / 1.218 GB, free: 12.65 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001182/0.2948, allocations: 121.8 kB / 1.218 GB, free: 12.52 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.12e-05/0.2948, allocations: 33.7 kB / 1.218 GB, free: 12.48 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001135/0.2949, allocations: 88.08 kB / 1.218 GB, free: 12.39 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.361e-05/0.2949, allocations: 23.84 kB / 1.218 GB, free: 12.37 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.147e-05/0.295, allocations: 25.7 kB / 1.218 GB, free: 12.34 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001446/0.2951, allocations: 326.8 kB / 1.219 GB, free: 12.01 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.542e-05/0.2952, allocations: 27.92 kB / 1.219 GB, free: 11.98 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001578/0.2954, allocations: 47 kB / 1.219 GB, free: 11.93 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001703/0.2955, allocations: 78.84 kB / 1.219 GB, free: 11.84 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.714e-06/0.2955, allocations: 0 / 1.219 GB, free: 11.84 MB / 0.9669 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002571/0.2958, allocations: 113.5 kB / 1.219 GB, free: 11.72 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.745e-05/0.2958, allocations: 4 kB / 1.219 GB, free: 11.72 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.2958, allocations: 0 / 1.219 GB, free: 11.72 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.244e-05/0.2958, allocations: 4 kB / 1.219 GB, free: 11.71 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001132/0.2959, allocations: 19.98 kB / 1.219 GB, free: 11.7 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.129e-06/0.2959, allocations: 0 / 1.219 GB, free: 11.7 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.665e-05/0.296, allocations: 4 kB / 1.219 GB, free: 11.69 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.475e-05/0.296, allocations: 4 kB / 1.219 GB, free: 11.69 MB / 0.9669 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.0001056/0.2961, allocations: 125.8 kB / 1.219 GB, free: 11.55 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.862e-05/0.2962, allocations: 7.953 kB / 1.219 GB, free: 11.55 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.274e-05/0.2962, allocations: 4.375 kB / 1.219 GB, free: 11.54 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.2962, allocations: 0 / 1.219 GB, free: 11.54 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/0.2962, allocations: 4 kB / 1.219 GB, free: 11.54 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.2962, allocations: 4 kB / 1.219 GB, free: 11.54 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005098/0.2967, allocations: 390.3 kB / 1.22 GB, free: 11.1 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.2967, allocations: 0 / 1.22 GB, free: 11.1 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.401e-05/0.2967, allocations: 7.984 kB / 1.22 GB, free: 11.09 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.2967, allocations: 0 / 1.22 GB, free: 11.09 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.018e-05/0.2968, allocations: 3.938 kB / 1.22 GB, free: 11.09 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.2968, allocations: 3.938 kB / 1.22 GB, free: 11.08 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.926e-06/0.2968, allocations: 3.938 kB / 1.22 GB, free: 11.08 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003191/0.2971, allocations: 219.4 kB / 1.22 GB, free: 10.85 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 6.497e-05/0.2971, allocations: 81.06 kB / 1.22 GB, free: 10.75 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.187e-05/0.2972, allocations: 4 kB / 1.22 GB, free: 10.75 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.828e-05/0.2973, allocations: 0 / 1.22 GB, free: 10.75 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.617e-05/0.2973, allocations: 11.92 kB / 1.22 GB, free: 10.73 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.13e-05/0.2973, allocations: 8 kB / 1.22 GB, free: 10.73 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 6.458e-05/0.2974, allocations: 99.42 kB / 1.22 GB, free: 10.63 MB / 0.9669 GB Notification: Performance of sort global known variables: time 8e-08/0.2974, allocations: 0 / 1.22 GB, free: 10.63 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.000326/0.2977, allocations: 39.92 kB / 1.22 GB, free: 10.59 MB / 0.9669 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.0003825/0.2981, allocations: 153.9 kB / 1.22 GB, free: 10.45 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002578/0.2983, allocations: 71.91 kB / 1.22 GB, free: 10.38 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.2984, allocations: 0 / 1.22 GB, free: 10.38 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001497/0.2985, allocations: 40.3 kB / 1.22 GB, free: 10.34 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002506/0.2988, allocations: 12.25 kB / 1.22 GB, free: 10.33 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00051/0.2993, allocations: 214.6 kB / 1.22 GB, free: 10.08 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003801/0.2996, allocations: 0.6886 MB / 1.221 GB, free: 9.367 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.509e-05/0.2997, allocations: 15.42 kB / 1.221 GB, free: 9.352 MB / 0.9669 GB Notification: Performance of SimCode: time 3.91e-07/0.2997, allocations: 0 / 1.221 GB, free: 9.352 MB / 0.9669 GB Notification: Performance of Templates: time 0.003772/0.3034, allocations: 1.618 MB / 1.223 GB, free: 7.738 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.pipe ; mkfifo Buildings_10_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.pipe >> ../files/Buildings_10_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.sim & ./Buildings_10_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsUK.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.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: 10.736076734028757]