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.001215/0.001215, allocations: 97.88 kB / 19.73 MB, free: 2.117 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.001468/0.001468, allocations: 218.7 kB / 23.03 MB, free: 4.922 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.417/1.417, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.054/3.054, allocations: 0.49 GB / 0.7959 GB, free: 35.5 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.002034/0.002034, allocations: 62.5 kB / 1.155 GB, free: 25.43 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.334/0.336, allocations: 176.1 MB / 1.327 GB, free: 1.523 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors): time 0.003162/0.3392, allocations: 1.57 MB / 1.328 GB, free: 15.94 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001673/0.3408, allocations: 0.8683 MB / 1.329 GB, free: 15.07 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.644e-05/0.3409, allocations: 4 kB / 1.329 GB, free: 15.07 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0002757/0.3412, allocations: 55.67 kB / 1.329 GB, free: 15.01 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0004884/0.3417, allocations: 143.3 kB / 1.329 GB, free: 14.87 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 4.138e-05/0.3417, allocations: 8 kB / 1.329 GB, free: 14.86 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0004567/0.3422, allocations: 366.2 kB / 1.33 GB, free: 14.5 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 6.907e-05/0.3423, allocations: 13.22 kB / 1.33 GB, free: 14.48 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002946/0.3425, allocations: 159.4 kB / 1.33 GB, free: 14.33 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002274/0.3428, allocations: 143.3 kB / 1.33 GB, free: 14.19 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.839e-05/0.3428, allocations: 16 kB / 1.33 GB, free: 14.17 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006847/0.3435, allocations: 484.8 kB / 1.33 GB, free: 13.68 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 8.422e-05/0.3436, allocations: 55.7 kB / 1.33 GB, free: 13.63 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001406/0.3437, allocations: 107.4 kB / 1.33 GB, free: 13.52 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.00152/0.3452, allocations: 0.838 MB / 1.331 GB, free: 12.68 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.3452, allocations: 0 / 1.331 GB, free: 12.68 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.562e-06/0.3452, allocations: 11.94 kB / 1.331 GB, free: 12.67 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.743e-06/0.3453, allocations: 0 / 1.331 GB, free: 12.67 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.001533/0.3468, allocations: 0.586 MB / 1.332 GB, free: 12.05 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.424e-05/0.3468, allocations: 8.031 kB / 1.332 GB, free: 12.05 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.419e-05/0.3469, allocations: 192 / 1.332 GB, free: 12.05 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.92e-05/0.3469, allocations: 34.75 kB / 1.332 GB, free: 12 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.094e-05/0.347, allocations: 36.75 kB / 1.332 GB, free: 11.97 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005444/0.3475, allocations: 328.8 kB / 1.332 GB, free: 11.63 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.093e-05/0.3475, allocations: 384 / 1.332 GB, free: 11.63 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.965e-05/0.3476, allocations: 4.375 kB / 1.332 GB, free: 11.62 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000187/0.3477, allocations: 105 kB / 1.332 GB, free: 11.5 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.287e-06/0.3478, allocations: 0 / 1.332 GB, free: 11.5 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.467e-06/0.3478, allocations: 3.938 kB / 1.332 GB, free: 11.5 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.93e-06/0.3478, allocations: 0 / 1.332 GB, free: 11.5 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000104/0.3479, allocations: 71.86 kB / 1.332 GB, free: 11.43 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003636/0.3482, allocations: 283.3 kB / 1.333 GB, free: 11.1 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001423/0.3484, allocations: 106.4 kB / 1.333 GB, free: 10.96 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.64e-05/0.3485, allocations: 59.45 kB / 1.333 GB, free: 10.89 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.155e-05/0.3485, allocations: 11.88 kB / 1.333 GB, free: 10.88 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.991e-05/0.3485, allocations: 34.56 kB / 1.333 GB, free: 10.84 MB / 1.029 GB Notification: Performance of pre-optimization done (n=4): time 1.463e-06/0.3485, allocations: 0 / 1.333 GB, free: 10.84 MB / 1.029 GB Notification: Performance of matching and sorting (n=4): time 0.0003603/0.3489, allocations: 181.7 kB / 1.333 GB, free: 10.65 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.51e-05/0.349, allocations: 132.5 kB / 1.333 GB, free: 10.49 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006324/0.3496, allocations: 0.5092 MB / 1.334 GB, free: 9.973 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.562e-05/0.3496, allocations: 29.7 kB / 1.334 GB, free: 9.938 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001472/0.3498, allocations: 164.4 kB / 1.334 GB, free: 9.77 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.48e-05/0.3498, allocations: 7.938 kB / 1.334 GB, free: 9.762 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.191e-05/0.3499, allocations: 49.66 kB / 1.334 GB, free: 9.707 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001876/0.3501, allocations: 350.7 kB / 1.334 GB, free: 9.355 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001464/0.3502, allocations: 99.92 kB / 1.334 GB, free: 9.258 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00028/0.3505, allocations: 265.5 kB / 1.335 GB, free: 8.949 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003252/0.3508, allocations: 243.3 kB / 1.335 GB, free: 8.699 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.3508, allocations: 0 / 1.335 GB, free: 8.699 MB / 1.029 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004428/0.3513, allocations: 309.4 kB / 1.335 GB, free: 8.391 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.962e-05/0.3513, allocations: 8 kB / 1.335 GB, free: 8.383 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.163e-06/0.3513, allocations: 0 / 1.335 GB, free: 8.383 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.615e-05/0.3513, allocations: 3.984 kB / 1.335 GB, free: 8.379 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001447/0.3515, allocations: 15.98 kB / 1.335 GB, free: 8.363 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.552e-06/0.3515, allocations: 4 kB / 1.335 GB, free: 8.359 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001796/0.3516, allocations: 27.83 kB / 1.335 GB, free: 8.332 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.582e-05/0.3517, allocations: 4 kB / 1.335 GB, free: 8.328 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.0001886/0.3519, allocations: 185.6 kB / 1.335 GB, free: 8.137 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.252e-05/0.3519, allocations: 35.75 kB / 1.335 GB, free: 8.102 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003476/0.3523, allocations: 187.6 kB / 1.336 GB, free: 7.906 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/0.3523, allocations: 0 / 1.336 GB, free: 7.906 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.578e-06/0.3523, allocations: 0 / 1.336 GB, free: 7.906 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.594e-06/0.3523, allocations: 7.984 kB / 1.336 GB, free: 7.898 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000285/0.3526, allocations: 232.6 kB / 1.336 GB, free: 7.629 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/0.3526, allocations: 3.938 kB / 1.336 GB, free: 7.625 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.432e-05/0.3526, allocations: 15.98 kB / 1.336 GB, free: 7.609 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.896e-06/0.3527, allocations: 0 / 1.336 GB, free: 7.609 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.875e-05/0.3527, allocations: 8.125 kB / 1.336 GB, free: 7.602 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.953e-06/0.3527, allocations: 4 kB / 1.336 GB, free: 7.598 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.3527, allocations: 0 / 1.336 GB, free: 7.598 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002622/0.3529, allocations: 195.3 kB / 1.336 GB, free: 7.379 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001375/0.3531, allocations: 63.62 kB / 1.336 GB, free: 7.316 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.644e-05/0.3531, allocations: 4 kB / 1.336 GB, free: 7.312 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001489/0.3533, allocations: 15.91 kB / 1.336 GB, free: 7.297 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.21e-05/0.3533, allocations: 8 kB / 1.336 GB, free: 7.289 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.476e-06/0.3533, allocations: 4 kB / 1.336 GB, free: 7.285 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0004727/0.3538, allocations: 379 kB / 1.336 GB, free: 6.918 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3538, allocations: 0 / 1.336 GB, free: 6.918 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0005477/0.3543, allocations: 103.9 kB / 1.337 GB, free: 6.816 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.005494/0.3598, allocations: 3.446 MB / 1.34 GB, free: 3.328 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0005077/0.3603, allocations: 168 kB / 1.34 GB, free: 3.164 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 4.378e-06/0.3603, allocations: 0 / 1.34 GB, free: 3.164 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 7.91e-05/0.3604, allocations: 47.89 kB / 1.34 GB, free: 3.117 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004927/0.3609, allocations: 50.62 kB / 1.34 GB, free: 3.066 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00499/0.3659, allocations: 3.51 MB / 1.344 GB, free: 15.43 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002233/0.3661, allocations: 215.4 kB / 1.344 GB, free: 15.21 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0001737/0.3663, allocations: 46.28 kB / 1.344 GB, free: 15.16 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001725/0.3665, allocations: 75.41 kB / 1.344 GB, free: 15.09 MB / 1.045 GB Notification: Performance of SimCode: time 9.92e-07/0.3665, allocations: 8 kB / 1.344 GB, free: 15.08 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03554/0.402, allocations: 11.31 MB / 1.355 GB, free: 4.004 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.08/12.48, allocations: 6.5 kB / 1.355 GB, free: 4 MB / 1.045 GB " [Timeout remaining time 287] (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.934668603003956]