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.002079/0.002079, allocations: 80.41 kB / 20.23 MB, free: 4.195 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.002552/0.002552, allocations: 161.7 kB / 23.55 MB, free: 0.8867 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 1.506/1.506, allocations: 177.1 MB / 203.9 MB, free: 5.293 MB / 186.7 MB " [Timeout remaining time 178] 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 2.855/2.855, allocations: 377.8 MB / 0.6232 GB, free: 8.52 MB / 0.5886 GB " [Timeout remaining time 177] 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.1..T|TSoi.2..T|TSoi.3..T|TSoi.4..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.1..T|TSoi.2..T|TSoi.3..T|TSoi.4..T",fileNamePrefix="Buildings_12_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.873e-06/1.873e-06, allocations: 0 / 0.8108 GB, free: 1.004 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.567e-05/2.754e-05, allocations: 3.312 kB / 0.8108 GB, free: 1 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors): time 0.003106/0.003134, allocations: 1.576 MB / 0.8123 GB, free: 15.44 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001751/0.004884, allocations: 0.8726 MB / 0.8132 GB, free: 14.56 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.704e-05/0.004961, allocations: 0 / 0.8132 GB, free: 14.56 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0002707/0.005232, allocations: 63.61 kB / 0.8132 GB, free: 14.5 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0005747/0.005807, allocations: 148.6 kB / 0.8134 GB, free: 14.36 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 3.959e-05/0.005846, allocations: 12.83 kB / 0.8134 GB, free: 14.34 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0005295/0.006376, allocations: 378.8 kB / 0.8137 GB, free: 13.97 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 5.659e-05/0.006432, allocations: 10.09 kB / 0.8137 GB, free: 13.96 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004565/0.006889, allocations: 211.4 kB / 0.8139 GB, free: 13.76 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000303/0.007192, allocations: 124.2 kB / 0.8141 GB, free: 13.64 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 0.000135/0.007327, allocations: 20.5 kB / 0.8141 GB, free: 13.62 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007679/0.008095, allocations: 482.1 kB / 0.8145 GB, free: 13.13 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 8.139e-05/0.008176, allocations: 43.78 kB / 0.8146 GB, free: 13.09 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.0001719/0.008348, allocations: 95.7 kB / 0.8147 GB, free: 13 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.001688/0.01004, allocations: 0.9107 MB / 0.8156 GB, free: 12.09 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.01004, allocations: 0 / 0.8156 GB, free: 12.09 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.022e-06/0.01004, allocations: 0 / 0.8156 GB, free: 12.09 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 8.856e-06/0.01005, allocations: 0 / 0.8156 GB, free: 12.09 MB / 0.7292 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.001689/0.01174, allocations: 0.5755 MB / 0.8161 GB, free: 11.48 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.905e-05/0.01178, allocations: 13.41 kB / 0.8161 GB, free: 11.47 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001107/0.01189, allocations: 36.7 kB / 0.8162 GB, free: 11.43 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005878/0.01248, allocations: 317.7 kB / 0.8165 GB, free: 11.1 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.875e-05/0.0125, allocations: 8.375 kB / 0.8165 GB, free: 11.09 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.914e-05/0.01251, allocations: 4.375 kB / 0.8165 GB, free: 11.09 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001857/0.0127, allocations: 101.6 kB / 0.8166 GB, free: 10.97 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.068e-05/0.01271, allocations: 6.047 kB / 0.8166 GB, free: 10.97 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.582e-05/0.01273, allocations: 4.375 kB / 0.8166 GB, free: 10.96 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.375e-06/0.01273, allocations: 3.938 kB / 0.8166 GB, free: 10.96 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000121/0.01286, allocations: 67.86 kB / 0.8167 GB, free: 10.89 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004163/0.01327, allocations: 265 kB / 0.8169 GB, free: 10.6 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001581/0.01343, allocations: 98.41 kB / 0.817 GB, free: 10.46 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001034/0.01353, allocations: 63.45 kB / 0.8171 GB, free: 10.39 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.019e-05/0.01355, allocations: 9.312 kB / 0.8171 GB, free: 10.38 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.043e-05/0.01359, allocations: 38.5 kB / 0.8171 GB, free: 10.34 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=4): time 1.252e-06/0.0136, allocations: 0 / 0.8171 GB, free: 10.34 MB / 0.7292 GB Notification: Performance of matching and sorting (n=4): time 0.0004225/0.01402, allocations: 195.1 kB / 0.8173 GB, free: 10.14 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001044/0.01412, allocations: 132.5 kB / 0.8174 GB, free: 9.98 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000727/0.01485, allocations: 0.5061 MB / 0.8179 GB, free: 9.465 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.641e-05/0.01488, allocations: 25.7 kB / 0.8179 GB, free: 9.434 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001572/0.01503, allocations: 156.4 kB / 0.8181 GB, free: 9.273 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.002e-05/0.01506, allocations: 16.44 kB / 0.8181 GB, free: 9.258 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.784e-05/0.01515, allocations: 47.06 kB / 0.8182 GB, free: 9.207 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0002063/0.01536, allocations: 342.8 kB / 0.8185 GB, free: 8.863 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001682/0.01553, allocations: 103.9 kB / 0.8186 GB, free: 8.762 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003025/0.01583, allocations: 269.5 kB / 0.8188 GB, free: 8.449 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003902/0.01622, allocations: 240.5 kB / 0.8191 GB, free: 8.203 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.01622, allocations: 0 / 0.8191 GB, free: 8.203 MB / 0.7292 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005197/0.01674, allocations: 305.2 kB / 0.8194 GB, free: 7.898 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.709e-05/0.01676, allocations: 8.656 kB / 0.8194 GB, free: 7.891 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.604e-06/0.01677, allocations: 0 / 0.8194 GB, free: 7.891 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.98e-05/0.01678, allocations: 0.7188 kB / 0.8194 GB, free: 7.891 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001459/0.01693, allocations: 19.98 kB / 0.8194 GB, free: 7.871 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.416e-06/0.01694, allocations: 4.844 kB / 0.8194 GB, free: 7.867 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002069/0.01715, allocations: 19.88 kB / 0.8194 GB, free: 7.848 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.374e-05/0.01717, allocations: 12.83 kB / 0.8194 GB, free: 7.836 MB / 0.7292 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 0.0002326/0.0174, allocations: 179 kB / 0.8196 GB, free: 7.652 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.814e-05/0.01747, allocations: 35.77 kB / 0.8196 GB, free: 7.617 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003813/0.01785, allocations: 184.1 kB / 0.8198 GB, free: 7.43 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.035e-06/0.01785, allocations: 0.75 kB / 0.8198 GB, free: 7.43 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.122e-06/0.01786, allocations: 11.88 kB / 0.8198 GB, free: 7.418 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.01787, allocations: 1.688 kB / 0.8198 GB, free: 7.418 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003088/0.01817, allocations: 217.2 kB / 0.82 GB, free: 7.176 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.01818, allocations: 0 / 0.82 GB, free: 7.176 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000103/0.01828, allocations: 15.98 kB / 0.82 GB, free: 7.16 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.01828, allocations: 0.875 kB / 0.82 GB, free: 7.16 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.37e-05/0.0183, allocations: 4 kB / 0.82 GB, free: 7.156 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.375e-06/0.0183, allocations: 3.469 kB / 0.82 GB, free: 7.156 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.0183, allocations: 0 / 0.82 GB, free: 7.156 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003149/0.01861, allocations: 203.3 kB / 0.8202 GB, free: 6.93 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001412/0.01876, allocations: 55.8 kB / 0.8203 GB, free: 6.875 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.613e-05/0.01881, allocations: 15.88 kB / 0.8203 GB, free: 6.859 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001685/0.01898, allocations: 11.98 kB / 0.8203 GB, free: 6.848 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.22e-05/0.01901, allocations: 8.172 kB / 0.8203 GB, free: 6.84 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.017e-06/0.01902, allocations: 4 kB / 0.8203 GB, free: 6.836 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0005242/0.01955, allocations: 379 kB / 0.8207 GB, free: 6.465 MB / 0.7292 GB Notification: Performance of sort global known variables: time 8e-08/0.01955, allocations: 0.5 kB / 0.8207 GB, free: 6.465 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0005453/0.02009, allocations: 105 kB / 0.8208 GB, free: 6.363 MB / 0.7292 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.005503/0.02559, allocations: 2.821 MB / 0.8236 GB, free: 3.551 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0004946/0.02609, allocations: 167.8 kB / 0.8237 GB, free: 3.387 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.437e-06/0.02609, allocations: 0 / 0.8237 GB, free: 3.387 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 9.713e-05/0.02619, allocations: 47.91 kB / 0.8238 GB, free: 3.34 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005304/0.02672, allocations: 48.31 kB / 0.8238 GB, free: 3.293 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001254/0.02797, allocations: 0.5894 MB / 0.8244 GB, free: 2.664 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002526/0.02823, allocations: 215.4 kB / 0.8246 GB, free: 2.43 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001502/0.02838, allocations: 41.92 kB / 0.8246 GB, free: 2.391 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.555e-05/0.02846, allocations: 24.5 kB / 0.8246 GB, free: 2.367 MB / 0.7292 GB Notification: Performance of SimCode: time 7.71e-07/0.02846, allocations: 4 kB / 0.8247 GB, free: 2.363 MB / 0.7292 GB Notification: Performance of Templates: time 0.01612/0.04458, allocations: 7.93 MB / 0.8324 GB, free: 10.53 MB / 0.7448 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedNFactors.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.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.229922002996318]