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.001577/0.001577, 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.001453/0.001453, 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.402/1.402, allocations: 230.6 MB / 256.8 MB, free: 7.992 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.072/3.072, allocations: 0.5003 GB / 0.8061 GB, free: 26.79 MB / 0.6231 GB " [Timeout remaining time 177] 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors,fileNamePrefix="Buildings_latest_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.001936/0.001936, allocations: 69.7 kB / 1.171 GB, free: 19.82 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3263/0.3283, allocations: 179 MB / 1.345 GB, free: 0.5195 MB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors): time 0.002735/0.331, allocations: 1.608 MB / 1.347 GB, free: 14.9 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001482/0.3325, allocations: 0.9657 MB / 1.348 GB, free: 13.93 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.683e-05/0.3326, allocations: 7.938 kB / 1.348 GB, free: 13.92 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0002392/0.3328, allocations: 63.64 kB / 1.348 GB, free: 13.86 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0004407/0.3332, allocations: 139.3 kB / 1.348 GB, free: 13.72 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 3.629e-05/0.3333, allocations: 12 kB / 1.348 GB, free: 13.71 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0004313/0.3337, allocations: 354.3 kB / 1.348 GB, free: 13.36 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 6.507e-05/0.3338, allocations: 25.19 kB / 1.348 GB, free: 13.33 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002579/0.334, allocations: 151.3 kB / 1.349 GB, free: 13.18 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002349/0.3343, allocations: 147.3 kB / 1.349 GB, free: 13.04 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 3.4e-05/0.3343, allocations: 16 kB / 1.349 GB, free: 13.02 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007239/0.335, allocations: 0.5358 MB / 1.349 GB, free: 12.47 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 8.017e-05/0.3351, allocations: 63.69 kB / 1.349 GB, free: 12.41 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0001429/0.3352, allocations: 127.2 kB / 1.349 GB, free: 12.29 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.001258/0.3365, allocations: 0.8497 MB / 1.35 GB, free: 11.43 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.3365, allocations: 11.98 kB / 1.35 GB, free: 11.42 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.503e-06/0.3365, allocations: 0 / 1.35 GB, free: 11.42 MB / 1.045 GB Notification: Performance of Transformations before backend: time 6.763e-06/0.3365, allocations: 0 / 1.35 GB, free: 11.42 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.001394/0.3379, allocations: 0.5898 MB / 1.351 GB, free: 10.8 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.691e-05/0.338, allocations: 8.031 kB / 1.351 GB, free: 10.79 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.818e-05/0.338, allocations: 4.188 kB / 1.351 GB, free: 10.79 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.66e-05/0.338, allocations: 38.73 kB / 1.351 GB, free: 10.74 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.742e-05/0.3381, allocations: 32.69 kB / 1.351 GB, free: 10.71 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005004/0.3386, allocations: 324.8 kB / 1.351 GB, free: 10.37 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.275e-05/0.3386, allocations: 4.375 kB / 1.351 GB, free: 10.37 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.681e-05/0.3386, allocations: 4.375 kB / 1.351 GB, free: 10.36 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001652/0.3388, allocations: 108.9 kB / 1.351 GB, free: 10.24 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.895e-06/0.3388, allocations: 0 / 1.351 GB, free: 10.24 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.548e-06/0.3388, allocations: 4 kB / 1.351 GB, free: 10.23 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.568e-06/0.3388, allocations: 0 / 1.351 GB, free: 10.23 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001036/0.3389, allocations: 67.86 kB / 1.351 GB, free: 10.17 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003602/0.3393, allocations: 315.2 kB / 1.352 GB, free: 9.809 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001292/0.3394, allocations: 102.4 kB / 1.352 GB, free: 9.672 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.3e-05/0.3395, allocations: 59.45 kB / 1.352 GB, free: 9.602 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.908e-05/0.3395, allocations: 7.938 kB / 1.352 GB, free: 9.594 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.057e-05/0.3395, allocations: 46.5 kB / 1.352 GB, free: 9.539 MB / 1.045 GB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.3395, allocations: 0 / 1.352 GB, free: 9.539 MB / 1.045 GB Notification: Performance of matching and sorting (n=4): time 0.0003396/0.3399, allocations: 181.3 kB / 1.352 GB, free: 9.355 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.503e-05/0.3399, allocations: 129 kB / 1.352 GB, free: 9.199 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005861/0.3405, allocations: 0.5131 MB / 1.353 GB, free: 8.68 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.264e-05/0.3405, allocations: 25.7 kB / 1.353 GB, free: 8.648 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001281/0.3407, allocations: 160.4 kB / 1.353 GB, free: 8.484 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.556e-05/0.3407, allocations: 15.89 kB / 1.353 GB, free: 8.469 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.676e-05/0.3408, allocations: 45.7 kB / 1.353 GB, free: 8.418 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001555/0.3409, allocations: 342.8 kB / 1.353 GB, free: 8.074 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001392/0.3411, allocations: 99.92 kB / 1.353 GB, free: 7.977 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000204/0.3413, allocations: 175.7 kB / 1.354 GB, free: 7.781 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003091/0.3416, allocations: 235.3 kB / 1.354 GB, free: 7.539 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.524e-06/0.3416, allocations: 0 / 1.354 GB, free: 7.539 MB / 1.045 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004333/0.342, allocations: 313.1 kB / 1.354 GB, free: 7.227 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.624e-05/0.342, allocations: 5.875 kB / 1.354 GB, free: 7.223 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.207e-06/0.342, allocations: 4 kB / 1.354 GB, free: 7.219 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.299e-05/0.3421, allocations: 4 kB / 1.354 GB, free: 7.215 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001336/0.3422, allocations: 19.97 kB / 1.354 GB, free: 7.195 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.47e-06/0.3422, allocations: 0 / 1.354 GB, free: 7.195 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001681/0.3424, allocations: 28.11 kB / 1.354 GB, free: 7.168 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.69e-05/0.3424, allocations: 4 kB / 1.354 GB, free: 7.164 MB / 1.045 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.0001635/0.3425, allocations: 181.6 kB / 1.354 GB, free: 6.977 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.048e-05/0.3426, allocations: 35.75 kB / 1.354 GB, free: 6.941 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003269/0.3429, allocations: 187.6 kB / 1.354 GB, free: 6.742 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.891e-06/0.3429, allocations: 4 kB / 1.354 GB, free: 6.738 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.3429, allocations: 0 / 1.354 GB, free: 6.738 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.3429, allocations: 0 / 1.354 GB, free: 6.738 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00027/0.3432, allocations: 260.5 kB / 1.355 GB, free: 6.441 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.3432, allocations: 7.875 kB / 1.355 GB, free: 6.434 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.677e-05/0.3433, allocations: 15.98 kB / 1.355 GB, free: 6.418 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.701e-06/0.3433, allocations: 4 kB / 1.355 GB, free: 6.414 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.268e-06/0.3433, allocations: 0 / 1.355 GB, free: 6.414 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.3433, allocations: 128 / 1.355 GB, free: 6.414 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.3433, allocations: 8 kB / 1.355 GB, free: 6.406 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002499/0.3436, allocations: 187.4 kB / 1.355 GB, free: 6.195 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001362/0.3437, allocations: 67.59 kB / 1.355 GB, free: 6.129 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.817e-05/0.3437, allocations: 8 kB / 1.355 GB, free: 6.121 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001353/0.3439, allocations: 11.98 kB / 1.355 GB, free: 6.109 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.25e-05/0.3439, allocations: 7.984 kB / 1.355 GB, free: 6.102 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.145e-06/0.3439, allocations: 4 kB / 1.355 GB, free: 6.098 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0004363/0.3443, allocations: 383 kB / 1.355 GB, free: 5.73 MB / 1.045 GB Notification: Performance of sort global known variables: time 9.1e-08/0.3443, allocations: 0 / 1.355 GB, free: 5.73 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0004901/0.3448, allocations: 99.88 kB / 1.356 GB, free: 5.633 MB / 1.045 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.005145/0.35, allocations: 3.45 MB / 1.359 GB, free: 2.141 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0004089/0.3504, allocations: 167.8 kB / 1.359 GB, free: 1.977 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.3504, allocations: 0 / 1.359 GB, free: 1.977 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 7.478e-05/0.3505, allocations: 47.91 kB / 1.359 GB, free: 1.93 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000433/0.3509, allocations: 57.81 kB / 1.359 GB, free: 1.871 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00445/0.3554, allocations: 3.491 MB / 1.363 GB, free: 14.26 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000413/0.3558, allocations: 0.8181 MB / 1.363 GB, free: 13.42 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0001544/0.3559, allocations: 54.28 kB / 1.363 GB, free: 13.36 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001465/0.3561, allocations: 79.41 kB / 1.363 GB, free: 13.29 MB / 1.061 GB Notification: Performance of SimCode: time 8.41e-07/0.3561, allocations: 0 / 1.363 GB, free: 13.29 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03485/0.3909, allocations: 10.96 MB / 1.374 GB, free: 2.504 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.54/11.93, allocations: 16.72 kB / 1.374 GB, free: 2.492 MB / 1.061 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.547021945996676]