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.001475/0.001475, allocations: 80.3 kB / 19.18 MB, free: 2.516 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.001814/0.001814, allocations: 162.6 kB / 22.46 MB, free: 5.375 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.472/1.472, allocations: 177.1 MB / 202.8 MB, free: 9.168 MB / 190.1 MB " [Timeout remaining time 178] 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 2.772/2.772, allocations: 359 MB / 0.6037 GB, free: 14.93 MB / 0.5762 GB " [Timeout remaining time 177] 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.643e-06/1.643e-06, allocations: 0 / 0.9509 GB, free: 11.61 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.459e-05/2.623e-05, allocations: 2.281 kB / 0.9509 GB, free: 11.61 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK): time 0.002865/0.002891, allocations: 1.488 MB / 0.9524 GB, free: 10.1 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001588/0.004479, allocations: 0.7717 MB / 0.9531 GB, free: 9.32 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.501e-05/0.004544, allocations: 3.938 kB / 0.9531 GB, free: 9.316 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3e-05/0.004574, allocations: 3.938 kB / 0.9531 GB, free: 9.312 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 6.366e-05/0.004638, allocations: 11.88 kB / 0.9532 GB, free: 9.301 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006938/0.005331, allocations: 155.3 kB / 0.9533 GB, free: 9.148 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001445/0.005476, allocations: 71.78 kB / 0.9534 GB, free: 9.078 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 9.238e-05/0.005568, allocations: 20.16 kB / 0.9534 GB, free: 9.059 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001769/0.005745, allocations: 47.89 kB / 0.9534 GB, free: 9.012 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 7.896e-05/0.005824, allocations: 35.89 kB / 0.9535 GB, free: 8.977 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.29e-05/0.005847, allocations: 4 kB / 0.9535 GB, free: 8.973 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000304/0.006151, allocations: 139.7 kB / 0.9536 GB, free: 8.836 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.596e-05/0.006187, allocations: 19.97 kB / 0.9536 GB, free: 8.816 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001175/0.006304, allocations: 19.92 kB / 0.9536 GB, free: 8.797 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.000318/0.006622, allocations: 175.4 kB / 0.9538 GB, free: 8.625 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 2.485e-06/0.006625, allocations: 0 / 0.9538 GB, free: 8.625 MB / 0.8575 GB Notification: Performance of FrontEnd: time 9.51e-07/0.006626, allocations: 0 / 0.9538 GB, free: 8.625 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.39e-06/0.006631, allocations: 7.938 kB / 0.9538 GB, free: 8.617 MB / 0.8575 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.0006837/0.007315, allocations: 349.6 kB / 0.9542 GB, free: 8.242 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.518e-05/0.00735, allocations: 8.031 kB / 0.9542 GB, free: 8.234 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003695/0.00772, allocations: 32.88 kB / 0.9542 GB, free: 8.203 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002559/0.007976, allocations: 134.3 kB / 0.9543 GB, free: 8.047 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.22e-05/0.008008, allocations: 8.359 kB / 0.9543 GB, free: 8.039 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.705e-05/0.008025, allocations: 4.375 kB / 0.9543 GB, free: 8.035 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002044/0.008229, allocations: 70.22 kB / 0.9544 GB, free: 7.961 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.999e-06/0.008239, allocations: 192 / 0.9544 GB, free: 7.961 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.687e-05/0.008256, allocations: 4.125 kB / 0.9544 GB, free: 7.957 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.158e-06/0.008265, allocations: 4 kB / 0.9544 GB, free: 7.953 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001383/0.008404, allocations: 39.91 kB / 0.9544 GB, free: 7.914 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005794/0.008983, allocations: 244.5 kB / 0.9547 GB, free: 7.645 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001485/0.009131, allocations: 42.56 kB / 0.9547 GB, free: 7.594 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.688e-05/0.009218, allocations: 28.97 kB / 0.9547 GB, free: 7.562 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.418e-05/0.009242, allocations: 7.938 kB / 0.9548 GB, free: 7.555 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001715/0.009414, allocations: 83.3 kB / 0.9548 GB, free: 7.461 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=7): time 1.312e-06/0.009415, allocations: 0 / 0.9548 GB, free: 7.461 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7): time 0.0004551/0.00987, allocations: 145.7 kB / 0.955 GB, free: 7.312 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.655e-05/0.009917, allocations: 51.41 kB / 0.955 GB, free: 7.25 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001371/0.01005, allocations: 129.4 kB / 0.9551 GB, free: 7.113 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.584e-05/0.01008, allocations: 29.7 kB / 0.9552 GB, free: 7.078 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 7.275e-05/0.01015, allocations: 92.14 kB / 0.9553 GB, free: 6.984 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.549e-05/0.01019, allocations: 23.83 kB / 0.9553 GB, free: 6.961 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.332e-05/0.01026, allocations: 25.7 kB / 0.9553 GB, free: 6.93 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001542/0.01042, allocations: 318.8 kB / 0.9556 GB, free: 6.609 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.276e-05/0.01051, allocations: 23.98 kB / 0.9556 GB, free: 6.586 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000109/0.01062, allocations: 54.48 kB / 0.9557 GB, free: 6.523 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001788/0.0108, allocations: 70.55 kB / 0.9558 GB, free: 6.445 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.499e-06/0.0108, allocations: 8 kB / 0.9558 GB, free: 6.438 MB / 0.8575 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002674/0.01107, allocations: 121.5 kB / 0.9559 GB, free: 6.312 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.544e-05/0.01108, allocations: 6.812 kB / 0.9559 GB, free: 6.309 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.01109, allocations: 3.938 kB / 0.9559 GB, free: 6.305 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.709e-05/0.01111, allocations: 4 kB / 0.9559 GB, free: 6.301 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.518e-05/0.0112, allocations: 11.94 kB / 0.9559 GB, free: 6.289 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.914e-06/0.01121, allocations: 3.984 kB / 0.9559 GB, free: 6.285 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.784e-05/0.01128, allocations: 4 kB / 0.9559 GB, free: 6.281 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.422e-05/0.01129, allocations: 8.453 kB / 0.9559 GB, free: 6.273 MB / 0.8575 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.0001175/0.01141, allocations: 117.8 kB / 0.956 GB, free: 6.148 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.647e-05/0.01144, allocations: 15.83 kB / 0.956 GB, free: 6.133 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.14e-05/0.01148, allocations: 12.42 kB / 0.9561 GB, free: 6.121 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.01148, allocations: 0 / 0.9561 GB, free: 6.121 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/0.01148, allocations: 0 / 0.9561 GB, free: 6.121 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.01148, allocations: 0 / 0.9561 GB, free: 6.121 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004894/0.01197, allocations: 334 kB / 0.9564 GB, free: 5.758 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.01198, allocations: 4 kB / 0.9564 GB, free: 5.754 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.273e-05/0.01202, allocations: 4 kB / 0.9564 GB, free: 5.75 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.01202, allocations: 0 / 0.9564 GB, free: 5.75 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.298e-05/0.01203, allocations: 3.984 kB / 0.9564 GB, free: 5.746 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.01204, allocations: 0 / 0.9564 GB, free: 5.746 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.01204, allocations: 0 / 0.9564 GB, free: 5.746 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003278/0.01236, allocations: 223.3 kB / 0.9566 GB, free: 5.512 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.345e-05/0.01238, allocations: 7.891 kB / 0.9566 GB, free: 5.504 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.173e-05/0.0124, allocations: 7.984 kB / 0.9566 GB, free: 5.496 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.538e-05/0.01248, allocations: 0 / 0.9566 GB, free: 5.496 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.353e-05/0.01253, allocations: 11.98 kB / 0.9566 GB, free: 5.484 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.072e-05/0.01254, allocations: 4 kB / 0.9566 GB, free: 5.48 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 6.805e-05/0.01261, allocations: 99.27 kB / 0.9567 GB, free: 5.383 MB / 0.8575 GB Notification: Performance of sort global known variables: time 7e-08/0.01261, allocations: 0 / 0.9567 GB, free: 5.383 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003042/0.01291, allocations: 35.94 kB / 0.9568 GB, free: 5.348 MB / 0.8575 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.0004408/0.01335, allocations: 173.9 kB / 0.9569 GB, free: 5.18 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002589/0.01361, allocations: 71.91 kB / 0.957 GB, free: 5.109 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.01361, allocations: 0 / 0.957 GB, free: 5.109 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001072/0.01372, allocations: 31.98 kB / 0.957 GB, free: 5.078 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002656/0.01399, allocations: 13.64 kB / 0.957 GB, free: 5.066 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004805/0.01447, allocations: 181.5 kB / 0.9572 GB, free: 4.863 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.124e-05/0.01455, allocations: 71.47 kB / 0.9573 GB, free: 4.773 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 3.873e-05/0.01459, allocations: 7.984 kB / 0.9573 GB, free: 4.766 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.705e-05/0.01462, allocations: 12.5 kB / 0.9573 GB, free: 4.754 MB / 0.8575 GB Notification: Performance of SimCode: time 4.01e-07/0.01462, allocations: 0 / 0.9573 GB, free: 4.754 MB / 0.8575 GB Notification: Performance of Templates: time 0.005099/0.01972, allocations: 1.493 MB / 0.9588 GB, free: 3.277 MB / 0.8575 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: 8.039400484412909]