Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001493/0.001493, allocations: 106 kB / 18.19 MB, free: 3.879 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001541/0.001541, allocations: 189.9 kB / 21.34 MB, free: 0.7383 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.381/1.381, allocations: 225.6 MB / 249.9 MB, free: 13.42 MB / 206.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.996/2.996, allocations: 489.7 MB / 0.7761 GB, free: 33.52 MB / 0.6231 GB [Timeout remaining time 87] 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.Residential.Windows.Validation.Nicol2001WindowsUK,tolerance=1e-06,outputFormat="mat",numberOfIntervals=551,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK") translateModel(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK,tolerance=1e-06,outputFormat="mat",numberOfIntervals=551,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK") [Timeout 300] Notification: Performance of FrontEnd - loaded program: time 0.001862/0.001862, allocations: 67.69 kB / 1.127 GB, free: 36.84 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2921/0.294, allocations: 172.1 MB / 1.295 GB, free: 11.75 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK): time 0.00267/0.2966, allocations: 1.487 MB / 1.296 GB, free: 10.26 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001284/0.2979, allocations: 0.7439 MB / 1.297 GB, free: 9.508 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.587e-05/0.298, allocations: 0 / 1.297 GB, free: 9.508 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.088e-05/0.298, allocations: 3.938 kB / 1.297 GB, free: 9.504 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 5.051e-05/0.298, allocations: 15.86 kB / 1.297 GB, free: 9.488 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000522/0.2986, allocations: 115.6 kB / 1.297 GB, free: 9.375 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001222/0.2987, allocations: 75.77 kB / 1.297 GB, free: 9.301 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.56e-05/0.2988, allocations: 11.98 kB / 1.297 GB, free: 9.289 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 9.14e-05/0.2989, allocations: 39.84 kB / 1.297 GB, free: 9.25 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.453e-05/0.2989, allocations: 31.84 kB / 1.297 GB, free: 9.219 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.807e-05/0.2989, allocations: 12 kB / 1.297 GB, free: 9.207 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002071/0.2991, allocations: 111.9 kB / 1.297 GB, free: 9.098 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.863e-05/0.2992, allocations: 11.98 kB / 1.297 GB, free: 9.086 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 5.041e-05/0.2992, allocations: 35.8 kB / 1.297 GB, free: 9.051 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002483/0.2995, allocations: 143.4 kB / 1.298 GB, free: 8.91 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.2995, allocations: 4 kB / 1.298 GB, free: 8.906 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.673e-06/0.2995, allocations: 0 / 1.298 GB, free: 8.906 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.2e-06/0.2995, allocations: 0 / 1.298 GB, free: 8.906 MB / 0.9981 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.0006708/0.3002, allocations: 420.7 kB / 1.298 GB, free: 8.441 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.385e-05/0.3002, allocations: 8.031 kB / 1.298 GB, free: 8.434 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.383e-05/0.3002, allocations: 4.938 kB / 1.298 GB, free: 8.43 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001527/0.3004, allocations: 180.2 kB / 1.298 GB, free: 8.215 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.65e-05/0.3004, allocations: 4.375 kB / 1.298 GB, free: 8.211 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.825e-05/0.3004, allocations: 4.375 kB / 1.298 GB, free: 8.207 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001885/0.3006, allocations: 81.89 kB / 1.298 GB, free: 8.121 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/0.3006, allocations: 0 / 1.298 GB, free: 8.121 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.226e-05/0.3006, allocations: 0 / 1.298 GB, free: 8.121 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.3006, allocations: 0 / 1.298 GB, free: 8.121 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001401/0.3008, allocations: 39.97 kB / 1.298 GB, free: 8.082 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006215/0.3014, allocations: 316.7 kB / 1.299 GB, free: 7.723 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001324/0.3015, allocations: 54.47 kB / 1.299 GB, free: 7.66 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.341e-05/0.3016, allocations: 32.97 kB / 1.299 GB, free: 7.625 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.223e-05/0.3017, allocations: 0 / 1.299 GB, free: 7.625 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002036/0.3019, allocations: 83.44 kB / 1.299 GB, free: 7.531 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=7): time 1.323e-06/0.3019, allocations: 3.938 kB / 1.299 GB, free: 7.527 MB / 0.9981 GB Notification: Performance of matching and sorting (n=7): time 0.000399/0.3023, allocations: 133.6 kB / 1.299 GB, free: 7.391 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.082e-05/0.3023, allocations: 59.34 kB / 1.299 GB, free: 7.32 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001089/0.3024, allocations: 133.7 kB / 1.299 GB, free: 7.18 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.992e-05/0.3025, allocations: 25.7 kB / 1.299 GB, free: 7.148 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 6.395e-05/0.3025, allocations: 96.09 kB / 1.299 GB, free: 7.051 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.965e-05/0.3025, allocations: 15.83 kB / 1.299 GB, free: 7.035 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.217e-05/0.3026, allocations: 29.72 kB / 1.299 GB, free: 7 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001524/0.3027, allocations: 322.8 kB / 1.3 GB, free: 6.676 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.371e-05/0.3028, allocations: 23.98 kB / 1.3 GB, free: 6.652 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.602e-05/0.3029, allocations: 50.55 kB / 1.3 GB, free: 6.594 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001702/0.3031, allocations: 78.48 kB / 1.3 GB, free: 6.508 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/0.3031, allocations: 4 kB / 1.3 GB, free: 6.504 MB / 0.9981 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002505/0.3033, allocations: 113.6 kB / 1.3 GB, free: 6.387 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.375e-05/0.3034, allocations: 4 kB / 1.3 GB, free: 6.383 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.591e-06/0.3034, allocations: 0 / 1.3 GB, free: 6.383 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.379e-05/0.3034, allocations: 4 kB / 1.3 GB, free: 6.379 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.476e-05/0.3035, allocations: 11.98 kB / 1.3 GB, free: 6.367 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.47e-06/0.3035, allocations: 0 / 1.3 GB, free: 6.367 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.888e-05/0.3035, allocations: 11.98 kB / 1.3 GB, free: 6.355 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.279e-05/0.3036, allocations: 4 kB / 1.3 GB, free: 6.352 MB / 0.9981 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.0001037/0.3037, allocations: 125.8 kB / 1.3 GB, free: 6.219 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.889e-05/0.3037, allocations: 7.953 kB / 1.3 GB, free: 6.211 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.546e-05/0.3037, allocations: 8.375 kB / 1.3 GB, free: 6.203 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.3037, allocations: 4 kB / 1.3 GB, free: 6.199 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.3037, allocations: 3.938 kB / 1.3 GB, free: 6.195 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.3037, allocations: 3.984 kB / 1.3 GB, free: 6.191 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004698/0.3042, allocations: 374.4 kB / 1.3 GB, free: 5.77 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.487e-06/0.3042, allocations: 3.984 kB / 1.3 GB, free: 5.766 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.405e-05/0.3042, allocations: 15.94 kB / 1.3 GB, free: 5.75 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.3042, allocations: 0 / 1.3 GB, free: 5.75 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.937e-06/0.3043, allocations: 0 / 1.3 GB, free: 5.75 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.138e-05/0.3043, allocations: 4 kB / 1.3 GB, free: 5.746 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.766e-06/0.3043, allocations: 3.938 kB / 1.3 GB, free: 5.742 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002864/0.3046, allocations: 203.9 kB / 1.301 GB, free: 5.527 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.894e-05/0.3046, allocations: 85.06 kB / 1.301 GB, free: 5.426 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.642e-05/0.3046, allocations: 0 / 1.301 GB, free: 5.426 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.294e-05/0.3047, allocations: 15.98 kB / 1.301 GB, free: 5.41 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.643e-05/0.3048, allocations: 3.938 kB / 1.301 GB, free: 5.406 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.558e-06/0.3048, allocations: 4 kB / 1.301 GB, free: 5.402 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 5.936e-05/0.3048, allocations: 91.27 kB / 1.301 GB, free: 5.312 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/0.3048, allocations: 0 / 1.301 GB, free: 5.312 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.000311/0.3051, allocations: 39.92 kB / 1.301 GB, free: 5.273 MB / 0.9981 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.0003845/0.3055, allocations: 181.2 kB / 1.301 GB, free: 5.105 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002576/0.3058, allocations: 63.95 kB / 1.301 GB, free: 5.043 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.3058, allocations: 0 / 1.301 GB, free: 5.043 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001/0.3059, allocations: 35.92 kB / 1.301 GB, free: 5.008 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002491/0.3061, allocations: 16.67 kB / 1.301 GB, free: 4.992 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004349/0.3066, allocations: 214.6 kB / 1.301 GB, free: 4.746 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003372/0.3069, allocations: 0.6885 MB / 1.302 GB, free: 4.031 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.317e-05/0.3069, allocations: 11.44 kB / 1.302 GB, free: 4.02 MB / 0.9981 GB Notification: Performance of SimCode: time 3e-07/0.3069, allocations: 0 / 1.302 GB, free: 4.02 MB / 0.9981 GB Notification: Performance of Templates: time 0.003826/0.3108, allocations: 1.63 MB / 1.304 GB, free: 2.387 MB / 0.9981 GB [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.pipe >> ../files/Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.sim & ./Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsUK.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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