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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001141/0.001141, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001559/0.001559, allocations: 201.8 kB / 16.26 MB, free: 6.625 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.432/1.432, allocations: 222.9 MB / 239.9 MB, free: 4.547 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.772/2.772, allocations: 461.9 MB / 0.7343 GB, free: 15 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001368/0.001368, allocations: 62.83 kB / 0.8986 GB, free: 37.22 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3712/0.3726, allocations: 157.4 MB / 1.052 GB, free: 8.797 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors): time 0.003699/0.3763, allocations: 1.64 MB / 1.054 GB, free: 7.141 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001584/0.3779, allocations: 0.915 MB / 1.055 GB, free: 6.219 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001398/0.3781, allocations: 0 / 1.055 GB, free: 6.219 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0003538/0.3785, allocations: 67.7 kB / 1.055 GB, free: 6.152 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0006279/0.3791, allocations: 139.5 kB / 1.055 GB, free: 6.016 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 4.42e-05/0.3792, allocations: 4 kB / 1.055 GB, free: 6.012 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0005054/0.3797, allocations: 366.3 kB / 1.055 GB, free: 5.652 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001014/0.3798, allocations: 44.73 kB / 1.055 GB, free: 5.609 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003443/0.3802, allocations: 139.4 kB / 1.055 GB, free: 5.473 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002936/0.3805, allocations: 151.3 kB / 1.056 GB, free: 5.324 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 4.864e-05/0.3805, allocations: 16 kB / 1.056 GB, free: 5.309 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003081/0.3836, allocations: 0.5669 MB / 1.056 GB, free: 4.727 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001166/0.3838, allocations: 51.7 kB / 1.056 GB, free: 4.676 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0002956/0.3841, allocations: 143.2 kB / 1.056 GB, free: 4.535 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.01492/0.399, allocations: 13.31 MB / 1.069 GB, free: 7.176 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 7.093e-06/0.399, allocations: 0 / 1.069 GB, free: 7.176 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.294e-06/0.399, allocations: 0 / 1.069 GB, free: 7.176 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.305e-05/0.3991, allocations: 0 / 1.069 GB, free: 7.176 MB / 0.8262 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.001702/0.4008, allocations: 0.6537 MB / 1.07 GB, free: 6.473 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.761e-05/0.4008, allocations: 8.625 kB / 1.07 GB, free: 6.465 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001047/0.4009, allocations: 32.56 kB / 1.07 GB, free: 6.434 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005199/0.4015, allocations: 378.2 kB / 1.07 GB, free: 6.027 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.01e-05/0.4015, allocations: 4.375 kB / 1.07 GB, free: 6.023 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.241e-05/0.4015, allocations: 4.375 kB / 1.07 GB, free: 6.02 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001729/0.4017, allocations: 105.4 kB / 1.071 GB, free: 5.898 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.265e-06/0.4017, allocations: 0 / 1.071 GB, free: 5.898 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.214e-05/0.4017, allocations: 0 / 1.071 GB, free: 5.898 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.945e-06/0.4018, allocations: 4 kB / 1.071 GB, free: 5.895 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001041/0.4019, allocations: 63.88 kB / 1.071 GB, free: 5.832 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005217/0.4024, allocations: 360 kB / 1.071 GB, free: 5.422 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001585/0.4026, allocations: 110.3 kB / 1.071 GB, free: 5.277 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.227e-05/0.4026, allocations: 63.39 kB / 1.071 GB, free: 5.203 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.104e-05/0.4027, allocations: 4 kB / 1.071 GB, free: 5.199 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.349e-05/0.4027, allocations: 42.5 kB / 1.071 GB, free: 5.148 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=4): time 2.505e-06/0.4027, allocations: 0 / 1.071 GB, free: 5.148 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4): time 0.0003697/0.4031, allocations: 181.1 kB / 1.071 GB, free: 4.965 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.903e-05/0.4032, allocations: 133 kB / 1.071 GB, free: 4.805 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005942/0.4038, allocations: 0.5092 MB / 1.072 GB, free: 4.289 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.235e-05/0.4038, allocations: 25.7 kB / 1.072 GB, free: 4.258 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001229/0.4039, allocations: 152.4 kB / 1.072 GB, free: 4.105 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.368e-05/0.404, allocations: 23.73 kB / 1.072 GB, free: 4.082 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.767e-05/0.4041, allocations: 49.61 kB / 1.072 GB, free: 4.027 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001287/0.4042, allocations: 342.8 kB / 1.073 GB, free: 3.684 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001645/0.4044, allocations: 119.9 kB / 1.073 GB, free: 3.566 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003071/0.4047, allocations: 184.5 kB / 1.073 GB, free: 3.363 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000362/0.4051, allocations: 263.2 kB / 1.073 GB, free: 3.094 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/0.4051, allocations: 0 / 1.073 GB, free: 3.094 MB / 0.8262 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005266/0.4056, allocations: 325.1 kB / 1.073 GB, free: 2.77 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.129e-05/0.4056, allocations: 9.031 kB / 1.073 GB, free: 2.762 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.108e-05/0.4057, allocations: 8 kB / 1.073 GB, free: 2.754 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.371e-05/0.4057, allocations: 0 / 1.073 GB, free: 2.754 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001403/0.4058, allocations: 19.92 kB / 1.073 GB, free: 2.734 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.128e-05/0.4058, allocations: 7.984 kB / 1.073 GB, free: 2.727 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001941/0.406, allocations: 31.72 kB / 1.073 GB, free: 2.695 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.821e-05/0.4061, allocations: 4 kB / 1.073 GB, free: 2.691 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001884/0.4063, allocations: 179.3 kB / 1.074 GB, free: 2.508 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.116e-05/0.4063, allocations: 31.56 kB / 1.074 GB, free: 2.477 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004313/0.4067, allocations: 184 kB / 1.074 GB, free: 2.289 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.14e-06/0.4068, allocations: 4 kB / 1.074 GB, free: 2.285 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/0.4068, allocations: 4 kB / 1.074 GB, free: 2.281 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.688e-06/0.4068, allocations: 4 kB / 1.074 GB, free: 2.277 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003348/0.4071, allocations: 293.3 kB / 1.074 GB, free: 1.941 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.068e-06/0.4071, allocations: 4 kB / 1.074 GB, free: 1.938 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.167e-05/0.4072, allocations: 19.92 kB / 1.074 GB, free: 1.918 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.509e-06/0.4072, allocations: 8.062 kB / 1.074 GB, free: 1.91 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.291e-05/0.4073, allocations: 4 kB / 1.074 GB, free: 1.906 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.787e-06/0.4073, allocations: 4 kB / 1.074 GB, free: 1.902 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.4073, allocations: 0 / 1.074 GB, free: 1.902 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002342/0.4075, allocations: 183.3 kB / 1.074 GB, free: 1.695 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001357/0.4077, allocations: 140.5 kB / 1.074 GB, free: 1.539 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.42e-05/0.4077, allocations: 4 kB / 1.074 GB, free: 1.535 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001443/0.4079, allocations: 7.984 kB / 1.074 GB, free: 1.527 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.56e-05/0.4079, allocations: 11.92 kB / 1.074 GB, free: 1.516 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.825e-06/0.4079, allocations: 7.938 kB / 1.074 GB, free: 1.508 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0004089/0.4083, allocations: 379 kB / 1.075 GB, free: 1.137 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.71e-07/0.4083, allocations: 0 / 1.075 GB, free: 1.137 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0005179/0.4089, allocations: 96 kB / 1.075 GB, free: 1.043 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 (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.004912/0.4138, allocations: 2.815 MB / 1.078 GB, free: 14.21 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0004319/0.4142, allocations: 187.8 kB / 1.078 GB, free: 14.03 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.4143, allocations: 0 / 1.078 GB, free: 14.03 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 7.522e-05/0.4143, allocations: 55.89 kB / 1.078 GB, free: 13.98 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004593/0.4148, allocations: 53.48 kB / 1.078 GB, free: 13.93 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001099/0.4159, allocations: 0.6625 MB / 1.079 GB, free: 13.23 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003897/0.4163, allocations: 0.8143 MB / 1.079 GB, free: 12.39 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001597/0.4165, allocations: 54.22 kB / 1.079 GB, free: 12.34 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.227e-05/0.4166, allocations: 19.44 kB / 1.079 GB, free: 12.32 MB / 0.8419 GB Notification: Performance of SimCode: time 2.11e-07/0.4166, allocations: 0 / 1.079 GB, free: 12.32 MB / 0.8419 GB Notification: Performance of Templates: time 0.01458/0.4312, allocations: 7.857 MB / 1.087 GB, free: 4.508 MB / 0.8419 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