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.001865/0.001865, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.002438/0.002438, allocations: 217.5 kB / 23.04 MB, free: 5.074 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.407/1.407, allocations: 230.6 MB / 256.8 MB, free: 7.984 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.074/3.074, allocations: 0.49 GB / 0.7959 GB, free: 33.34 MB / 0.6231 GB " [Timeout remaining time 177] 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors,fileNamePrefix="Buildings_12_Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedNFactors",fmuType="cs",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.001961/0.001961, allocations: 72.41 kB / 1.155 GB, free: 25.65 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3152/0.3171, allocations: 176.1 MB / 1.327 GB, free: 1.953 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors): time 0.002813/0.32, allocations: 1.62 MB / 1.328 GB, free: 332 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001505/0.3215, allocations: 0.9579 MB / 1.329 GB, free: 15.36 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.249e-05/0.3215, allocations: 3.938 kB / 1.329 GB, free: 15.36 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0002365/0.3218, allocations: 67.7 kB / 1.329 GB, free: 15.29 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0004459/0.3222, allocations: 147.2 kB / 1.329 GB, free: 15.14 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 3.55e-05/0.3223, allocations: 7.984 kB / 1.329 GB, free: 15.14 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0004293/0.3227, allocations: 358.3 kB / 1.33 GB, free: 14.79 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 5.824e-05/0.3227, allocations: 13.22 kB / 1.33 GB, free: 14.77 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002713/0.323, allocations: 167.3 kB / 1.33 GB, free: 14.6 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002147/0.3232, allocations: 139.3 kB / 1.33 GB, free: 14.46 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.225e-05/0.3233, allocations: 20 kB / 1.33 GB, free: 14.45 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007146/0.324, allocations: 0.5437 MB / 1.331 GB, free: 13.89 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 7.108e-05/0.324, allocations: 51.7 kB / 1.331 GB, free: 13.84 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001538/0.3242, allocations: 139.2 kB / 1.331 GB, free: 13.7 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001267/0.3255, allocations: 0.8497 MB / 1.332 GB, free: 12.85 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.3255, allocations: 0 / 1.332 GB, free: 12.85 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.844e-06/0.3255, allocations: 0 / 1.332 GB, free: 12.85 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.645e-06/0.3255, allocations: 0 / 1.332 GB, free: 12.85 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.001391/0.3269, allocations: 0.5898 MB / 1.332 GB, free: 12.23 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.941e-05/0.3269, allocations: 8.031 kB / 1.332 GB, free: 12.22 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.145e-05/0.3269, allocations: 8.125 kB / 1.332 GB, free: 12.21 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.157e-05/0.327, allocations: 34.75 kB / 1.332 GB, free: 12.17 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.355e-05/0.327, allocations: 28.75 kB / 1.332 GB, free: 12.14 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004979/0.3275, allocations: 332.8 kB / 1.333 GB, free: 11.8 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.642e-06/0.3275, allocations: 384 / 1.333 GB, free: 11.8 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.92e-05/0.3275, allocations: 4.375 kB / 1.333 GB, free: 11.79 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001561/0.3277, allocations: 105 kB / 1.333 GB, free: 11.67 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.514e-06/0.3277, allocations: 3.938 kB / 1.333 GB, free: 11.67 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.358e-06/0.3277, allocations: 0 / 1.333 GB, free: 11.67 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.867e-06/0.3277, allocations: 4 kB / 1.333 GB, free: 11.66 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001074/0.3278, allocations: 71.86 kB / 1.333 GB, free: 11.59 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003595/0.3282, allocations: 311.2 kB / 1.333 GB, free: 11.24 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001442/0.3283, allocations: 102.4 kB / 1.333 GB, free: 11.1 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.343e-05/0.3284, allocations: 63.45 kB / 1.333 GB, free: 11.03 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.633e-05/0.3284, allocations: 3.938 kB / 1.333 GB, free: 11.02 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.61e-05/0.3285, allocations: 38.5 kB / 1.333 GB, free: 10.98 MB / 1.029 GB Notification: Performance of pre-optimization done (n=4): time 1.002e-06/0.3285, allocations: 0 / 1.333 GB, free: 10.98 MB / 1.029 GB Notification: Performance of matching and sorting (n=4): time 0.0003478/0.3288, allocations: 189.3 kB / 1.333 GB, free: 10.79 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.327e-05/0.3289, allocations: 132.5 kB / 1.334 GB, free: 10.62 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005851/0.3295, allocations: 0.5053 MB / 1.334 GB, free: 10.11 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.33e-05/0.3295, allocations: 29.7 kB / 1.334 GB, free: 10.07 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001348/0.3296, allocations: 160.4 kB / 1.334 GB, free: 9.91 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.416e-05/0.3296, allocations: 8.453 kB / 1.334 GB, free: 9.902 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.954e-05/0.3297, allocations: 57.64 kB / 1.334 GB, free: 9.84 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001536/0.3299, allocations: 338.8 kB / 1.335 GB, free: 9.5 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001392/0.33, allocations: 107.9 kB / 1.335 GB, free: 9.395 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000187/0.3302, allocations: 160.1 kB / 1.335 GB, free: 9.215 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003078/0.3305, allocations: 243.2 kB / 1.335 GB, free: 8.965 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.488e-06/0.3305, allocations: 4 kB / 1.335 GB, free: 8.961 MB / 1.029 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004167/0.3309, allocations: 305.1 kB / 1.335 GB, free: 8.656 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.675e-05/0.331, allocations: 8 kB / 1.335 GB, free: 8.648 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.937e-06/0.331, allocations: 4 kB / 1.335 GB, free: 8.645 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.348e-05/0.331, allocations: 0 / 1.335 GB, free: 8.645 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001351/0.3311, allocations: 15.98 kB / 1.335 GB, free: 8.629 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.326e-06/0.3311, allocations: 4 kB / 1.335 GB, free: 8.625 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001718/0.3313, allocations: 27.83 kB / 1.335 GB, free: 8.598 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.591e-05/0.3313, allocations: 7.984 kB / 1.335 GB, free: 8.59 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.0001651/0.3315, allocations: 181.7 kB / 1.336 GB, free: 8.402 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.037e-05/0.3315, allocations: 35.69 kB / 1.336 GB, free: 8.367 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003191/0.3318, allocations: 183.9 kB / 1.336 GB, free: 8.176 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.543e-06/0.3318, allocations: 4 kB / 1.336 GB, free: 8.172 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.3319, allocations: 0 / 1.336 GB, free: 8.172 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.3319, allocations: 4.125 kB / 1.336 GB, free: 8.168 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002749/0.3321, allocations: 256.6 kB / 1.336 GB, free: 7.875 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.719e-06/0.3321, allocations: 7.938 kB / 1.336 GB, free: 7.867 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.006e-05/0.3322, allocations: 19.92 kB / 1.336 GB, free: 7.848 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.414e-06/0.3322, allocations: 0 / 1.336 GB, free: 7.848 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.132e-05/0.3322, allocations: 4 kB / 1.336 GB, free: 7.844 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.507e-06/0.3322, allocations: 7.938 kB / 1.336 GB, free: 7.836 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.3322, allocations: 0 / 1.336 GB, free: 7.836 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002491/0.3325, allocations: 199.3 kB / 1.336 GB, free: 7.613 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001393/0.3326, allocations: 63.62 kB / 1.336 GB, free: 7.551 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.423e-05/0.3327, allocations: 0 / 1.336 GB, free: 7.551 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001378/0.3328, allocations: 15.97 kB / 1.336 GB, free: 7.535 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.993e-05/0.3328, allocations: 0 / 1.336 GB, free: 7.535 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.207e-06/0.3328, allocations: 11.94 kB / 1.336 GB, free: 7.523 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0004295/0.3333, allocations: 383 kB / 1.337 GB, free: 7.152 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3333, allocations: 0 / 1.337 GB, free: 7.152 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0004819/0.3338, allocations: 103.9 kB / 1.337 GB, free: 7.051 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.005141/0.3389, allocations: 3.442 MB / 1.34 GB, free: 3.566 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.000372/0.3393, allocations: 164 kB / 1.34 GB, free: 3.406 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.3393, allocations: 0 / 1.34 GB, free: 3.406 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 7.296e-05/0.3393, allocations: 55.89 kB / 1.34 GB, free: 3.352 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004052/0.3397, allocations: 53.56 kB / 1.34 GB, free: 3.297 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004397/0.3441, allocations: 3.508 MB / 1.344 GB, free: 15.67 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004214/0.3446, allocations: 0.8104 MB / 1.345 GB, free: 14.83 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0001485/0.3447, allocations: 46.28 kB / 1.345 GB, free: 14.79 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000148/0.3449, allocations: 83.41 kB / 1.345 GB, free: 14.71 MB / 1.045 GB Notification: Performance of SimCode: time 8.92e-07/0.3449, allocations: 0 / 1.345 GB, free: 14.71 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03311/0.378, allocations: 10.97 MB / 1.356 GB, free: 3.922 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.92/12.29, allocations: 10.28 kB / 1.356 GB, free: 3.914 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors_res.mat --tempDir=temp_Buildings_12_Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedNFactors_fmu --startTime=0 --stopTime=3.1536e+07 --stepSize=12614.4 --timeout=400 --tolerance=1e-06 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.mat","/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.820971067005303]