Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.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.0008326/0.0008326, allocations: 76.5 kB / 19.93 MB, free: 4.621 MB / 18.57 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.0007897/0.0007897, allocations: 177.9 kB / 23.21 MB, free: 1.34 MB / 18.57 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 0.8728/0.8728, allocations: 177.2 MB / 203.5 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.653/1.653, allocations: 359 MB / 0.6044 GB, free: 11.1 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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.Residential.Windows.Validation.Nicol2001WindowsUK,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_11_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_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.413e-06/1.413e-06, allocations: 0 / 0.9517 GB, free: 3.051 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.45e-05/2.591e-05, allocations: 2.281 kB / 0.9517 GB, free: 3.047 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK): time 0.001952/0.001978, allocations: 1.486 MB / 0.9531 GB, free: 1.543 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0009608/0.002939, allocations: 0.7717 MB / 0.9539 GB, free: 0.7656 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.037e-05/0.002989, allocations: 0 / 0.9539 GB, free: 0.7656 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 2.859e-05/0.003018, allocations: 11.86 kB / 0.9539 GB, free: 0.7539 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 4.564e-05/0.003063, allocations: 11.81 kB / 0.9539 GB, free: 0.7422 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004914/0.003555, allocations: 143.4 kB / 0.9541 GB, free: 0.6016 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 9.347e-05/0.003648, allocations: 87.7 kB / 0.9541 GB, free: 0.5156 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 7.526e-05/0.003724, allocations: 8.172 kB / 0.9541 GB, free: 0.5078 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001377/0.003861, allocations: 55.89 kB / 0.9542 GB, free: 464 kB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 4.987e-05/0.003911, allocations: 27.95 kB / 0.9542 GB, free: 436 kB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.777e-05/0.003929, allocations: 4 kB / 0.9542 GB, free: 432 kB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002055/0.004134, allocations: 143.7 kB / 0.9544 GB, free: 288 kB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 2.315e-05/0.004158, allocations: 15.92 kB / 0.9544 GB, free: 272 kB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 3.519e-05/0.004193, allocations: 27.91 kB / 0.9544 GB, free: 244 kB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0002619/0.004455, allocations: 167.5 kB / 0.9546 GB, free: 76 kB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 2.705e-06/0.004457, allocations: 0 / 0.9546 GB, free: 76 kB / 0.9011 GB Notification: Performance of FrontEnd: time 1.603e-06/0.004459, allocations: 4 kB / 0.9546 GB, free: 72 kB / 0.9011 GB Notification: Performance of Transformations before backend: time 5.21e-06/0.004464, allocations: 7.938 kB / 0.9546 GB, free: 64 kB / 0.9011 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.0006992/0.005163, allocations: 349.5 kB / 0.9549 GB, free: 15.69 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 5.267e-05/0.005216, allocations: 8.031 kB / 0.9549 GB, free: 15.68 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002415/0.005458, allocations: 32.86 kB / 0.955 GB, free: 15.65 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002443/0.005702, allocations: 129.6 kB / 0.9551 GB, free: 15.5 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.381e-05/0.005736, allocations: 384 / 0.9551 GB, free: 15.5 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.831e-05/0.005754, allocations: 12.36 kB / 0.9551 GB, free: 15.48 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001844/0.005938, allocations: 74.2 kB / 0.9552 GB, free: 15.41 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.138e-05/0.00595, allocations: 192 / 0.9552 GB, free: 15.41 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.503e-05/0.005965, allocations: 4.125 kB / 0.9552 GB, free: 15.4 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.092e-06/0.005971, allocations: 0 / 0.9552 GB, free: 15.4 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.334e-05/0.006054, allocations: 39.97 kB / 0.9552 GB, free: 15.36 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004894/0.006544, allocations: 248.4 kB / 0.9554 GB, free: 15.09 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001019/0.006646, allocations: 46.56 kB / 0.9555 GB, free: 15.04 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.491e-05/0.0067, allocations: 28.97 kB / 0.9555 GB, free: 15 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 3.152e-05/0.006732, allocations: 3.938 kB / 0.9555 GB, free: 15 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001355/0.006867, allocations: 75.38 kB / 0.9556 GB, free: 14.91 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=7): time 2.454e-06/0.00687, allocations: 0 / 0.9556 GB, free: 14.91 MB / 0.9167 GB Notification: Performance of matching and sorting (n=7): time 0.0003135/0.007183, allocations: 145.6 kB / 0.9557 GB, free: 14.77 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.024e-05/0.007224, allocations: 55.41 kB / 0.9558 GB, free: 14.7 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.425e-05/0.007308, allocations: 132.6 kB / 0.9559 GB, free: 14.56 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.213e-05/0.00732, allocations: 29.7 kB / 0.9559 GB, free: 14.52 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 3.938e-05/0.007359, allocations: 92.08 kB / 0.956 GB, free: 14.43 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 1.767e-05/0.007377, allocations: 19.84 kB / 0.956 GB, free: 14.41 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.973e-05/0.007427, allocations: 29.7 kB / 0.9561 GB, free: 14.38 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 7.436e-05/0.007501, allocations: 318.8 kB / 0.9564 GB, free: 14.05 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.563e-05/0.007547, allocations: 27.98 kB / 0.9564 GB, free: 14.03 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.437e-05/0.007601, allocations: 50.55 kB / 0.9564 GB, free: 13.97 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001268/0.007728, allocations: 70.81 kB / 0.9565 GB, free: 13.89 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.00773, allocations: 4 kB / 0.9565 GB, free: 13.89 MB / 0.9167 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001438/0.007874, allocations: 117.5 kB / 0.9566 GB, free: 13.77 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.032e-05/0.007884, allocations: 8 kB / 0.9566 GB, free: 13.76 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.007888, allocations: 0 / 0.9566 GB, free: 13.76 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.639e-06/0.007898, allocations: 0 / 0.9566 GB, free: 13.76 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.444e-05/0.007953, allocations: 19.92 kB / 0.9567 GB, free: 13.74 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.957e-06/0.007956, allocations: 0 / 0.9567 GB, free: 13.74 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.325e-05/0.00799, allocations: 16.02 kB / 0.9567 GB, free: 13.72 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.146e-05/0.008001, allocations: 7.984 kB / 0.9567 GB, free: 13.71 MB / 0.9167 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 6.9e-05/0.00807, allocations: 115.6 kB / 0.9568 GB, free: 13.59 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.897e-06/0.008079, allocations: 7.938 kB / 0.9568 GB, free: 13.59 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.238e-05/0.008101, allocations: 8.438 kB / 0.9568 GB, free: 13.57 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/0.008104, allocations: 0 / 0.9568 GB, free: 13.57 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.008108, allocations: 7.938 kB / 0.9568 GB, free: 13.57 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.008111, allocations: 0 / 0.9568 GB, free: 13.57 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002858/0.008397, allocations: 326 kB / 0.9571 GB, free: 13.21 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.008399, allocations: 4 kB / 0.9571 GB, free: 13.21 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.816e-05/0.008417, allocations: 7.984 kB / 0.9571 GB, free: 13.2 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.008419, allocations: 0 / 0.9571 GB, free: 13.2 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.615e-06/0.008427, allocations: 4 kB / 0.9571 GB, free: 13.2 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.008429, allocations: 3.938 kB / 0.9571 GB, free: 13.19 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.00843, allocations: 0 / 0.9571 GB, free: 13.19 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000484/0.008914, allocations: 223.3 kB / 0.9574 GB, free: 12.96 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 1.44e-05/0.008928, allocations: 11.89 kB / 0.9574 GB, free: 12.95 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.341e-05/0.008942, allocations: 0 / 0.9574 GB, free: 12.95 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.339e-05/0.008985, allocations: 11.98 kB / 0.9574 GB, free: 12.93 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.082e-05/0.009016, allocations: 11.98 kB / 0.9574 GB, free: 12.92 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.833e-06/0.009023, allocations: 3.984 kB / 0.9574 GB, free: 12.92 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 3.893e-05/0.009062, allocations: 93.03 kB / 0.9575 GB, free: 12.83 MB / 0.9167 GB Notification: Performance of sort global known variables: time 6e-08/0.009062, allocations: 0 / 0.9575 GB, free: 12.83 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0002012/0.009263, allocations: 39.92 kB / 0.9575 GB, free: 12.79 MB / 0.9167 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.0002501/0.009513, allocations: 174.2 kB / 0.9577 GB, free: 12.63 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001517/0.009665, allocations: 67.89 kB / 0.9578 GB, free: 12.56 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.009666, allocations: 0 / 0.9578 GB, free: 12.56 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 5.411e-05/0.00972, allocations: 31.98 kB / 0.9578 GB, free: 12.53 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001775/0.009898, allocations: 12.48 kB / 0.9578 GB, free: 12.52 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002994/0.0102, allocations: 203.1 kB / 0.958 GB, free: 12.29 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.15e-05/0.01025, allocations: 77.33 kB / 0.9581 GB, free: 12.2 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.526e-05/0.01027, allocations: 12.5 kB / 0.9581 GB, free: 12.18 MB / 0.9167 GB Notification: Performance of SimCode: time 7.61e-07/0.01027, allocations: 0 / 0.9581 GB, free: 12.18 MB / 0.9167 GB Notification: Performance of Templates: time 0.002462/0.01274, allocations: 1.678 MB / 0.9597 GB, free: 10.51 MB / 0.9167 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.pipe ; mkfifo Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.pipe >> ../files/Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.sim & ./Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsUK.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 6.654860224574804]