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: "" <> buildModelFMU(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedNFactors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedNFactors",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008817/0.008817, allocations: 102.9 kB / 15.73 MB, free: 6.023 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.00204/0.00204, allocations: 189.5 kB / 16.67 MB, free: 5.961 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.539/1.539, allocations: 222.9 MB / 240.4 MB, free: 4.156 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.579/2.579, allocations: 390.2 MB / 0.6648 GB, free: 172 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00153/0.00153, allocations: 65.42 kB / 0.9504 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2757/0.2772, allocations: 140.4 MB / 1.087 GB, free: 1.984 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors): time 0.003066/0.2803, allocations: 1.578 MB / 1.089 GB, free: 404 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001616/0.282, allocations: 0.9243 MB / 1.09 GB, free: 15.46 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001159/0.2821, allocations: 0 / 1.09 GB, free: 15.46 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0003375/0.2825, allocations: 59.64 kB / 1.09 GB, free: 15.41 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0006193/0.2832, allocations: 147.3 kB / 1.09 GB, free: 15.26 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 5.06e-05/0.2832, allocations: 7.984 kB / 1.09 GB, free: 15.25 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0005213/0.2838, allocations: 370.2 kB / 1.09 GB, free: 14.89 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001005/0.2839, allocations: 48.73 kB / 1.09 GB, free: 14.84 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003667/0.2842, allocations: 143.4 kB / 1.091 GB, free: 14.7 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002899/0.2845, allocations: 143.3 kB / 1.091 GB, free: 14.56 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 5.122e-05/0.2846, allocations: 16 kB / 1.091 GB, free: 14.54 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003146/0.2878, allocations: 0.5591 MB / 1.091 GB, free: 13.97 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001072/0.2879, allocations: 55.7 kB / 1.091 GB, free: 13.91 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0002203/0.2881, allocations: 131.3 kB / 1.092 GB, free: 13.79 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.01365/0.3018, allocations: 13.23 MB / 1.104 GB, free: 0.5312 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.3018, allocations: 0 / 1.104 GB, free: 0.5312 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.074e-06/0.3018, allocations: 4 kB / 1.104 GB, free: 0.5273 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.471e-05/0.3018, allocations: 0 / 1.104 GB, free: 0.5273 MB / 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.001688/0.3035, allocations: 0.6459 MB / 1.105 GB, free: 15.83 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.865e-05/0.3036, allocations: 12.03 kB / 1.105 GB, free: 15.82 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.31e-05/0.3037, allocations: 30.75 kB / 1.105 GB, free: 15.78 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.831e-05/0.3038, allocations: 32.56 kB / 1.105 GB, free: 15.75 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005865/0.3043, allocations: 382.2 kB / 1.105 GB, free: 15.34 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.113e-05/0.3044, allocations: 384 / 1.105 GB, free: 15.34 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.902e-05/0.3044, allocations: 8.375 kB / 1.106 GB, free: 15.33 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001751/0.3046, allocations: 109.1 kB / 1.106 GB, free: 15.2 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/0.3046, allocations: 0 / 1.106 GB, free: 15.2 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.046e-05/0.3046, allocations: 0 / 1.106 GB, free: 15.2 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.581e-06/0.3046, allocations: 0 / 1.106 GB, free: 15.2 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001065/0.3047, allocations: 71.86 kB / 1.106 GB, free: 15.13 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004263/0.3052, allocations: 348 kB / 1.106 GB, free: 14.73 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001226/0.3053, allocations: 106.4 kB / 1.106 GB, free: 14.59 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.651e-05/0.3054, allocations: 63.39 kB / 1.106 GB, free: 14.52 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 1.609e-05/0.3054, allocations: 4 kB / 1.106 GB, free: 14.52 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.544e-05/0.3054, allocations: 38.5 kB / 1.106 GB, free: 14.47 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=4): time 1.373e-06/0.3055, allocations: 0 / 1.106 GB, free: 14.47 MB / 0.8731 GB Notification: Performance of matching and sorting (n=4): time 0.0003643/0.3058, allocations: 193 kB / 1.106 GB, free: 14.27 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.542e-05/0.3059, allocations: 132.5 kB / 1.107 GB, free: 14.11 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005993/0.3065, allocations: 0.498 MB / 1.107 GB, free: 13.61 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 2.43e-05/0.3065, allocations: 33.69 kB / 1.107 GB, free: 13.57 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001274/0.3067, allocations: 156.3 kB / 1.107 GB, free: 13.41 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 3.143e-05/0.3067, allocations: 15.84 kB / 1.107 GB, free: 13.39 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.172e-05/0.3068, allocations: 53.59 kB / 1.107 GB, free: 13.34 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001319/0.3069, allocations: 338.8 kB / 1.108 GB, free: 13 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001365/0.3071, allocations: 99.86 kB / 1.108 GB, free: 12.9 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001891/0.3073, allocations: 166.7 kB / 1.108 GB, free: 12.71 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002968/0.3076, allocations: 227.2 kB / 1.108 GB, free: 12.48 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.709e-06/0.3076, allocations: 4 kB / 1.108 GB, free: 12.47 MB / 0.8731 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004308/0.308, allocations: 305 kB / 1.108 GB, free: 12.17 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.695e-05/0.3081, allocations: 4 kB / 1.108 GB, free: 12.16 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.686e-06/0.3081, allocations: 0 / 1.108 GB, free: 12.16 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.775e-05/0.3081, allocations: 4 kB / 1.108 GB, free: 12.16 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001467/0.3082, allocations: 24.22 kB / 1.108 GB, free: 12.14 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.188e-06/0.3083, allocations: 3.938 kB / 1.108 GB, free: 12.13 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001753/0.3084, allocations: 19.83 kB / 1.108 GB, free: 12.11 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.933e-05/0.3085, allocations: 7.984 kB / 1.108 GB, free: 12.11 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.0001766/0.3087, allocations: 177.8 kB / 1.109 GB, free: 11.92 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.564e-05/0.3087, allocations: 35.55 kB / 1.109 GB, free: 11.89 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003508/0.3091, allocations: 187.6 kB / 1.109 GB, free: 11.7 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.3091, allocations: 0 / 1.109 GB, free: 11.7 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.708e-06/0.3091, allocations: 4 kB / 1.109 GB, free: 11.69 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.3091, allocations: 0 / 1.109 GB, free: 11.69 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002904/0.3094, allocations: 293.4 kB / 1.109 GB, free: 11.36 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.3094, allocations: 0 / 1.109 GB, free: 11.36 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001018/0.3095, allocations: 23.92 kB / 1.109 GB, free: 11.33 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.569e-06/0.3095, allocations: 0 / 1.109 GB, free: 11.33 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.265e-05/0.3096, allocations: 4 kB / 1.109 GB, free: 11.33 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.736e-06/0.3096, allocations: 0 / 1.109 GB, free: 11.33 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.3096, allocations: 4.062 kB / 1.109 GB, free: 11.32 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002391/0.3098, allocations: 191.2 kB / 1.109 GB, free: 11.11 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001699/0.31, allocations: 136.5 kB / 1.109 GB, free: 10.96 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.41e-05/0.31, allocations: 4 kB / 1.109 GB, free: 10.95 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001341/0.3102, allocations: 7.984 kB / 1.109 GB, free: 10.95 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.713e-05/0.3102, allocations: 12 kB / 1.109 GB, free: 10.93 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.418e-06/0.3102, allocations: 8 kB / 1.109 GB, free: 10.93 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0004277/0.3107, allocations: 383 kB / 1.11 GB, free: 10.55 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3107, allocations: 0 / 1.11 GB, free: 10.55 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0004999/0.3112, allocations: 96 kB / 1.11 GB, free: 10.46 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.004923/0.3161, allocations: 3.446 MB / 1.113 GB, free: 6.969 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0003981/0.3165, allocations: 175.8 kB / 1.113 GB, free: 6.797 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/0.3166, allocations: 0 / 1.113 GB, free: 6.797 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 8.478e-05/0.3166, allocations: 51.89 kB / 1.113 GB, free: 6.746 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004621/0.3171, allocations: 47.98 kB / 1.114 GB, free: 6.703 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004514/0.3216, allocations: 3.475 MB / 1.117 GB, free: 3.113 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003879/0.3221, allocations: 0.8143 MB / 1.118 GB, free: 2.273 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0001553/0.3222, allocations: 50.28 kB / 1.118 GB, free: 2.227 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000146/0.3224, allocations: 83.41 kB / 1.118 GB, free: 2.145 MB / 0.8731 GB Notification: Performance of SimCode: time 6.31e-07/0.3224, allocations: 0 / 1.118 GB, free: 2.145 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.118/1.44, allocations: 10.85 MB / 1.128 GB, free: 7.473 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.51/15.95, allocations: 9.438 kB / 1.128 GB, free: 7.465 MB / 0.8887 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors_res.mat --tempDir=temp_Buildings_9_Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedNFactors_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedNFactors.fmu > 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches