Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001735/0.001735, allocations: 114.3 kB / 18.94 MB, free: 2.793 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.002134/0.002134, allocations: 219.9 kB / 22.26 MB, free: 5.211 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.472/1.472, allocations: 230.6 MB / 256 MB, free: 7.98 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.312/3.312, allocations: 0.505 GB / 0.8101 GB, free: 22.02 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedNFactors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors,fileNamePrefix="Buildings_latest_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.001984/0.001984, allocations: 74.47 kB / 1.177 GB, free: 17.03 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3267/0.3287, allocations: 180.2 MB / 1.353 GB, free: 8.445 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors): time 0.002979/0.3317, allocations: 1.629 MB / 1.354 GB, free: 6.805 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001677/0.3333, allocations: 0.9624 MB / 1.355 GB, free: 5.836 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.939e-05/0.3334, allocations: 0 / 1.355 GB, free: 5.836 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0002571/0.3337, allocations: 59.67 kB / 1.355 GB, free: 5.777 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.000502/0.3342, allocations: 147.3 kB / 1.356 GB, free: 5.633 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 3.818e-05/0.3342, allocations: 4 kB / 1.356 GB, free: 5.629 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.000487/0.3347, allocations: 366.2 kB / 1.356 GB, free: 5.27 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 6.468e-05/0.3348, allocations: 21.2 kB / 1.356 GB, free: 5.25 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003229/0.3351, allocations: 159.3 kB / 1.356 GB, free: 5.094 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002552/0.3354, allocations: 135.4 kB / 1.356 GB, free: 4.961 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 4.465e-05/0.3354, allocations: 16 kB / 1.356 GB, free: 4.945 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007897/0.3362, allocations: 0.5475 MB / 1.357 GB, free: 4.383 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 8.185e-05/0.3363, allocations: 47.77 kB / 1.357 GB, free: 4.336 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0001731/0.3364, allocations: 143.2 kB / 1.357 GB, free: 4.195 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.001481/0.3379, allocations: 0.8497 MB / 1.358 GB, free: 3.344 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 7.184e-06/0.3379, allocations: 0 / 1.358 GB, free: 3.344 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.064e-06/0.3379, allocations: 0 / 1.358 GB, free: 3.344 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.643e-05/0.3379, allocations: 0 / 1.358 GB, free: 3.344 MB / 1.045 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.002151/0.3401, allocations: 0.5898 MB / 1.358 GB, free: 2.723 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 5.613e-05/0.3402, allocations: 15.97 kB / 1.358 GB, free: 2.707 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.332e-05/0.3402, allocations: 34.75 kB / 1.358 GB, free: 2.664 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001132/0.3403, allocations: 32.75 kB / 1.358 GB, free: 2.633 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007231/0.341, allocations: 324.8 kB / 1.359 GB, free: 2.293 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.146e-05/0.3411, allocations: 384 / 1.359 GB, free: 2.293 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.567e-05/0.3411, allocations: 4.375 kB / 1.359 GB, free: 2.289 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002213/0.3413, allocations: 113.1 kB / 1.359 GB, free: 2.16 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.718e-06/0.3413, allocations: 0 / 1.359 GB, free: 2.16 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.246e-05/0.3413, allocations: 0 / 1.359 GB, free: 2.16 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.671e-06/0.3413, allocations: 0 / 1.359 GB, free: 2.16 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001165/0.3414, allocations: 63.88 kB / 1.359 GB, free: 2.098 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005133/0.342, allocations: 319.2 kB / 1.359 GB, free: 1.734 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001471/0.3421, allocations: 102.4 kB / 1.359 GB, free: 1.598 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001034/0.3422, allocations: 63.41 kB / 1.359 GB, free: 1.523 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.996e-05/0.3422, allocations: 7.984 kB / 1.359 GB, free: 1.516 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.271e-05/0.3423, allocations: 42.48 kB / 1.359 GB, free: 1.465 MB / 1.045 GB Notification: Performance of pre-optimization done (n=4): time 9.82e-07/0.3423, allocations: 0 / 1.359 GB, free: 1.465 MB / 1.045 GB Notification: Performance of matching and sorting (n=4): time 0.0004351/0.3427, allocations: 185.3 kB / 1.36 GB, free: 1.277 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001009/0.3428, allocations: 133 kB / 1.36 GB, free: 1.117 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007607/0.3436, allocations: 0.5053 MB / 1.36 GB, free: 0.6016 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.813e-05/0.3436, allocations: 29.7 kB / 1.36 GB, free: 0.5664 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001517/0.3437, allocations: 156.4 kB / 1.36 GB, free: 416 kB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 3.242e-05/0.3438, allocations: 11.91 kB / 1.36 GB, free: 404 kB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.74e-05/0.3439, allocations: 49.69 kB / 1.36 GB, free: 348 kB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001799/0.344, allocations: 338.8 kB / 1.361 GB, free: 0 / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001804/0.3442, allocations: 108 kB / 1.361 GB, free: 15.89 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002444/0.3445, allocations: 168 kB / 1.361 GB, free: 15.7 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003429/0.3448, allocations: 243.2 kB / 1.361 GB, free: 15.45 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.4e-06/0.3448, allocations: 4 kB / 1.361 GB, free: 15.45 MB / 1.061 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004667/0.3453, allocations: 301.4 kB / 1.362 GB, free: 15.15 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.312e-05/0.3453, allocations: 8 kB / 1.362 GB, free: 15.14 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.169e-05/0.3453, allocations: 7.984 kB / 1.362 GB, free: 15.13 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.676e-05/0.3453, allocations: 0 / 1.362 GB, free: 15.13 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000153/0.3455, allocations: 15.98 kB / 1.362 GB, free: 15.12 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.204e-05/0.3455, allocations: 7.938 kB / 1.362 GB, free: 15.11 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001901/0.3457, allocations: 27.86 kB / 1.362 GB, free: 15.08 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.578e-05/0.3457, allocations: 4 kB / 1.362 GB, free: 15.08 MB / 1.061 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.0002092/0.3459, allocations: 185.6 kB / 1.362 GB, free: 14.89 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.398e-05/0.346, allocations: 31.75 kB / 1.362 GB, free: 14.86 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003557/0.3463, allocations: 183.6 kB / 1.362 GB, free: 14.67 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.464e-06/0.3463, allocations: 4 kB / 1.362 GB, free: 14.66 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.191e-06/0.3463, allocations: 0 / 1.362 GB, free: 14.66 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.3464, allocations: 3.938 kB / 1.362 GB, free: 14.66 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00031/0.3467, allocations: 264.4 kB / 1.362 GB, free: 14.36 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.053e-06/0.3467, allocations: 8 kB / 1.362 GB, free: 14.36 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001081/0.3468, allocations: 19.92 kB / 1.362 GB, free: 14.34 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.527e-06/0.3468, allocations: 0 / 1.362 GB, free: 14.34 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.164e-05/0.3468, allocations: 8.125 kB / 1.362 GB, free: 14.33 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.187e-06/0.3468, allocations: 4 kB / 1.362 GB, free: 14.32 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.837e-06/0.3468, allocations: 3.938 kB / 1.362 GB, free: 14.32 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002735/0.3471, allocations: 183.5 kB / 1.362 GB, free: 14.11 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001897/0.3473, allocations: 67.61 kB / 1.363 GB, free: 14.05 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.172e-05/0.3473, allocations: 4 kB / 1.363 GB, free: 14.04 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00015/0.3475, allocations: 11.98 kB / 1.363 GB, free: 14.03 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.469e-05/0.3475, allocations: 3.984 kB / 1.363 GB, free: 14.03 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.999e-06/0.3475, allocations: 8 kB / 1.363 GB, free: 14.02 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0004622/0.348, allocations: 379 kB / 1.363 GB, free: 13.65 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.348, allocations: 0 / 1.363 GB, free: 13.65 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0005072/0.3485, allocations: 107.8 kB / 1.363 GB, free: 13.54 MB / 1.061 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.005267/0.3537, allocations: 3.434 MB / 1.366 GB, free: 10.07 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0004973/0.3542, allocations: 179.7 kB / 1.367 GB, free: 9.891 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 4.849e-06/0.3542, allocations: 0 / 1.367 GB, free: 9.891 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 8.963e-05/0.3543, allocations: 43.91 kB / 1.367 GB, free: 9.848 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000515/0.3548, allocations: 57.95 kB / 1.367 GB, free: 9.793 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005073/0.3599, allocations: 3.497 MB / 1.37 GB, free: 6.176 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004901/0.3604, allocations: 0.8104 MB / 1.371 GB, free: 5.34 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0001783/0.3606, allocations: 54.28 kB / 1.371 GB, free: 5.285 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001603/0.3607, allocations: 79.41 kB / 1.371 GB, free: 5.207 MB / 1.061 GB Notification: Performance of SimCode: time 1.232e-06/0.3607, allocations: 0 / 1.371 GB, free: 5.207 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04162/0.4024, allocations: 10.93 MB / 1.382 GB, free: 10.44 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.69/12.1, allocations: 7.938 kB / 1.382 GB, free: 10.43 MB / 1.076 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedNFactors_fmu --startTime=0 --stopTime=3.1536e+07 --stepSize=12614.4 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedNFactors.fmu > Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedNFactors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.905244105961174]