Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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=5000,variableFilter="time|TSoi.1..T|TSoi.2..T|TSoi.3..T|TSoi.4..T",fileNamePrefix="Buildings_9_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_9_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.007452/0.007451, allocations: 100.9 kB / 15.73 MB, free: 6.031 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.001802/0.001803, allocations: 194.8 kB / 16.67 MB, free: 5.969 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.483/1.483, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.343/2.343, allocations: 390.2 MB / 0.6648 GB, free: 176 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001199/0.001199, allocations: 61.75 kB / 0.9508 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3043/0.3055, allocations: 140.4 MB / 1.088 GB, free: 1.512 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors): time 0.002863/0.3084, allocations: 1.589 MB / 1.089 GB, free: 15.91 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.00136/0.3098, allocations: 0.9204 MB / 1.09 GB, free: 14.98 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.954e-05/0.3098, allocations: 4 kB / 1.09 GB, free: 14.98 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0002521/0.3101, allocations: 55.66 kB / 1.09 GB, free: 14.93 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0004375/0.3106, allocations: 143.3 kB / 1.091 GB, free: 14.79 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 3.358e-05/0.3106, allocations: 11.98 kB / 1.091 GB, free: 14.77 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.000418/0.311, allocations: 366.2 kB / 1.091 GB, free: 14.41 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001351/0.3112, allocations: 44.73 kB / 1.091 GB, free: 14.37 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002131/0.3114, allocations: 151.4 kB / 1.091 GB, free: 14.22 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002097/0.3116, allocations: 147.2 kB / 1.091 GB, free: 14.07 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.547e-05/0.3117, allocations: 12 kB / 1.091 GB, free: 14.06 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002942/0.3146, allocations: 0.563 MB / 1.092 GB, free: 13.48 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 8.737e-05/0.3147, allocations: 55.69 kB / 1.092 GB, free: 13.43 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001357/0.3148, allocations: 131.3 kB / 1.092 GB, free: 13.3 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.01332/0.3282, allocations: 13.23 MB / 1.105 GB, free: 48 kB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.64e-06/0.3282, allocations: 0 / 1.105 GB, free: 48 kB / 0.8575 GB Notification: Performance of FrontEnd: time 2.034e-06/0.3282, allocations: 0 / 1.105 GB, free: 48 kB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.533e-06/0.3283, allocations: 4 kB / 1.105 GB, free: 44 kB / 0.8575 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.001597/0.3299, allocations: 0.6497 MB / 1.106 GB, free: 15.34 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.268e-05/0.3299, allocations: 8.031 kB / 1.106 GB, free: 15.34 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.74e-05/0.33, allocations: 36.56 kB / 1.106 GB, free: 15.3 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005214/0.3305, allocations: 374.3 kB / 1.106 GB, free: 14.89 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.584e-05/0.3305, allocations: 4.359 kB / 1.106 GB, free: 14.89 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.313e-05/0.3306, allocations: 8.312 kB / 1.106 GB, free: 14.88 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001704/0.3308, allocations: 105.3 kB / 1.106 GB, free: 14.76 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.095e-06/0.3308, allocations: 0 / 1.106 GB, free: 14.76 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.321e-05/0.3308, allocations: 4 kB / 1.106 GB, free: 14.76 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/0.3308, allocations: 0 / 1.106 GB, free: 14.76 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001205/0.3309, allocations: 71.86 kB / 1.106 GB, free: 14.69 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000378/0.3313, allocations: 344 kB / 1.106 GB, free: 14.29 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001248/0.3314, allocations: 102.4 kB / 1.107 GB, free: 14.16 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.67e-05/0.3315, allocations: 63.45 kB / 1.107 GB, free: 14.08 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 2.041e-05/0.3316, allocations: 7.938 kB / 1.107 GB, free: 14.07 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.151e-05/0.3316, allocations: 38.5 kB / 1.107 GB, free: 14.03 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=4): time 9.72e-07/0.3316, allocations: 0 / 1.107 GB, free: 14.03 MB / 0.8731 GB Notification: Performance of matching and sorting (n=4): time 0.0003292/0.3319, allocations: 185.1 kB / 1.107 GB, free: 13.84 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.153e-05/0.332, allocations: 136.5 kB / 1.107 GB, free: 13.68 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005354/0.3325, allocations: 0.4936 MB / 1.107 GB, free: 13.18 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 2.109e-05/0.3326, allocations: 29.7 kB / 1.107 GB, free: 13.14 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001237/0.3327, allocations: 156.9 kB / 1.108 GB, free: 12.98 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 2.701e-05/0.3327, allocations: 23.73 kB / 1.108 GB, free: 12.96 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.124e-05/0.3328, allocations: 53.59 kB / 1.108 GB, free: 12.9 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001292/0.3329, allocations: 338.8 kB / 1.108 GB, free: 12.56 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000124/0.3331, allocations: 99.92 kB / 1.108 GB, free: 12.46 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000171/0.3333, allocations: 162.7 kB / 1.108 GB, free: 12.28 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002749/0.3335, allocations: 231.3 kB / 1.108 GB, free: 12.04 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.3335, allocations: 0 / 1.108 GB, free: 12.04 MB / 0.8731 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003789/0.3339, allocations: 301 kB / 1.109 GB, free: 11.74 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2e-05/0.334, allocations: 7.938 kB / 1.109 GB, free: 11.73 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.347e-06/0.334, allocations: 240 / 1.109 GB, free: 11.73 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.712e-05/0.334, allocations: 11.88 kB / 1.109 GB, free: 11.72 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001415/0.3341, allocations: 15.98 kB / 1.109 GB, free: 11.7 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.622e-06/0.3342, allocations: 0 / 1.109 GB, free: 11.7 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001798/0.3343, allocations: 27.83 kB / 1.109 GB, free: 11.68 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.609e-05/0.3344, allocations: 7.984 kB / 1.109 GB, free: 11.67 MB / 0.8731 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.0001649/0.3345, allocations: 181.7 kB / 1.109 GB, free: 11.48 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.726e-05/0.3346, allocations: 31.56 kB / 1.109 GB, free: 11.45 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003186/0.3349, allocations: 179.8 kB / 1.109 GB, free: 11.27 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/0.3349, allocations: 0 / 1.109 GB, free: 11.27 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.566e-06/0.335, allocations: 8.109 kB / 1.109 GB, free: 11.26 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.335, allocations: 4 kB / 1.109 GB, free: 11.25 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002952/0.3353, allocations: 293.3 kB / 1.11 GB, free: 10.92 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.3353, allocations: 0 / 1.11 GB, free: 10.92 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.764e-05/0.3354, allocations: 12 kB / 1.11 GB, free: 10.91 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.027e-06/0.3354, allocations: 3.938 kB / 1.11 GB, free: 10.9 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.411e-05/0.3354, allocations: 11.98 kB / 1.11 GB, free: 10.89 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.3354, allocations: 0 / 1.11 GB, free: 10.89 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.3354, allocations: 0 / 1.11 GB, free: 10.89 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000255/0.3357, allocations: 191.2 kB / 1.11 GB, free: 10.68 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000136/0.3358, allocations: 136.6 kB / 1.11 GB, free: 10.52 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.633e-05/0.3359, allocations: 7.984 kB / 1.11 GB, free: 10.52 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001402/0.336, allocations: 7.984 kB / 1.11 GB, free: 10.51 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.432e-05/0.336, allocations: 4 kB / 1.11 GB, free: 10.5 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.578e-06/0.3361, allocations: 12 kB / 1.11 GB, free: 10.49 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0003862/0.3365, allocations: 379 kB / 1.11 GB, free: 10.12 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3365, allocations: 0 / 1.11 GB, free: 10.12 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0004545/0.3369, allocations: 92 kB / 1.11 GB, free: 10.03 MB / 0.8731 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.004372/0.3413, allocations: 2.819 MB / 1.113 GB, free: 7.199 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0003876/0.3417, allocations: 171.8 kB / 1.113 GB, free: 7.031 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.3417, allocations: 0 / 1.113 GB, free: 7.031 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 6.831e-05/0.3418, allocations: 47.89 kB / 1.113 GB, free: 6.984 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004177/0.3422, allocations: 57.67 kB / 1.113 GB, free: 6.93 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009615/0.3432, allocations: 0.5881 MB / 1.114 GB, free: 6.309 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003578/0.3436, allocations: 0.8181 MB / 1.115 GB, free: 5.465 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0001157/0.3437, allocations: 54.28 kB / 1.115 GB, free: 5.41 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.289e-05/0.3438, allocations: 19.44 kB / 1.115 GB, free: 5.391 MB / 0.8731 GB Notification: Performance of SimCode: time 5.51e-07/0.3438, allocations: 0 / 1.115 GB, free: 5.391 MB / 0.8731 GB Notification: Performance of Templates: time 0.01236/0.3561, allocations: 7.672 MB / 1.122 GB, free: 13.75 MB / 0.8887 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.makefile (rm -f Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.sim & ./Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedNFactors.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches