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.001505/0.001505, allocations: 113.2 kB / 16.37 MB, free: 6 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.001617/0.001617, allocations: 197.6 kB / 17.31 MB, free: 5.613 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.334/1.334, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.47/2.47, allocations: 442.6 MB / 0.7165 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001299/0.001299, allocations: 64.42 kB / 0.8773 GB, free: 10.98 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2771/0.2784, allocations: 153 MB / 1.027 GB, free: 2.047 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors): time 0.00255/0.281, allocations: 1.592 MB / 1.028 GB, free: 460 kB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.00126/0.2822, allocations: 0.9227 MB / 1.029 GB, free: 15.52 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.889e-05/0.2823, allocations: 4 kB / 1.029 GB, free: 15.52 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0002251/0.2826, allocations: 67.59 kB / 1.029 GB, free: 15.45 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0004077/0.283, allocations: 147.3 kB / 1.029 GB, free: 15.3 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 3.436e-05/0.283, allocations: 15.92 kB / 1.029 GB, free: 15.29 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0003705/0.2834, allocations: 354.4 kB / 1.03 GB, free: 14.94 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 7.052e-05/0.2835, allocations: 44.73 kB / 1.03 GB, free: 14.89 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000184/0.2837, allocations: 151.3 kB / 1.03 GB, free: 14.74 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001811/0.2839, allocations: 135.4 kB / 1.03 GB, free: 14.61 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.173e-05/0.2839, allocations: 16 kB / 1.03 GB, free: 14.59 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003089/0.287, allocations: 0.5629 MB / 1.031 GB, free: 14.02 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 7.784e-05/0.2871, allocations: 55.75 kB / 1.031 GB, free: 13.96 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001513/0.2873, allocations: 135.2 kB / 1.031 GB, free: 13.83 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.01426/0.3015, allocations: 13.22 MB / 1.044 GB, free: 0.582 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.249e-06/0.3016, allocations: 4 kB / 1.044 GB, free: 0.5781 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.994e-06/0.3016, allocations: 0 / 1.044 GB, free: 0.5781 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 7.294e-06/0.3016, allocations: 0 / 1.044 GB, free: 0.5781 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.001326/0.3029, allocations: 0.6536 MB / 1.044 GB, free: 15.88 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.582e-05/0.303, allocations: 12.03 kB / 1.044 GB, free: 15.86 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.716e-05/0.303, allocations: 28.56 kB / 1.044 GB, free: 15.84 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004928/0.3035, allocations: 378.3 kB / 1.045 GB, free: 15.43 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.268e-05/0.3036, allocations: 12.3 kB / 1.045 GB, free: 15.42 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.748e-05/0.3036, allocations: 4.375 kB / 1.045 GB, free: 15.41 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001528/0.3037, allocations: 101.4 kB / 1.045 GB, free: 15.3 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.903e-06/0.3038, allocations: 0 / 1.045 GB, free: 15.3 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.01e-05/0.3038, allocations: 0 / 1.045 GB, free: 15.3 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.459e-06/0.3038, allocations: 4 kB / 1.045 GB, free: 15.29 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.764e-05/0.3039, allocations: 71.86 kB / 1.045 GB, free: 15.22 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003474/0.3042, allocations: 340.1 kB / 1.045 GB, free: 14.83 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001123/0.3044, allocations: 106.3 kB / 1.045 GB, free: 14.69 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.584e-05/0.3045, allocations: 67.45 kB / 1.045 GB, free: 14.61 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.552e-05/0.3045, allocations: 0 / 1.045 GB, free: 14.61 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.314e-05/0.3045, allocations: 38.5 kB / 1.045 GB, free: 14.57 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=4): time 1.032e-06/0.3045, allocations: 0 / 1.045 GB, free: 14.57 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4): time 0.0003264/0.3048, allocations: 185.1 kB / 1.046 GB, free: 14.38 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.599e-05/0.3049, allocations: 140.5 kB / 1.046 GB, free: 14.21 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005423/0.3055, allocations: 0.4975 MB / 1.046 GB, free: 13.71 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.696e-05/0.3055, allocations: 33.7 kB / 1.046 GB, free: 13.67 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001088/0.3056, allocations: 156.4 kB / 1.046 GB, free: 13.51 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.247e-05/0.3057, allocations: 16.19 kB / 1.046 GB, free: 13.49 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.953e-05/0.3057, allocations: 57.59 kB / 1.047 GB, free: 13.43 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001205/0.3059, allocations: 342.8 kB / 1.047 GB, free: 13.09 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001217/0.306, allocations: 95.92 kB / 1.047 GB, free: 12.99 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001752/0.3062, allocations: 162.7 kB / 1.047 GB, free: 12.81 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002782/0.3065, allocations: 247.2 kB / 1.047 GB, free: 12.55 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.3065, allocations: 0 / 1.047 GB, free: 12.55 MB / 0.8262 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003691/0.3068, allocations: 289.2 kB / 1.048 GB, free: 12.27 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.593e-05/0.3069, allocations: 7.938 kB / 1.048 GB, free: 12.26 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.644e-06/0.3069, allocations: 0 / 1.048 GB, free: 12.26 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.292e-05/0.3069, allocations: 4 kB / 1.048 GB, free: 12.25 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001277/0.307, allocations: 19.92 kB / 1.048 GB, free: 12.23 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.273e-06/0.307, allocations: 3.984 kB / 1.048 GB, free: 12.23 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001648/0.3072, allocations: 31.73 kB / 1.048 GB, free: 12.2 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.45e-05/0.3072, allocations: 4 kB / 1.048 GB, free: 12.2 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.0001456/0.3074, allocations: 177.8 kB / 1.048 GB, free: 12.01 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.467e-05/0.3074, allocations: 35.56 kB / 1.048 GB, free: 11.98 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002986/0.3077, allocations: 175.8 kB / 1.048 GB, free: 11.79 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.375e-06/0.3078, allocations: 0 / 1.048 GB, free: 11.79 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.938e-06/0.3078, allocations: 4 kB / 1.048 GB, free: 11.79 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-06/0.3078, allocations: 4.344 kB / 1.048 GB, free: 11.79 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002389/0.308, allocations: 297.4 kB / 1.048 GB, free: 11.45 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.308, allocations: 0 / 1.048 GB, free: 11.45 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.374e-05/0.3081, allocations: 12 kB / 1.048 GB, free: 11.43 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.406e-06/0.3081, allocations: 11.92 kB / 1.048 GB, free: 11.42 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.157e-06/0.3081, allocations: 0 / 1.048 GB, free: 11.42 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.999e-06/0.3082, allocations: 7.922 kB / 1.048 GB, free: 11.41 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.3082, allocations: 4 kB / 1.048 GB, free: 11.41 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002157/0.3084, allocations: 183.3 kB / 1.049 GB, free: 11.2 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001547/0.3085, allocations: 140.5 kB / 1.049 GB, free: 11.05 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.533e-05/0.3086, allocations: 4 kB / 1.049 GB, free: 11.04 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001381/0.3087, allocations: 15.97 kB / 1.049 GB, free: 11.03 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.977e-05/0.3088, allocations: 3.938 kB / 1.049 GB, free: 11.02 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.274e-06/0.3088, allocations: 4 kB / 1.049 GB, free: 11.02 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0003983/0.3092, allocations: 387 kB / 1.049 GB, free: 10.64 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.7e-07/0.3092, allocations: 0 / 1.049 GB, free: 10.64 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0004361/0.3096, allocations: 96 kB / 1.049 GB, free: 10.55 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.004129/0.3138, allocations: 2.815 MB / 1.052 GB, free: 7.723 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003241/0.3141, allocations: 171.8 kB / 1.052 GB, free: 7.555 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.3141, allocations: 0 / 1.052 GB, free: 7.555 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 7.132e-05/0.3142, allocations: 47.89 kB / 1.052 GB, free: 7.508 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003521/0.3146, allocations: 62.42 kB / 1.052 GB, free: 7.445 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008473/0.3154, allocations: 0.5803 MB / 1.053 GB, free: 6.832 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003279/0.3158, allocations: 0.8143 MB / 1.054 GB, free: 5.992 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.000107/0.3159, allocations: 50.28 kB / 1.054 GB, free: 5.945 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.338e-05/0.3159, allocations: 23.44 kB / 1.054 GB, free: 5.922 MB / 0.8262 GB Notification: Performance of SimCode: time 6.41e-07/0.3159, allocations: 0 / 1.054 GB, free: 5.922 MB / 0.8262 GB Notification: Performance of Templates: time 0.01676/0.3327, allocations: 7.563 MB / 1.061 GB, free: 14.4 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches