Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001978/0.001978, allocations: 95.64 kB / 18.95 MB, free: 2.691 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002392/0.002392, allocations: 212.2 kB / 22.24 MB, free: 5.242 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.465/1.465, allocations: 230.6 MB / 256 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.313/3.313, allocations: 0.4892 GB / 0.7943 GB, free: 35.62 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors,fileNamePrefix="Buildings_12_Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedNFactors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors,fileNamePrefix="Buildings_12_Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedNFactors",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002053/0.002053, allocations: 73.86 kB / 1.153 GB, free: 25.75 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3078/0.3099, allocations: 176.1 MB / 1.325 GB, free: 2.387 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors): time 0.003249/0.3131, allocations: 1.575 MB / 1.327 GB, free: 0.8047 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001694/0.3148, allocations: 0.8683 MB / 1.327 GB, free: 15.93 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.43e-05/0.3149, allocations: 3.938 kB / 1.327 GB, free: 15.93 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.000262/0.3152, allocations: 63.67 kB / 1.327 GB, free: 15.86 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.000526/0.3157, allocations: 139.3 kB / 1.328 GB, free: 15.73 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 4.035e-05/0.3158, allocations: 7.984 kB / 1.328 GB, free: 15.72 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0004723/0.3162, allocations: 366.3 kB / 1.328 GB, free: 15.36 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 6.623e-05/0.3163, allocations: 9.219 kB / 1.328 GB, free: 15.34 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003489/0.3166, allocations: 163.4 kB / 1.328 GB, free: 15.18 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002805/0.3169, allocations: 155.3 kB / 1.328 GB, free: 15.03 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 6.27e-05/0.317, allocations: 16 kB / 1.328 GB, free: 15.02 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007069/0.3177, allocations: 472.8 kB / 1.329 GB, free: 14.54 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 9.715e-05/0.3178, allocations: 59.7 kB / 1.329 GB, free: 14.48 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001547/0.3179, allocations: 103.5 kB / 1.329 GB, free: 14.38 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001607/0.3196, allocations: 0.8418 MB / 1.33 GB, free: 13.54 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.3196, allocations: 0 / 1.33 GB, free: 13.54 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.383e-06/0.3196, allocations: 4 kB / 1.33 GB, free: 13.53 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.372e-05/0.3196, allocations: 0 / 1.33 GB, free: 13.53 MB / 1.029 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.001542/0.3211, allocations: 0.5899 MB / 1.33 GB, free: 12.91 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.3212, allocations: 8.031 kB / 1.33 GB, free: 12.9 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.648e-05/0.3212, allocations: 30.75 kB / 1.33 GB, free: 12.86 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.26e-05/0.3213, allocations: 32.75 kB / 1.33 GB, free: 12.83 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005698/0.3218, allocations: 324.8 kB / 1.331 GB, free: 12.5 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.383e-05/0.3219, allocations: 4.375 kB / 1.331 GB, free: 12.49 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.234e-05/0.3219, allocations: 8.375 kB / 1.331 GB, free: 12.48 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001722/0.3221, allocations: 101.1 kB / 1.331 GB, free: 12.37 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.887e-06/0.3221, allocations: 4 kB / 1.331 GB, free: 12.36 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.768e-06/0.3221, allocations: 7.938 kB / 1.331 GB, free: 12.36 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.624e-06/0.3221, allocations: 0 / 1.331 GB, free: 12.36 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001186/0.3222, allocations: 67.88 kB / 1.331 GB, free: 12.29 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003804/0.3226, allocations: 283.3 kB / 1.331 GB, free: 11.96 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001462/0.3227, allocations: 102.5 kB / 1.331 GB, free: 11.82 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.839e-05/0.3228, allocations: 63.39 kB / 1.331 GB, free: 11.75 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.735e-05/0.3228, allocations: 0 / 1.331 GB, free: 11.75 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.184e-05/0.3229, allocations: 42.44 kB / 1.331 GB, free: 11.7 MB / 1.029 GB Notification: Performance of pre-optimization done (n=4): time 1.021e-06/0.3229, allocations: 0 / 1.331 GB, free: 11.7 MB / 1.029 GB Notification: Performance of matching and sorting (n=4): time 0.0003728/0.3232, allocations: 193.2 kB / 1.332 GB, free: 11.5 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.02e-05/0.3233, allocations: 128.5 kB / 1.332 GB, free: 11.35 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006652/0.324, allocations: 0.5053 MB / 1.332 GB, free: 10.83 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.603e-05/0.324, allocations: 25.7 kB / 1.332 GB, free: 10.8 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001437/0.3241, allocations: 164.4 kB / 1.332 GB, free: 10.63 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.909e-05/0.3242, allocations: 19.84 kB / 1.332 GB, free: 10.61 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.221e-05/0.3243, allocations: 49.69 kB / 1.332 GB, free: 10.55 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000163/0.3244, allocations: 338.8 kB / 1.333 GB, free: 10.21 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001534/0.3246, allocations: 104.4 kB / 1.333 GB, free: 10.11 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002604/0.3248, allocations: 269.6 kB / 1.333 GB, free: 9.801 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003256/0.3252, allocations: 239.2 kB / 1.333 GB, free: 9.555 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.3252, allocations: 0 / 1.333 GB, free: 9.555 MB / 1.029 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004486/0.3256, allocations: 313.1 kB / 1.334 GB, free: 9.242 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.572e-05/0.3256, allocations: 4 kB / 1.334 GB, free: 9.238 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.977e-06/0.3256, allocations: 240 / 1.334 GB, free: 9.238 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.392e-05/0.3257, allocations: 4 kB / 1.334 GB, free: 9.234 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001371/0.3258, allocations: 15.98 kB / 1.334 GB, free: 9.219 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.249e-06/0.3258, allocations: 0 / 1.334 GB, free: 9.219 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001895/0.326, allocations: 31.77 kB / 1.334 GB, free: 9.188 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.782e-05/0.326, allocations: 11.97 kB / 1.334 GB, free: 9.176 MB / 1.029 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.00018/0.3262, allocations: 185.7 kB / 1.334 GB, free: 8.984 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.542e-05/0.3262, allocations: 35.75 kB / 1.334 GB, free: 8.949 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003388/0.3266, allocations: 179.6 kB / 1.334 GB, free: 8.762 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.261e-06/0.3266, allocations: 4 kB / 1.334 GB, free: 8.758 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.3266, allocations: 0 / 1.334 GB, free: 8.758 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.3266, allocations: 0 / 1.334 GB, free: 8.758 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002737/0.3269, allocations: 236.6 kB / 1.334 GB, free: 8.484 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.138e-06/0.3269, allocations: 8.125 kB / 1.334 GB, free: 8.477 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.744e-05/0.327, allocations: 19.92 kB / 1.334 GB, free: 8.457 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.457e-06/0.327, allocations: 0 / 1.334 GB, free: 8.457 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.587e-06/0.327, allocations: 0 / 1.334 GB, free: 8.457 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.479e-06/0.327, allocations: 4 kB / 1.334 GB, free: 8.453 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.327, allocations: 0 / 1.334 GB, free: 8.453 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000265/0.3272, allocations: 191.3 kB / 1.334 GB, free: 8.238 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001691/0.3274, allocations: 67.61 kB / 1.335 GB, free: 8.172 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.426e-05/0.3275, allocations: 8 kB / 1.335 GB, free: 8.164 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000145/0.3276, allocations: 7.984 kB / 1.335 GB, free: 8.156 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.02e-05/0.3276, allocations: 4 kB / 1.335 GB, free: 8.152 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.049e-05/0.3276, allocations: 11.98 kB / 1.335 GB, free: 8.141 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0004644/0.3281, allocations: 375.1 kB / 1.335 GB, free: 7.781 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3281, allocations: 0 / 1.335 GB, free: 7.781 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0004754/0.3286, allocations: 103.9 kB / 1.335 GB, free: 7.68 MB / 1.029 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.005383/0.334, allocations: 3.45 MB / 1.338 GB, free: 4.188 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003639/0.3343, allocations: 167.8 kB / 1.339 GB, free: 4.023 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.534e-06/0.3343, allocations: 0 / 1.339 GB, free: 4.023 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 8.022e-05/0.3344, allocations: 43.91 kB / 1.339 GB, free: 3.98 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003905/0.3348, allocations: 63.91 kB / 1.339 GB, free: 3.918 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004679/0.3395, allocations: 3.505 MB / 1.342 GB, free: 300 kB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001957/0.3397, allocations: 211.4 kB / 1.342 GB, free: 72 kB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001458/0.3398, allocations: 54.28 kB / 1.342 GB, free: 16 kB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001647/0.34, allocations: 79.48 kB / 1.342 GB, free: 15.93 MB / 1.045 GB Notification: Performance of SimCode: time 5.61e-07/0.34, allocations: 0 / 1.342 GB, free: 15.93 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04274/0.3827, allocations: 11.71 MB / 1.354 GB, free: 4.418 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.76/12.14, allocations: 11.06 kB / 1.354 GB, free: 4.414 MB / 1.045 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors_res.csv --start-time 0 --stop-time 3.1536e+07 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 12614.4 Buildings_12_Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedNFactors.fmu > Buildings_12_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedNFactors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.969817155972123]