Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001636/0.001636, allocations: 113.9 kB / 18.94 MB, free: 2.953 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001777/0.001777, allocations: 188.8 kB / 22.23 MB, free: 5.137 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.658/1.658, allocations: 225.6 MB / 251 MB, free: 13.04 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.622/2.622, allocations: 443.4 MB / 0.7321 GB, free: 12.24 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_10_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_10_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00199/0.00199, allocations: 63.89 kB / 1.061 GB, free: 2.996 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7512/0.7532, allocations: 160.8 MB / 1.218 GB, free: 3.695 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors): time 0.003267/0.7565, allocations: 1.597 MB / 1.22 GB, free: 2.445 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001726/0.7582, allocations: 0.9306 MB / 1.221 GB, free: 1.703 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.903e-05/0.7583, allocations: 5.25 kB / 1.221 GB, free: 1.699 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.000303/0.7586, allocations: 64.89 kB / 1.221 GB, free: 1.652 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0005215/0.7591, allocations: 142.2 kB / 1.221 GB, free: 1.551 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 3.86e-05/0.7592, allocations: 8.953 kB / 1.221 GB, free: 1.543 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0004845/0.7597, allocations: 360.5 kB / 1.221 GB, free: 1.328 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 6.586e-05/0.7597, allocations: 16.38 kB / 1.221 GB, free: 1.32 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002576/0.76, allocations: 151 kB / 1.222 GB, free: 1.242 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002404/0.7602, allocations: 140.8 kB / 1.222 GB, free: 1.156 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 4.242e-05/0.7603, allocations: 15.34 kB / 1.222 GB, free: 1.156 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008494/0.7611, allocations: 0.5438 MB / 1.222 GB, free: 0.8594 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 9.872e-05/0.7612, allocations: 57.69 kB / 1.222 GB, free: 0.8125 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0001904/0.7614, allocations: 133 kB / 1.222 GB, free: 0.7266 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.001768/0.7632, allocations: 0.8436 MB / 1.223 GB, free: 388 kB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.7632, allocations: 4 kB / 1.223 GB, free: 384 kB / 0.92 GB Notification: Performance of FrontEnd: time 1.593e-06/0.7632, allocations: 0 / 1.223 GB, free: 384 kB / 0.92 GB Notification: Performance of Transformations before backend: time 7.224e-06/0.7632, allocations: 1.156 kB / 1.223 GB, free: 384 kB / 0.92 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.002009/0.7652, allocations: 0.6626 MB / 1.224 GB, free: 15.79 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.031e-05/0.7652, allocations: 14.34 kB / 1.224 GB, free: 15.79 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.641e-05/0.7653, allocations: 29.97 kB / 1.224 GB, free: 15.77 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005928/0.7659, allocations: 386.2 kB / 1.224 GB, free: 15.44 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.338e-05/0.7659, allocations: 2.594 kB / 1.224 GB, free: 15.44 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.195e-05/0.7659, allocations: 9.25 kB / 1.224 GB, free: 15.43 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001843/0.7661, allocations: 97.94 kB / 1.224 GB, free: 15.34 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/0.7661, allocations: 4 kB / 1.224 GB, free: 15.34 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.177e-05/0.7661, allocations: 0.9375 kB / 1.224 GB, free: 15.34 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-06/0.7662, allocations: 1.094 kB / 1.224 GB, free: 15.34 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001145/0.7663, allocations: 68.81 kB / 1.225 GB, free: 15.3 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004745/0.7667, allocations: 338.1 kB / 1.225 GB, free: 14.98 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001485/0.7669, allocations: 115.9 kB / 1.225 GB, free: 14.85 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.761e-05/0.767, allocations: 55.31 kB / 1.225 GB, free: 14.8 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.977e-05/0.767, allocations: 0 / 1.225 GB, free: 14.8 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.244e-05/0.7671, allocations: 49.39 kB / 1.225 GB, free: 14.75 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=4): time 3.556e-06/0.7671, allocations: 7.922 kB / 1.225 GB, free: 14.74 MB / 0.9356 GB Notification: Performance of matching and sorting (n=4): time 0.0003737/0.7674, allocations: 188.9 kB / 1.225 GB, free: 14.62 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001003/0.7675, allocations: 134.8 kB / 1.225 GB, free: 14.46 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006907/0.7682, allocations: 0.5036 MB / 1.226 GB, free: 14.15 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.437e-05/0.7682, allocations: 26.2 kB / 1.226 GB, free: 14.12 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001573/0.7684, allocations: 161.6 kB / 1.226 GB, free: 13.97 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.675e-05/0.7684, allocations: 17.08 kB / 1.226 GB, free: 13.96 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.94e-05/0.7685, allocations: 49.44 kB / 1.226 GB, free: 13.92 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0002027/0.7687, allocations: 340.5 kB / 1.226 GB, free: 13.59 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001659/0.7689, allocations: 103.8 kB / 1.227 GB, free: 13.54 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000213/0.7691, allocations: 160.2 kB / 1.227 GB, free: 13.42 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003312/0.7694, allocations: 239.5 kB / 1.227 GB, free: 13.28 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.7694, allocations: 0 / 1.227 GB, free: 13.28 MB / 0.9356 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004355/0.7699, allocations: 303.8 kB / 1.227 GB, free: 13.11 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.856e-05/0.7699, allocations: 9.188 kB / 1.227 GB, free: 13.11 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.807e-06/0.7699, allocations: 1.344 kB / 1.227 GB, free: 13.11 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.624e-05/0.7699, allocations: 5.188 kB / 1.227 GB, free: 13.11 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001485/0.7701, allocations: 25.08 kB / 1.227 GB, free: 13.09 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.242e-06/0.7701, allocations: 1.156 kB / 1.227 GB, free: 13.09 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001947/0.7703, allocations: 24.38 kB / 1.227 GB, free: 13.08 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.183e-05/0.7703, allocations: 8.297 kB / 1.227 GB, free: 13.07 MB / 0.9356 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.0001904/0.7705, allocations: 180 kB / 1.227 GB, free: 12.92 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.592e-05/0.7705, allocations: 38.55 kB / 1.228 GB, free: 12.9 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003291/0.7709, allocations: 180.1 kB / 1.228 GB, free: 12.79 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.878e-06/0.7709, allocations: 5.656 kB / 1.228 GB, free: 12.78 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.7709, allocations: 2.062 kB / 1.228 GB, free: 12.78 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.7709, allocations: 1.406 kB / 1.228 GB, free: 12.78 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003381/0.7712, allocations: 289.1 kB / 1.228 GB, free: 12.5 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.7712, allocations: 0 / 1.228 GB, free: 12.5 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.585e-05/0.7713, allocations: 27.92 kB / 1.228 GB, free: 12.49 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.622e-06/0.7713, allocations: 5.562 kB / 1.228 GB, free: 12.48 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.056e-05/0.7713, allocations: 1.469 kB / 1.228 GB, free: 12.48 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.845e-06/0.7713, allocations: 2.156 kB / 1.228 GB, free: 12.48 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.7713, allocations: 1.219 kB / 1.228 GB, free: 12.48 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000289/0.7716, allocations: 192.6 kB / 1.228 GB, free: 12.33 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001909/0.7718, allocations: 139 kB / 1.228 GB, free: 12.2 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.559e-05/0.7719, allocations: 5.469 kB / 1.228 GB, free: 12.19 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000145/0.772, allocations: 14.11 kB / 1.228 GB, free: 12.18 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.713e-05/0.772, allocations: 14.86 kB / 1.228 GB, free: 12.17 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.793e-06/0.772, allocations: 2.719 kB / 1.228 GB, free: 12.17 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0004678/0.7725, allocations: 378.7 kB / 1.229 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of sort global known variables: time 8e-08/0.7725, allocations: 0 / 1.229 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0009177/0.7734, allocations: 100.6 kB / 1.229 GB, free: 11.95 MB / 0.9356 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.00522/0.7786, allocations: 2.805 MB / 1.232 GB, free: 9.344 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0004524/0.7791, allocations: 167.8 kB / 1.232 GB, free: 9.18 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.7791, allocations: 0 / 1.232 GB, free: 9.18 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 7.279e-05/0.7792, allocations: 43.91 kB / 1.232 GB, free: 9.137 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005166/0.7797, allocations: 64.16 kB / 1.232 GB, free: 9.078 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001055/0.7807, allocations: 0.6036 MB / 1.232 GB, free: 8.434 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004549/0.7812, allocations: 0.8182 MB / 1.233 GB, free: 7.59 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0001302/0.7813, allocations: 49.91 kB / 1.233 GB, free: 7.539 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.294e-05/0.7814, allocations: 19.44 kB / 1.233 GB, free: 7.523 MB / 0.9356 GB Notification: Performance of SimCode: time 6.01e-07/0.7814, allocations: 0 / 1.233 GB, free: 7.523 MB / 0.9356 GB Notification: Performance of Templates: time 0.0134/0.7948, allocations: 7.686 MB / 1.241 GB, free: 15.87 MB / 0.9512 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.makefile [Timeout 300] (rm -f Buildings_10_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.sim & ./Buildings_10_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedNFactors.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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.957381343469024]