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.006098/0.006098, allocations: 96.7 kB / 15.73 MB, free: 6.047 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.001523/0.001523, allocations: 194.3 kB / 16.67 MB, free: 5.973 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.387/1.387, allocations: 222.9 MB / 240.4 MB, free: 4.32 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 3.017/3.017, allocations: 390.2 MB / 0.6648 GB, free: 224 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001179/0.001179, allocations: 61.7 kB / 0.9508 GB, free: 5.48 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2656/0.2668, allocations: 140.4 MB / 1.088 GB, free: 1.52 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors): time 0.002482/0.2693, allocations: 1.585 MB / 1.089 GB, free: 15.93 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001313/0.2706, allocations: 0.9204 MB / 1.09 GB, free: 15 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.77e-05/0.2707, allocations: 0 / 1.09 GB, free: 15 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0002301/0.2709, allocations: 63.64 kB / 1.09 GB, free: 14.94 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0004497/0.2714, allocations: 155.3 kB / 1.091 GB, free: 14.79 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 3.292e-05/0.2715, allocations: 3.984 kB / 1.091 GB, free: 14.78 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003915/0.2719, allocations: 362.3 kB / 1.091 GB, free: 14.43 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 7.435e-05/0.2719, allocations: 44.75 kB / 1.091 GB, free: 14.38 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002025/0.2721, allocations: 147.4 kB / 1.091 GB, free: 14.23 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001877/0.2723, allocations: 139.3 kB / 1.091 GB, free: 14.1 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.689e-05/0.2724, allocations: 16 kB / 1.091 GB, free: 14.08 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003053/0.2754, allocations: 0.5629 MB / 1.092 GB, free: 13.5 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 7.737e-05/0.2755, allocations: 51.77 kB / 1.092 GB, free: 13.45 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.000154/0.2757, allocations: 131.2 kB / 1.092 GB, free: 13.32 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.01473/0.2904, allocations: 13.24 MB / 1.105 GB, free: 60 kB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.2905, allocations: 0 / 1.105 GB, free: 60 kB / 0.8575 GB Notification: Performance of FrontEnd: time 1.874e-06/0.2905, allocations: 0 / 1.105 GB, free: 60 kB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.604e-06/0.2905, allocations: 0 / 1.105 GB, free: 60 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.001433/0.2919, allocations: 0.6576 MB / 1.106 GB, free: 15.35 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.334e-05/0.292, allocations: 8.031 kB / 1.106 GB, free: 15.34 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.961e-05/0.2921, allocations: 36.7 kB / 1.106 GB, free: 15.3 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004878/0.2926, allocations: 378.5 kB / 1.106 GB, free: 14.89 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.857e-05/0.2926, allocations: 4.375 kB / 1.106 GB, free: 14.89 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.291e-05/0.2926, allocations: 20.23 kB / 1.106 GB, free: 14.87 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001466/0.2928, allocations: 101.4 kB / 1.106 GB, free: 14.75 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.212e-06/0.2928, allocations: 0 / 1.106 GB, free: 14.75 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.019e-05/0.2928, allocations: 0 / 1.106 GB, free: 14.75 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.857e-06/0.2928, allocations: 4 kB / 1.106 GB, free: 14.75 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.845e-05/0.2929, allocations: 71.86 kB / 1.106 GB, free: 14.68 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003431/0.2933, allocations: 336.1 kB / 1.106 GB, free: 14.29 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001176/0.2934, allocations: 110.3 kB / 1.107 GB, free: 14.15 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.589e-05/0.2935, allocations: 63.45 kB / 1.107 GB, free: 14.07 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 1.445e-05/0.2935, allocations: 0 / 1.107 GB, free: 14.07 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.576e-05/0.2935, allocations: 42.5 kB / 1.107 GB, free: 14.02 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=4): time 9.52e-07/0.2935, allocations: 3.938 kB / 1.107 GB, free: 14.02 MB / 0.8731 GB Notification: Performance of matching and sorting (n=4): time 0.000335/0.2939, allocations: 185.3 kB / 1.107 GB, free: 13.83 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.544e-05/0.2939, allocations: 136.4 kB / 1.107 GB, free: 13.67 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000559/0.2945, allocations: 0.502 MB / 1.107 GB, free: 13.16 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 1.85e-05/0.2945, allocations: 29.7 kB / 1.107 GB, free: 13.12 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001236/0.2947, allocations: 160.4 kB / 1.108 GB, free: 12.96 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 2.618e-05/0.2947, allocations: 19.84 kB / 1.108 GB, free: 12.94 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.461e-05/0.2948, allocations: 49.64 kB / 1.108 GB, free: 12.89 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.000133/0.2949, allocations: 342.8 kB / 1.108 GB, free: 12.54 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001287/0.295, allocations: 95.92 kB / 1.108 GB, free: 12.45 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001885/0.2952, allocations: 160.7 kB / 1.108 GB, free: 12.27 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000288/0.2955, allocations: 235.2 kB / 1.109 GB, free: 12.03 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.2955, allocations: 0 / 1.109 GB, free: 12.03 MB / 0.8731 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003936/0.2959, allocations: 293.3 kB / 1.109 GB, free: 11.73 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.686e-05/0.296, allocations: 11.94 kB / 1.109 GB, free: 11.72 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.156e-05/0.296, allocations: 4 kB / 1.109 GB, free: 11.72 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.458e-05/0.296, allocations: 3.938 kB / 1.109 GB, free: 11.71 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001366/0.2962, allocations: 23.92 kB / 1.109 GB, free: 11.69 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.615e-06/0.2962, allocations: 4 kB / 1.109 GB, free: 11.69 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001691/0.2963, allocations: 23.88 kB / 1.109 GB, free: 11.66 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.532e-05/0.2964, allocations: 4 kB / 1.109 GB, free: 11.66 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.0001533/0.2965, allocations: 181.8 kB / 1.109 GB, free: 11.47 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.819e-05/0.2966, allocations: 35.7 kB / 1.109 GB, free: 11.44 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003027/0.2969, allocations: 175.8 kB / 1.109 GB, free: 11.26 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-06/0.2969, allocations: 4 kB / 1.109 GB, free: 11.25 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.543e-06/0.2969, allocations: 3.984 kB / 1.109 GB, free: 11.25 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.2969, allocations: 0 / 1.109 GB, free: 11.25 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000256/0.2972, allocations: 297.4 kB / 1.11 GB, free: 10.91 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.2972, allocations: 0 / 1.11 GB, free: 10.91 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.192e-05/0.2973, allocations: 19.94 kB / 1.11 GB, free: 10.89 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.178e-06/0.2973, allocations: 7.938 kB / 1.11 GB, free: 10.88 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.073e-05/0.2973, allocations: 7.922 kB / 1.11 GB, free: 10.88 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.276e-06/0.2973, allocations: 4 kB / 1.11 GB, free: 10.87 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.2973, allocations: 4.125 kB / 1.11 GB, free: 10.87 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002271/0.2976, allocations: 183.4 kB / 1.11 GB, free: 10.66 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001435/0.2977, allocations: 137 kB / 1.11 GB, free: 10.51 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.011e-05/0.2978, allocations: 3.984 kB / 1.11 GB, free: 10.5 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001499/0.2979, allocations: 15.92 kB / 1.11 GB, free: 10.49 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.472e-05/0.298, allocations: 15.98 kB / 1.11 GB, free: 10.47 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.801e-06/0.298, allocations: 0 / 1.11 GB, free: 10.47 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0004037/0.2984, allocations: 379 kB / 1.11 GB, free: 10.1 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2984, allocations: 0 / 1.11 GB, free: 10.1 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0004749/0.2989, allocations: 103.9 kB / 1.11 GB, free: 10 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.00454/0.3034, allocations: 2.803 MB / 1.113 GB, free: 7.184 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0003646/0.3038, allocations: 171.8 kB / 1.113 GB, free: 7.016 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.3038, allocations: 0 / 1.113 GB, free: 7.016 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 7.396e-05/0.3039, allocations: 55.89 kB / 1.113 GB, free: 6.961 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003949/0.3043, allocations: 58.73 kB / 1.113 GB, free: 6.906 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009064/0.3052, allocations: 0.5992 MB / 1.114 GB, free: 6.273 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003766/0.3056, allocations: 0.8181 MB / 1.115 GB, free: 5.43 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0001143/0.3057, allocations: 41.92 kB / 1.115 GB, free: 5.387 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.789e-05/0.3058, allocations: 19.44 kB / 1.115 GB, free: 5.367 MB / 0.8731 GB Notification: Performance of SimCode: time 1.673e-06/0.3058, allocations: 0 / 1.115 GB, free: 5.367 MB / 0.8731 GB Notification: Performance of Templates: time 0.01261/0.3184, allocations: 7.609 MB / 1.122 GB, free: 13.79 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