Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.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.0009695/0.0009695, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.0009289/0.0009289, allocations: 161 kB / 23.82 MB, free: 0.75 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.8892/0.8892, allocations: 177.1 MB / 204.2 MB, free: 5.605 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.665/1.665, allocations: 359 MB / 0.6052 GB, free: 10.99 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.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|TSoi.[0-9,]+..T",fileNamePrefix="Buildings_11_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors") translateModel(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|TSoi.[0-9,]+..T",fileNamePrefix="Buildings_11_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.233e-06/1.233e-06, allocations: 0 / 0.7871 GB, free: 12.48 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.155e-05/2.278e-05, allocations: 8.922 kB / 0.7871 GB, free: 12.48 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors): time 0.001983/0.002006, allocations: 1.639 MB / 0.7887 GB, free: 10.84 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001109/0.003115, allocations: 0.9236 MB / 0.7896 GB, free: 9.914 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.97e-05/0.003184, allocations: 0 / 0.7896 GB, free: 9.914 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0002299/0.003414, allocations: 63.61 kB / 0.7896 GB, free: 9.852 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0004446/0.003859, allocations: 156.3 kB / 0.7898 GB, free: 9.699 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 2.916e-05/0.003888, allocations: 7.984 kB / 0.7898 GB, free: 9.691 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0002974/0.004185, allocations: 379.1 kB / 0.7902 GB, free: 9.32 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 4.71e-05/0.004233, allocations: 14.28 kB / 0.7902 GB, free: 9.312 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002594/0.004492, allocations: 207.4 kB / 0.7904 GB, free: 9.109 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001451/0.004637, allocations: 121.4 kB / 0.7905 GB, free: 8.992 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.529e-05/0.004662, allocations: 12 kB / 0.7905 GB, free: 8.98 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004761/0.005138, allocations: 0.5477 MB / 0.791 GB, free: 8.418 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 7.408e-05/0.005213, allocations: 55.7 kB / 0.7911 GB, free: 8.363 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 7.786e-05/0.00529, allocations: 77.38 kB / 0.7912 GB, free: 8.289 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.000952/0.006242, allocations: 0.8774 MB / 0.792 GB, free: 7.41 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.993e-06/0.006244, allocations: 0 / 0.792 GB, free: 7.41 MB / 0.7448 GB Notification: Performance of FrontEnd: time 4.91e-07/0.006245, allocations: 7.938 kB / 0.792 GB, free: 7.402 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.278e-06/0.006249, allocations: 1.562 kB / 0.792 GB, free: 7.402 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0009492/0.007198, allocations: 0.6964 MB / 0.7927 GB, free: 6.672 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.576e-05/0.007234, allocations: 8.031 kB / 0.7927 GB, free: 6.664 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.385e-05/0.007298, allocations: 36.7 kB / 0.7927 GB, free: 6.629 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002881/0.007586, allocations: 284.3 kB / 0.793 GB, free: 6.324 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.156e-05/0.007598, allocations: 8.375 kB / 0.793 GB, free: 6.316 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.295e-05/0.007611, allocations: 4.906 kB / 0.793 GB, free: 6.312 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001203/0.007731, allocations: 86.34 kB / 0.7931 GB, free: 6.207 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.554e-06/0.007738, allocations: 192 / 0.7931 GB, free: 6.207 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.277e-06/0.007748, allocations: 384 / 0.7931 GB, free: 6.207 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.959e-06/0.007758, allocations: 7.938 kB / 0.7931 GB, free: 6.199 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.998e-05/0.007788, allocations: 12.45 kB / 0.7931 GB, free: 6.188 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002442/0.008032, allocations: 293.1 kB / 0.7934 GB, free: 5.855 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 8.573e-05/0.008118, allocations: 104.2 kB / 0.7935 GB, free: 5.703 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.381e-05/0.008161, allocations: 44.02 kB / 0.7936 GB, free: 5.645 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.425e-05/0.008176, allocations: 4 kB / 0.7936 GB, free: 5.641 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.304e-05/0.008199, allocations: 41.39 kB / 0.7936 GB, free: 5.59 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=4): time 7.51e-07/0.008199, allocations: 1.375 kB / 0.7936 GB, free: 5.59 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4): time 0.000197/0.008396, allocations: 99.06 kB / 0.7937 GB, free: 5.488 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.521e-05/0.008442, allocations: 132.5 kB / 0.7938 GB, free: 5.328 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003331/0.008775, allocations: 498.6 kB / 0.7943 GB, free: 4.82 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.758e-05/0.008792, allocations: 29.7 kB / 0.7943 GB, free: 4.785 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001058/0.008898, allocations: 227.2 kB / 0.7945 GB, free: 4.555 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.281e-05/0.008921, allocations: 20.94 kB / 0.7946 GB, free: 4.535 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.689e-05/0.008978, allocations: 63.3 kB / 0.7946 GB, free: 4.465 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001352/0.009113, allocations: 0.5425 MB / 0.7951 GB, free: 3.914 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.6e-05/0.009159, allocations: 23.86 kB / 0.7952 GB, free: 3.891 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001093/0.009268, allocations: 213.8 kB / 0.7954 GB, free: 3.625 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001148/0.009383, allocations: 102.7 kB / 0.7955 GB, free: 3.508 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.009386, allocations: 0 / 0.7955 GB, free: 3.508 MB / 0.7448 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0001694/0.009555, allocations: 141.4 kB / 0.7956 GB, free: 3.363 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.128e-05/0.009566, allocations: 8 kB / 0.7956 GB, free: 3.355 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.009572, allocations: 0 / 0.7956 GB, free: 3.355 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.063e-05/0.009593, allocations: 4 kB / 0.7956 GB, free: 3.352 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.9e-05/0.009682, allocations: 23.92 kB / 0.7956 GB, free: 3.328 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.009688, allocations: 4.562 kB / 0.7956 GB, free: 3.324 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.594e-05/0.009774, allocations: 20.38 kB / 0.7957 GB, free: 3.305 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.168e-05/0.009785, allocations: 11.98 kB / 0.7957 GB, free: 3.293 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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 7.574e-05/0.009861, allocations: 158.4 kB / 0.7958 GB, free: 3.129 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.249e-05/0.009893, allocations: 39.77 kB / 0.7959 GB, free: 3.09 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001647/0.01006, allocations: 121.7 kB / 0.796 GB, free: 2.969 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.053e-06/0.01006, allocations: 0 / 0.796 GB, free: 2.969 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.149e-06/0.01007, allocations: 7.938 kB / 0.796 GB, free: 2.961 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.01007, allocations: 0 / 0.796 GB, free: 2.961 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001841/0.01025, allocations: 272.5 kB / 0.7962 GB, free: 2.66 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.01025, allocations: 0.625 kB / 0.7962 GB, free: 2.66 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.283e-05/0.0103, allocations: 12.53 kB / 0.7963 GB, free: 2.648 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.0103, allocations: 0 / 0.7963 GB, free: 2.648 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.177e-06/0.01031, allocations: 4.719 kB / 0.7963 GB, free: 2.645 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.01031, allocations: 0 / 0.7963 GB, free: 2.645 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.108e-06/0.01031, allocations: 8.797 kB / 0.7963 GB, free: 2.637 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000131/0.01045, allocations: 160.3 kB / 0.7964 GB, free: 2.445 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 6.135e-05/0.01051, allocations: 47.75 kB / 0.7965 GB, free: 2.398 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.059e-05/0.01054, allocations: 7.984 kB / 0.7965 GB, free: 2.391 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.316e-05/0.0106, allocations: 17.31 kB / 0.7965 GB, free: 2.375 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.155e-05/0.01062, allocations: 7.938 kB / 0.7965 GB, free: 2.367 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.599e-06/0.01063, allocations: 7.922 kB / 0.7965 GB, free: 2.359 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.000199/0.01083, allocations: 311.7 kB / 0.7968 GB, free: 2.059 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.01083, allocations: 3.938 kB / 0.7968 GB, free: 2.055 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003041/0.01113, allocations: 108.4 kB / 0.7969 GB, free: 1.949 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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 Backend phase and start with SimCode phase: time 0.002778/0.01391, allocations: 2.811 MB / 0.7997 GB, free: 15.14 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0001946/0.0141, allocations: 79.58 kB / 0.7997 GB, free: 15.06 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.0141, allocations: 4 kB / 0.7997 GB, free: 15.05 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 3.151e-05/0.01414, allocations: 27.61 kB / 0.7998 GB, free: 15.02 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002272/0.01436, allocations: 61.62 kB / 0.7998 GB, free: 14.96 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008088/0.01517, allocations: 0.5254 MB / 0.8003 GB, free: 14.39 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.108e-05/0.01523, allocations: 111.9 kB / 0.8004 GB, free: 14.27 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 6.583e-05/0.0153, allocations: 25.62 kB / 0.8005 GB, free: 14.23 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.085e-05/0.01535, allocations: 28.48 kB / 0.8005 GB, free: 14.21 MB / 0.7605 GB Notification: Performance of SimCode: time 6.31e-07/0.01535, allocations: 0 / 0.8005 GB, free: 14.21 MB / 0.7605 GB Notification: Performance of Templates: time 0.009174/0.02452, allocations: 8.243 MB / 0.8085 GB, free: 6.047 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.makefile [Timeout 300] (rm -f Buildings_11_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.sim & ./Buildings_11_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedNFactors.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.994750814978033]