Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_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_10_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.001651/0.001651, allocations: 118.7 kB / 16.37 MB, free: 5.984 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.001584/0.001584, allocations: 193.5 kB / 17.31 MB, free: 5.602 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.427/1.427, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.392/2.392, allocations: 437.1 MB / 0.7112 GB, free: 4.426 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001263/0.001263, allocations: 61.06 kB / 0.8707 GB, free: 1.508 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2491/0.2504, allocations: 151.6 MB / 1.019 GB, free: 9.906 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors): time 0.002559/0.253, allocations: 1.579 MB / 1.02 GB, free: 8.312 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001296/0.2543, allocations: 0.9283 MB / 1.021 GB, free: 7.379 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.331e-05/0.2544, allocations: 3.938 kB / 1.021 GB, free: 7.375 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0002423/0.2547, allocations: 63.64 kB / 1.021 GB, free: 7.312 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0004226/0.2551, allocations: 151.3 kB / 1.021 GB, free: 7.164 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 3.35e-05/0.2551, allocations: 11.94 kB / 1.021 GB, free: 7.152 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0003948/0.2555, allocations: 358.3 kB / 1.022 GB, free: 6.801 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 7.939e-05/0.2556, allocations: 48.72 kB / 1.022 GB, free: 6.75 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001896/0.2558, allocations: 139.3 kB / 1.022 GB, free: 6.613 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002083/0.256, allocations: 147.4 kB / 1.022 GB, free: 6.469 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 4.067e-05/0.2561, allocations: 16 kB / 1.022 GB, free: 6.453 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003243/0.2593, allocations: 0.559 MB / 1.023 GB, free: 5.879 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 7.383e-05/0.2594, allocations: 47.77 kB / 1.023 GB, free: 5.832 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0001506/0.2596, allocations: 139.2 kB / 1.023 GB, free: 5.695 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.01491/0.2745, allocations: 13.23 MB / 1.036 GB, free: 8.441 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.2745, allocations: 0 / 1.036 GB, free: 8.441 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.084e-06/0.2745, allocations: 0 / 1.036 GB, free: 8.441 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.612e-06/0.2746, allocations: 4 kB / 1.036 GB, free: 8.438 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.001361/0.2759, allocations: 0.642 MB / 1.036 GB, free: 7.746 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.533e-05/0.276, allocations: 12.86 kB / 1.036 GB, free: 7.734 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.428e-05/0.276, allocations: 32.56 kB / 1.036 GB, free: 7.703 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000511/0.2766, allocations: 382.3 kB / 1.037 GB, free: 7.289 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.345e-05/0.2766, allocations: 4.375 kB / 1.037 GB, free: 7.285 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.838e-05/0.2766, allocations: 8.312 kB / 1.037 GB, free: 7.277 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001526/0.2768, allocations: 105.4 kB / 1.037 GB, free: 7.156 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.923e-06/0.2768, allocations: 0 / 1.037 GB, free: 7.156 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.033e-05/0.2768, allocations: 0 / 1.037 GB, free: 7.156 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.548e-06/0.2768, allocations: 0 / 1.037 GB, free: 7.156 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.481e-05/0.2769, allocations: 71.86 kB / 1.037 GB, free: 7.086 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003448/0.2773, allocations: 344.1 kB / 1.037 GB, free: 6.691 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001166/0.2774, allocations: 110.3 kB / 1.037 GB, free: 6.547 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.605e-05/0.2775, allocations: 59.45 kB / 1.037 GB, free: 6.477 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.776e-05/0.2775, allocations: 4 kB / 1.037 GB, free: 6.473 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.531e-05/0.2775, allocations: 42.5 kB / 1.038 GB, free: 6.422 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=4): time 1.152e-06/0.2775, allocations: 0 / 1.038 GB, free: 6.422 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4): time 0.0003316/0.2779, allocations: 185.1 kB / 1.038 GB, free: 6.234 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.084e-05/0.278, allocations: 136.5 kB / 1.038 GB, free: 6.07 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005862/0.2785, allocations: 0.5014 MB / 1.038 GB, free: 5.562 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.98e-05/0.2786, allocations: 25.7 kB / 1.038 GB, free: 5.531 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001212/0.2787, allocations: 164.4 kB / 1.038 GB, free: 5.363 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.59e-05/0.2787, allocations: 15.75 kB / 1.039 GB, free: 5.348 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.721e-05/0.2788, allocations: 54.09 kB / 1.039 GB, free: 5.289 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001262/0.279, allocations: 346.8 kB / 1.039 GB, free: 4.941 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001371/0.2791, allocations: 99.86 kB / 1.039 GB, free: 4.844 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001754/0.2793, allocations: 158.8 kB / 1.039 GB, free: 4.664 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002954/0.2796, allocations: 243.2 kB / 1.039 GB, free: 4.414 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.2796, allocations: 0 / 1.039 GB, free: 4.414 MB / 0.8106 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003881/0.28, allocations: 293.2 kB / 1.04 GB, free: 4.121 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.586e-05/0.28, allocations: 7.938 kB / 1.04 GB, free: 4.113 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.28, allocations: 0 / 1.04 GB, free: 4.113 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.568e-05/0.28, allocations: 4 kB / 1.04 GB, free: 4.109 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001355/0.2802, allocations: 19.92 kB / 1.04 GB, free: 4.09 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.942e-06/0.2802, allocations: 0 / 1.04 GB, free: 4.09 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001692/0.2804, allocations: 23.73 kB / 1.04 GB, free: 4.066 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.508e-05/0.2804, allocations: 4 kB / 1.04 GB, free: 4.062 MB / 0.8106 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.000163/0.2806, allocations: 186.9 kB / 1.04 GB, free: 3.871 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.086e-05/0.2806, allocations: 35.56 kB / 1.04 GB, free: 3.836 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003154/0.2809, allocations: 175.8 kB / 1.04 GB, free: 3.656 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.281, allocations: 0 / 1.04 GB, free: 3.656 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.281, allocations: 4.234 kB / 1.04 GB, free: 3.652 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.152e-06/0.281, allocations: 3.984 kB / 1.04 GB, free: 3.648 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002653/0.2812, allocations: 293.5 kB / 1.04 GB, free: 3.312 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.396e-06/0.2813, allocations: 7.984 kB / 1.04 GB, free: 3.305 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.839e-05/0.2814, allocations: 12 kB / 1.04 GB, free: 3.293 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.178e-06/0.2814, allocations: 3.938 kB / 1.04 GB, free: 3.289 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.113e-05/0.2814, allocations: 4 kB / 1.04 GB, free: 3.285 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.748e-06/0.2814, allocations: 7.922 kB / 1.04 GB, free: 3.277 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.2814, allocations: 0 / 1.04 GB, free: 3.277 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000224/0.2816, allocations: 183.3 kB / 1.041 GB, free: 3.07 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001505/0.2818, allocations: 140.5 kB / 1.041 GB, free: 2.914 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.606e-05/0.2818, allocations: 7.984 kB / 1.041 GB, free: 2.906 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001449/0.282, allocations: 11.98 kB / 1.041 GB, free: 2.895 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.632e-05/0.282, allocations: 7.938 kB / 1.041 GB, free: 2.887 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.514e-06/0.282, allocations: 4 kB / 1.041 GB, free: 2.883 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0004091/0.2824, allocations: 379 kB / 1.041 GB, free: 2.512 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.7e-07/0.2825, allocations: 4 kB / 1.041 GB, free: 2.508 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0004558/0.2829, allocations: 100 kB / 1.041 GB, free: 2.41 MB / 0.8106 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.004584/0.2875, allocations: 2.811 MB / 1.044 GB, free: 15.59 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003255/0.2878, allocations: 171.8 kB / 1.044 GB, free: 15.42 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.2879, allocations: 0 / 1.044 GB, free: 15.42 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 7.086e-05/0.2879, allocations: 51.83 kB / 1.044 GB, free: 15.37 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003447/0.2883, allocations: 60.33 kB / 1.044 GB, free: 15.31 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000866/0.2892, allocations: 0.5786 MB / 1.045 GB, free: 14.7 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000333/0.2895, allocations: 0.8143 MB / 1.046 GB, free: 13.86 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001142/0.2896, allocations: 54.28 kB / 1.046 GB, free: 13.81 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.412e-05/0.2897, allocations: 19.44 kB / 1.046 GB, free: 13.79 MB / 0.8262 GB Notification: Performance of SimCode: time 2.61e-07/0.2897, allocations: 0 / 1.046 GB, free: 13.79 MB / 0.8262 GB Notification: Performance of Templates: time 0.01142/0.3011, allocations: 7.572 MB / 1.053 GB, free: 6.258 MB / 0.8262 GB make -j1 -f Buildings_10_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.makefile (rm -f Buildings_10_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.sim & ./Buildings_10_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedNFactors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches