Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0009538/0.0009538, allocations: 87.58 kB / 20.45 MB, free: 4.121 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.0009755/0.0009755, allocations: 161.4 kB / 23.82 MB, free: 0.7539 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.9178/0.9178, allocations: 177.1 MB / 204.2 MB, free: 5.641 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.837/1.837, allocations: 377.8 MB / 0.6236 GB, free: 8.566 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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_12_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_12_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 0.8115 GB, free: 1.789 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.722e-05/2.881e-05, allocations: 4.844 kB / 0.8115 GB, free: 1.785 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors): time 0.001874/0.001903, allocations: 1.65 MB / 0.8131 GB, free: 144 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.00126/0.003163, allocations: 0.9278 MB / 0.814 GB, free: 15.21 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.548e-05/0.003229, allocations: 4 kB / 0.814 GB, free: 15.21 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0002201/0.003449, allocations: 61.2 kB / 0.8141 GB, free: 15.15 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0003645/0.003814, allocations: 147.1 kB / 0.8142 GB, free: 15 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 2.52e-05/0.003839, allocations: 16.95 kB / 0.8142 GB, free: 14.99 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0002904/0.004129, allocations: 374.9 kB / 0.8146 GB, free: 14.62 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 4.529e-05/0.004174, allocations: 16.92 kB / 0.8146 GB, free: 14.61 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002368/0.004411, allocations: 196.6 kB / 0.8148 GB, free: 14.41 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001415/0.004553, allocations: 132.4 kB / 0.8149 GB, free: 14.29 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.789e-05/0.004581, allocations: 19.94 kB / 0.8149 GB, free: 14.27 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003789/0.00496, allocations: 434.1 kB / 0.8154 GB, free: 13.83 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 6.156e-05/0.005021, allocations: 47.77 kB / 0.8154 GB, free: 13.78 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 7.963e-05/0.005101, allocations: 91.7 kB / 0.8155 GB, free: 13.69 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.000949/0.00605, allocations: 0.8787 MB / 0.8163 GB, free: 12.81 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.795e-06/0.006052, allocations: 0 / 0.8163 GB, free: 12.81 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.062e-06/0.006054, allocations: 0 / 0.8163 GB, free: 12.81 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.769e-06/0.006058, allocations: 0 / 0.8163 GB, free: 12.81 MB / 0.7761 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.0008902/0.006949, allocations: 0.7048 MB / 0.817 GB, free: 12.07 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.474e-05/0.006983, allocations: 8.031 kB / 0.817 GB, free: 12.07 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.379e-05/0.007047, allocations: 36.7 kB / 0.8171 GB, free: 12.03 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003031/0.00735, allocations: 285.5 kB / 0.8173 GB, free: 11.73 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.353e-05/0.007364, allocations: 8.375 kB / 0.8174 GB, free: 11.72 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.619e-05/0.00738, allocations: 4.375 kB / 0.8174 GB, free: 11.71 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001068/0.007487, allocations: 87.5 kB / 0.8174 GB, free: 11.61 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.007496, allocations: 192 / 0.8174 GB, free: 11.61 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.358e-06/0.007506, allocations: 4.312 kB / 0.8174 GB, free: 11.61 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.145e-06/0.007514, allocations: 3.938 kB / 0.8174 GB, free: 11.6 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.435e-05/0.007548, allocations: 15.92 kB / 0.8175 GB, free: 11.59 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002567/0.007805, allocations: 295.7 kB / 0.8177 GB, free: 11.25 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 7.74e-05/0.007882, allocations: 104.8 kB / 0.8178 GB, free: 11.1 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.736e-05/0.00793, allocations: 39.58 kB / 0.8179 GB, free: 11.04 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.993e-05/0.007949, allocations: 4 kB / 0.8179 GB, free: 11.04 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.454e-05/0.007974, allocations: 45.86 kB / 0.8179 GB, free: 10.98 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=4): time 7.21e-07/0.007975, allocations: 1.656 kB / 0.8179 GB, free: 10.98 MB / 0.7761 GB Notification: Performance of matching and sorting (n=4): time 0.0002009/0.008176, allocations: 97.84 kB / 0.818 GB, free: 10.88 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.679e-05/0.008222, allocations: 132.5 kB / 0.8182 GB, free: 10.72 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000374/0.008596, allocations: 0.5036 MB / 0.8186 GB, free: 10.2 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.562e-05/0.008612, allocations: 25.7 kB / 0.8187 GB, free: 10.17 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001106/0.008723, allocations: 227.2 kB / 0.8189 GB, free: 9.941 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.066e-05/0.008743, allocations: 12.78 kB / 0.8189 GB, free: 9.93 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.282e-05/0.008806, allocations: 71.3 kB / 0.819 GB, free: 9.852 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001465/0.008953, allocations: 0.5322 MB / 0.8195 GB, free: 9.309 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.109e-05/0.009004, allocations: 23.98 kB / 0.8195 GB, free: 9.285 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001178/0.009121, allocations: 210.6 kB / 0.8197 GB, free: 9.023 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001189/0.00924, allocations: 101 kB / 0.8198 GB, free: 8.91 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.009243, allocations: 0 / 0.8198 GB, free: 8.91 MB / 0.7761 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0001811/0.009424, allocations: 149.3 kB / 0.8199 GB, free: 8.758 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.254e-05/0.009436, allocations: 4 kB / 0.82 GB, free: 8.754 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.662e-06/0.009443, allocations: 0 / 0.82 GB, free: 8.754 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.623e-05/0.009459, allocations: 4 kB / 0.82 GB, free: 8.75 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.071e-05/0.00955, allocations: 18.77 kB / 0.82 GB, free: 8.734 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.032e-06/0.009556, allocations: 3.938 kB / 0.82 GB, free: 8.73 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.22e-05/0.009648, allocations: 27.81 kB / 0.82 GB, free: 8.703 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.04e-05/0.009658, allocations: 7.984 kB / 0.82 GB, free: 8.695 MB / 0.7761 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.655e-05/0.009735, allocations: 164.5 kB / 0.8202 GB, free: 8.523 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.309e-05/0.009768, allocations: 35.77 kB / 0.8202 GB, free: 8.488 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004377/0.01021, allocations: 129.4 kB / 0.8203 GB, free: 8.359 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.01021, allocations: 4.5 kB / 0.8203 GB, free: 8.355 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.01021, allocations: 3.938 kB / 0.8203 GB, free: 8.352 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.01022, allocations: 1.094 kB / 0.8203 GB, free: 8.352 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001931/0.01041, allocations: 272.5 kB / 0.8206 GB, free: 8.051 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.01041, allocations: 0 / 0.8206 GB, free: 8.051 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.147e-05/0.01046, allocations: 16.7 kB / 0.8206 GB, free: 8.035 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.356e-06/0.01047, allocations: 4 kB / 0.8206 GB, free: 8.031 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.163e-06/0.01047, allocations: 1.875 kB / 0.8206 GB, free: 8.031 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.736e-06/0.01048, allocations: 4 kB / 0.8206 GB, free: 8.027 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.01048, allocations: 0 / 0.8206 GB, free: 8.027 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001354/0.01061, allocations: 163.1 kB / 0.8208 GB, free: 7.832 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 7.401e-05/0.01069, allocations: 53.08 kB / 0.8208 GB, free: 7.781 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.477e-05/0.01071, allocations: 4 kB / 0.8208 GB, free: 7.777 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.779e-05/0.01078, allocations: 7.984 kB / 0.8208 GB, free: 7.77 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.089e-05/0.0108, allocations: 15.92 kB / 0.8209 GB, free: 7.754 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.512e-06/0.01081, allocations: 5.094 kB / 0.8209 GB, free: 7.75 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0002188/0.01103, allocations: 319 kB / 0.8212 GB, free: 7.438 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.01103, allocations: 0 / 0.8212 GB, free: 7.438 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0003178/0.01134, allocations: 108.5 kB / 0.8213 GB, free: 7.332 MB / 0.7761 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.002981/0.01433, allocations: 2.811 MB / 0.824 GB, free: 4.523 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0002204/0.01455, allocations: 79.58 kB / 0.8241 GB, free: 4.441 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.01455, allocations: 0 / 0.8241 GB, free: 4.441 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 3.218e-05/0.01458, allocations: 31.62 kB / 0.8241 GB, free: 4.406 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003091/0.01489, allocations: 61.8 kB / 0.8242 GB, free: 4.344 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008885/0.01578, allocations: 0.5203 MB / 0.8247 GB, free: 3.781 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.425e-05/0.01584, allocations: 116.3 kB / 0.8248 GB, free: 3.648 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 7.197e-05/0.01591, allocations: 42.28 kB / 0.8248 GB, free: 3.609 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.665e-05/0.01598, allocations: 28.44 kB / 0.8249 GB, free: 3.582 MB / 0.7761 GB Notification: Performance of SimCode: time 1.092e-06/0.01598, allocations: 0 / 0.8249 GB, free: 3.582 MB / 0.7761 GB Notification: Performance of Templates: time 0.009099/0.02508, allocations: 7.953 MB / 0.8326 GB, free: 11.71 MB / 0.7917 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.makefile [Timeout 300] (rm -f Buildings_12_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.sim & ./Buildings_12_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.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: 5.173928408883512]