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.002262/0.002262, allocations: 83.69 kB / 20.23 MB, free: 4.191 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.002819/0.002819, allocations: 157.3 kB / 23.55 MB, free: 0.875 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.57/1.57, allocations: 177.1 MB / 203.9 MB, free: 5.621 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 3.124/3.124, allocations: 377.8 MB / 0.6232 GB, free: 8.551 MB / 0.5886 GB " [Timeout remaining time 176] 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.183e-06/1.183e-06, allocations: 0 / 0.8108 GB, free: 2.176 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.474e-05/2.592e-05, allocations: 4.984 kB / 0.8108 GB, free: 2.172 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors): time 0.003138/0.003163, allocations: 1.619 MB / 0.8124 GB, free: 0.5625 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001728/0.004891, allocations: 0.9228 MB / 0.8133 GB, free: 15.64 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.862e-05/0.00497, allocations: 0 / 0.8133 GB, free: 15.64 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0002792/0.005249, allocations: 61.36 kB / 0.8133 GB, free: 15.58 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0005249/0.005774, allocations: 147.2 kB / 0.8135 GB, free: 15.43 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 4.501e-05/0.005819, allocations: 17.12 kB / 0.8135 GB, free: 15.42 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0005111/0.00633, allocations: 379.9 kB / 0.8138 GB, free: 15.05 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 5.504e-05/0.006385, allocations: 12.94 kB / 0.8138 GB, free: 15.04 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003803/0.006766, allocations: 199.5 kB / 0.814 GB, free: 14.84 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00024/0.007006, allocations: 130.1 kB / 0.8142 GB, free: 14.71 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 4.613e-05/0.007052, allocations: 16 kB / 0.8142 GB, free: 14.7 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006536/0.007705, allocations: 436.9 kB / 0.8146 GB, free: 14.26 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 9.706e-05/0.007802, allocations: 59.7 kB / 0.8146 GB, free: 14.2 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0001466/0.007949, allocations: 79.78 kB / 0.8147 GB, free: 14.12 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.001849/0.009798, allocations: 0.9553 MB / 0.8157 GB, free: 13.16 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.445e-06/0.0098, allocations: 0.7188 kB / 0.8157 GB, free: 13.16 MB / 0.7761 GB Notification: Performance of FrontEnd: time 6.92e-07/0.009801, allocations: 0 / 0.8157 GB, free: 13.16 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 5.4e-06/0.009807, allocations: 0.5312 kB / 0.8157 GB, free: 13.16 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.001516/0.01132, allocations: 0.6957 MB / 0.8163 GB, free: 12.43 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.516e-05/0.01136, allocations: 13.06 kB / 0.8163 GB, free: 12.42 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.798e-05/0.01146, allocations: 44.69 kB / 0.8164 GB, free: 12.38 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005598/0.01202, allocations: 312 kB / 0.8167 GB, free: 12.05 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.323e-05/0.01203, allocations: 4.375 kB / 0.8167 GB, free: 12.05 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.731e-05/0.01205, allocations: 4.375 kB / 0.8167 GB, free: 12.04 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001848/0.01223, allocations: 114.2 kB / 0.8168 GB, free: 11.91 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.755e-06/0.01224, allocations: 192 / 0.8168 GB, free: 11.91 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.829e-06/0.01225, allocations: 384 / 0.8168 GB, free: 11.91 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.121e-06/0.01225, allocations: 5.094 kB / 0.8168 GB, free: 11.91 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001164/0.01237, allocations: 63.88 kB / 0.8169 GB, free: 11.84 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004805/0.01285, allocations: 315.7 kB / 0.8172 GB, free: 11.49 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001929/0.01304, allocations: 141 kB / 0.8173 GB, free: 11.3 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001027/0.01315, allocations: 67.42 kB / 0.8174 GB, free: 11.22 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.813e-05/0.01316, allocations: 4 kB / 0.8174 GB, free: 11.21 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.032e-05/0.01321, allocations: 42.17 kB / 0.8174 GB, free: 11.16 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=4): time 9.62e-07/0.01321, allocations: 0 / 0.8174 GB, free: 11.16 MB / 0.7761 GB Notification: Performance of matching and sorting (n=4): time 0.0003841/0.01359, allocations: 179.1 kB / 0.8176 GB, free: 10.98 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.813e-05/0.01369, allocations: 136.5 kB / 0.8177 GB, free: 10.82 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007982/0.01449, allocations: 0.6009 MB / 0.8183 GB, free: 10.2 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.552e-05/0.01451, allocations: 25.7 kB / 0.8183 GB, free: 10.17 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003916/0.0149, allocations: 233.5 kB / 0.8186 GB, free: 9.938 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.332e-05/0.01493, allocations: 7.906 kB / 0.8186 GB, free: 9.93 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001086/0.01504, allocations: 71.3 kB / 0.8186 GB, free: 9.852 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0003309/0.01537, allocations: 0.5313 MB / 0.8191 GB, free: 9.309 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000116/0.01548, allocations: 55.94 kB / 0.8192 GB, free: 9.254 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002872/0.01577, allocations: 260.2 kB / 0.8194 GB, free: 8.941 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002938/0.01606, allocations: 176.4 kB / 0.8196 GB, free: 8.754 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.01607, allocations: 0 / 0.8196 GB, free: 8.754 MB / 0.7761 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003912/0.01646, allocations: 217.3 kB / 0.8198 GB, free: 8.535 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.398e-05/0.01647, allocations: 4 kB / 0.8198 GB, free: 8.531 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.556e-06/0.01648, allocations: 3.984 kB / 0.8198 GB, free: 8.527 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.315e-05/0.01649, allocations: 4.5 kB / 0.8198 GB, free: 8.523 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001261/0.01662, allocations: 15.98 kB / 0.8198 GB, free: 8.508 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.945e-06/0.01663, allocations: 4.438 kB / 0.8199 GB, free: 8.504 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001962/0.01682, allocations: 33.45 kB / 0.8199 GB, free: 8.473 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.605e-05/0.01684, allocations: 4 kB / 0.8199 GB, free: 8.469 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 0.0002156/0.01705, allocations: 224.4 kB / 0.8201 GB, free: 8.238 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.096e-05/0.01712, allocations: 36.48 kB / 0.8201 GB, free: 8.203 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000349/0.01746, allocations: 172 kB / 0.8203 GB, free: 8.035 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.01747, allocations: 0 / 0.8203 GB, free: 8.035 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.005e-05/0.01748, allocations: 7.938 kB / 0.8203 GB, free: 8.027 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.01748, allocations: 3.938 kB / 0.8203 GB, free: 8.023 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003547/0.01784, allocations: 264.5 kB / 0.8206 GB, free: 7.73 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.01784, allocations: 0 / 0.8206 GB, free: 7.73 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.403e-05/0.01793, allocations: 15.98 kB / 0.8206 GB, free: 7.715 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.01793, allocations: 4 kB / 0.8206 GB, free: 7.711 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.149e-05/0.01794, allocations: 4 kB / 0.8206 GB, free: 7.707 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.358e-06/0.01795, allocations: 4 kB / 0.8206 GB, free: 7.703 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.01795, allocations: 2 kB / 0.8206 GB, free: 7.703 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003096/0.01826, allocations: 207.1 kB / 0.8208 GB, free: 7.465 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001594/0.01842, allocations: 63.66 kB / 0.8209 GB, free: 7.402 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.658e-05/0.01847, allocations: 4 kB / 0.8209 GB, free: 7.398 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001522/0.01862, allocations: 12.92 kB / 0.8209 GB, free: 7.387 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.175e-05/0.01865, allocations: 11.92 kB / 0.8209 GB, free: 7.375 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.182e-06/0.01866, allocations: 0 / 0.8209 GB, free: 7.375 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0005458/0.0192, allocations: 432.1 kB / 0.8213 GB, free: 6.953 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1.01e-07/0.0192, allocations: 0 / 0.8213 GB, free: 6.953 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0005116/0.01971, allocations: 99.94 kB / 0.8214 GB, free: 6.855 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.005146/0.02486, allocations: 2.815 MB / 0.8241 GB, free: 4.039 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0003451/0.0252, allocations: 139.5 kB / 0.8243 GB, free: 3.898 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.02521, allocations: 7.938 kB / 0.8243 GB, free: 3.891 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 9.434e-05/0.0253, allocations: 59.66 kB / 0.8243 GB, free: 3.828 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003862/0.02569, allocations: 60.23 kB / 0.8244 GB, free: 3.77 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001053/0.02674, allocations: 0.5801 MB / 0.825 GB, free: 3.145 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002172/0.02696, allocations: 199.3 kB / 0.8251 GB, free: 2.93 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0001181/0.02707, allocations: 38.28 kB / 0.8252 GB, free: 2.891 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.482e-05/0.02715, allocations: 24.48 kB / 0.8252 GB, free: 2.867 MB / 0.7761 GB Notification: Performance of SimCode: time 5.21e-07/0.02715, allocations: 0 / 0.8252 GB, free: 2.867 MB / 0.7761 GB Notification: Performance of Templates: time 0.01511/0.04226, allocations: 7.947 MB / 0.833 GB, free: 11 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","/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.508428145083599]