Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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=5000,variableFilter="time|TSoi.1..T|TSoi.2..T|TSoi.3..T|TSoi.4..T",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors") translateModel(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TSoi.1..T|TSoi.2..T|TSoi.3..T|TSoi.4..T",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001294/0.001294, allocations: 86.64 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002005/0.002005, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.702/1.702, allocations: 223.3 MB / 240 MB, free: 5.297 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.865/2.865, allocations: 462.6 MB / 0.736 GB, free: 15.76 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003671/0.0003671, allocations: 11.28 kB / 0.9021 GB, free: 36.73 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3591/0.3595, allocations: 159.6 MB / 1.058 GB, free: 5.348 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors): time 0.00166/0.3612, allocations: 1.278 MB / 1.059 GB, free: 4.059 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001234/0.3624, allocations: 0.8457 MB / 1.06 GB, free: 3.207 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.299e-05/0.3625, allocations: 0 / 1.06 GB, free: 3.207 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0002226/0.3627, allocations: 55.66 kB / 1.06 GB, free: 3.152 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0004034/0.3632, allocations: 119.5 kB / 1.06 GB, free: 3.035 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 3.024e-05/0.3632, allocations: 8 kB / 1.06 GB, free: 3.027 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.000353/0.3636, allocations: 322.4 kB / 1.061 GB, free: 2.711 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 8.207e-05/0.3637, allocations: 40.75 kB / 1.061 GB, free: 2.672 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001798/0.3638, allocations: 127.4 kB / 1.061 GB, free: 2.547 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001801/0.364, allocations: 123.4 kB / 1.061 GB, free: 2.426 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.777e-05/0.3641, allocations: 16 kB / 1.061 GB, free: 2.41 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002839/0.3669, allocations: 499.2 kB / 1.061 GB, free: 1.922 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 6.947e-05/0.367, allocations: 43.77 kB / 1.061 GB, free: 1.879 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 8.958e-05/0.3671, allocations: 73.52 kB / 1.061 GB, free: 1.801 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0004638/0.3676, allocations: 439.4 kB / 1.062 GB, free: 1.371 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 7.814e-06/0.3676, allocations: 3.984 kB / 1.062 GB, free: 1.367 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.353e-06/0.3676, allocations: 0 / 1.062 GB, free: 1.367 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.101e-06/0.3676, allocations: 0 / 1.062 GB, free: 1.367 MB / 0.8106 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.001145/0.3687, allocations: 0.6031 MB / 1.062 GB, free: 0.7148 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.065e-05/0.3688, allocations: 8.031 kB / 1.062 GB, free: 0.707 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.018e-05/0.3689, allocations: 35.61 kB / 1.062 GB, free: 0.6719 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004532/0.3693, allocations: 357.3 kB / 1.063 GB, free: 288 kB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.845e-05/0.3694, allocations: 0 / 1.063 GB, free: 288 kB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.436e-05/0.3694, allocations: 15.95 kB / 1.063 GB, free: 272 kB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001613/0.3696, allocations: 97 kB / 1.063 GB, free: 156 kB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.986e-06/0.3696, allocations: 7.938 kB / 1.063 GB, free: 148 kB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.125e-05/0.3696, allocations: 0 / 1.063 GB, free: 148 kB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.49e-06/0.3696, allocations: 0 / 1.063 GB, free: 148 kB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.89e-05/0.3697, allocations: 71.86 kB / 1.063 GB, free: 76 kB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003759/0.3701, allocations: 356 kB / 1.063 GB, free: 15.67 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001109/0.3702, allocations: 98.41 kB / 1.063 GB, free: 15.54 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.579e-05/0.3703, allocations: 67.45 kB / 1.064 GB, free: 15.46 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.244e-05/0.3703, allocations: 11.89 kB / 1.064 GB, free: 15.45 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.682e-05/0.3704, allocations: 38.55 kB / 1.064 GB, free: 15.4 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=4): time 1.262e-06/0.3704, allocations: 0 / 1.064 GB, free: 15.4 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4): time 0.0003507/0.3707, allocations: 181.5 kB / 1.064 GB, free: 15.21 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.834e-05/0.3708, allocations: 144.6 kB / 1.064 GB, free: 15.04 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005806/0.3714, allocations: 0.4897 MB / 1.064 GB, free: 14.54 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.409e-05/0.3714, allocations: 33.7 kB / 1.064 GB, free: 14.5 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001219/0.3716, allocations: 156.4 kB / 1.065 GB, free: 14.34 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.986e-05/0.3716, allocations: 15.73 kB / 1.065 GB, free: 14.33 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.033e-05/0.3716, allocations: 4 kB / 1.065 GB, free: 14.32 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001313/0.3718, allocations: 342.8 kB / 1.065 GB, free: 13.98 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001517/0.3719, allocations: 115.9 kB / 1.065 GB, free: 13.87 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001955/0.3721, allocations: 188.2 kB / 1.065 GB, free: 13.66 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001718/0.3723, allocations: 131.9 kB / 1.065 GB, free: 13.53 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.3723, allocations: 0 / 1.065 GB, free: 13.53 MB / 0.8262 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004289/0.3727, allocations: 329 kB / 1.066 GB, free: 13.2 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.788e-05/0.3728, allocations: 9.719 kB / 1.066 GB, free: 13.2 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-06/0.3728, allocations: 0 / 1.066 GB, free: 13.2 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.584e-05/0.3728, allocations: 4 kB / 1.066 GB, free: 13.19 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001295/0.3729, allocations: 19.92 kB / 1.066 GB, free: 13.17 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/0.373, allocations: 0 / 1.066 GB, free: 13.17 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001684/0.3731, allocations: 31.81 kB / 1.066 GB, free: 13.14 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.669e-05/0.3732, allocations: 4 kB / 1.066 GB, free: 13.14 MB / 0.8262 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001688/0.3733, allocations: 173.8 kB / 1.066 GB, free: 12.96 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.28e-05/0.3734, allocations: 35.58 kB / 1.066 GB, free: 12.92 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000318/0.3737, allocations: 187.6 kB / 1.066 GB, free: 12.73 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.889e-06/0.3737, allocations: 4 kB / 1.066 GB, free: 12.73 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.3737, allocations: 0 / 1.066 GB, free: 12.73 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.591e-06/0.3737, allocations: 4 kB / 1.066 GB, free: 12.72 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002711/0.374, allocations: 293.3 kB / 1.066 GB, free: 12.39 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.374, allocations: 0 / 1.066 GB, free: 12.39 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.148e-05/0.3741, allocations: 24.05 kB / 1.066 GB, free: 12.36 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.201e-06/0.3741, allocations: 7.953 kB / 1.066 GB, free: 12.36 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.206e-05/0.3742, allocations: 4 kB / 1.066 GB, free: 12.35 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.834e-06/0.3742, allocations: 0 / 1.066 GB, free: 12.35 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.3742, allocations: 4 kB / 1.066 GB, free: 12.35 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002361/0.3744, allocations: 187.2 kB / 1.067 GB, free: 12.14 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000137/0.3746, allocations: 136.6 kB / 1.067 GB, free: 11.98 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.471e-05/0.3746, allocations: 3.953 kB / 1.067 GB, free: 11.98 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001309/0.3747, allocations: 11.98 kB / 1.067 GB, free: 11.97 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.697e-05/0.3748, allocations: 7.984 kB / 1.067 GB, free: 11.96 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.521e-06/0.3748, allocations: 0 / 1.067 GB, free: 11.96 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0004394/0.3752, allocations: 379 kB / 1.067 GB, free: 11.59 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3752, allocations: 0 / 1.067 GB, free: 11.59 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0004195/0.3757, allocations: 99.94 kB / 1.067 GB, free: 11.5 MB / 0.8262 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003757/0.376, allocations: 135.4 kB / 1.067 GB, free: 11.36 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003522/0.3764, allocations: 191.8 kB / 1.067 GB, free: 11.17 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.3764, allocations: 4 kB / 1.067 GB, free: 11.16 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 6.842e-05/0.3765, allocations: 47.89 kB / 1.068 GB, free: 11.12 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003445/0.3768, allocations: 55.98 kB / 1.068 GB, free: 11.07 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000934/0.3778, allocations: 0.6695 MB / 1.068 GB, free: 10.36 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003617/0.3782, allocations: 0.8184 MB / 1.069 GB, free: 9.516 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001192/0.3783, allocations: 37.94 kB / 1.069 GB, free: 9.477 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.54e-05/0.3784, allocations: 27.42 kB / 1.069 GB, free: 9.449 MB / 0.8262 GB Notification: Performance of SimCode: time 2.41e-07/0.3784, allocations: 0 / 1.069 GB, free: 9.449 MB / 0.8262 GB Notification: Performance of Templates: time 0.01094/0.3893, allocations: 6.43 MB / 1.075 GB, free: 3.066 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.sim & ./Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedNFactors.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches