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.00191/0.00191, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.00243/0.00243, allocations: 214.7 kB / 22.25 MB, free: 4.855 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.456/1.456, allocations: 230.6 MB / 256 MB, free: 8.004 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.243/3.243, allocations: 0.5107 GB / 0.8158 GB, free: 17.81 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.0022/0.0022, allocations: 67.7 kB / 1.186 GB, free: 13.81 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3166/0.3188, allocations: 181.9 MB / 1.363 GB, free: 14.14 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors): time 0.002997/0.3218, allocations: 1.573 MB / 1.365 GB, free: 12.55 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001664/0.3234, allocations: 0.8695 MB / 1.366 GB, free: 11.68 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.301e-05/0.3235, allocations: 7.938 kB / 1.366 GB, free: 11.67 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0002613/0.3238, allocations: 51.73 kB / 1.366 GB, free: 11.62 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0004959/0.3243, allocations: 139.3 kB / 1.366 GB, free: 11.48 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 4.184e-05/0.3243, allocations: 15.97 kB / 1.366 GB, free: 11.47 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0004454/0.3248, allocations: 362.3 kB / 1.366 GB, free: 11.11 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 6.234e-05/0.3248, allocations: 17.16 kB / 1.366 GB, free: 11.09 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002883/0.3251, allocations: 155.3 kB / 1.366 GB, free: 10.94 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002285/0.3254, allocations: 151.3 kB / 1.367 GB, free: 10.79 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 4.007e-05/0.3254, allocations: 16 kB / 1.367 GB, free: 10.77 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006542/0.3261, allocations: 480.8 kB / 1.367 GB, free: 10.29 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 7.843e-05/0.3261, allocations: 51.7 kB / 1.367 GB, free: 10.24 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001609/0.3263, allocations: 115.4 kB / 1.367 GB, free: 10.12 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.00151/0.3278, allocations: 0.838 MB / 1.368 GB, free: 9.285 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.3278, allocations: 3.938 kB / 1.368 GB, free: 9.281 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.993e-06/0.3278, allocations: 0 / 1.368 GB, free: 9.281 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.101e-06/0.3278, allocations: 0 / 1.368 GB, free: 9.281 MB / 1.061 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.001403/0.3292, allocations: 0.586 MB / 1.369 GB, free: 8.664 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.007e-05/0.3293, allocations: 8.031 kB / 1.369 GB, free: 8.656 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.638e-05/0.3293, allocations: 34.75 kB / 1.369 GB, free: 8.613 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.763e-05/0.3294, allocations: 36.69 kB / 1.369 GB, free: 8.578 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005526/0.3299, allocations: 324.8 kB / 1.369 GB, free: 8.242 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.095e-05/0.3299, allocations: 384 / 1.369 GB, free: 8.242 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.29e-05/0.33, allocations: 8.375 kB / 1.369 GB, free: 8.234 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001716/0.3301, allocations: 101.2 kB / 1.369 GB, free: 8.117 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.594e-06/0.3301, allocations: 0 / 1.369 GB, free: 8.117 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.262e-05/0.3302, allocations: 4 kB / 1.369 GB, free: 8.113 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-06/0.3302, allocations: 0 / 1.369 GB, free: 8.113 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001096/0.3303, allocations: 71.88 kB / 1.369 GB, free: 8.043 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003612/0.3306, allocations: 283.3 kB / 1.369 GB, free: 7.715 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000134/0.3308, allocations: 106.3 kB / 1.37 GB, free: 7.574 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.04e-05/0.3309, allocations: 63.45 kB / 1.37 GB, free: 7.5 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.26e-05/0.3309, allocations: 0 / 1.37 GB, free: 7.5 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.2e-05/0.3309, allocations: 42.44 kB / 1.37 GB, free: 7.449 MB / 1.061 GB Notification: Performance of pre-optimization done (n=4): time 8.52e-07/0.3309, allocations: 0 / 1.37 GB, free: 7.449 MB / 1.061 GB Notification: Performance of matching and sorting (n=4): time 0.000355/0.3313, allocations: 193.3 kB / 1.37 GB, free: 7.254 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.721e-05/0.3313, allocations: 140.4 kB / 1.37 GB, free: 7.086 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006271/0.332, allocations: 0.4975 MB / 1.37 GB, free: 6.578 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.524e-05/0.332, allocations: 29.7 kB / 1.37 GB, free: 6.543 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001402/0.3321, allocations: 164.4 kB / 1.371 GB, free: 6.375 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.494e-05/0.3322, allocations: 11.91 kB / 1.371 GB, free: 6.363 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.037e-05/0.3322, allocations: 49.64 kB / 1.371 GB, free: 6.309 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001588/0.3324, allocations: 346.8 kB / 1.371 GB, free: 5.961 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001474/0.3325, allocations: 96.42 kB / 1.371 GB, free: 5.867 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002569/0.3328, allocations: 271 kB / 1.371 GB, free: 5.555 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003305/0.3331, allocations: 235.2 kB / 1.372 GB, free: 5.312 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.829e-06/0.3331, allocations: 4 kB / 1.372 GB, free: 5.309 MB / 1.061 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000452/0.3336, allocations: 305.2 kB / 1.372 GB, free: 5.004 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.114e-05/0.3336, allocations: 8 kB / 1.372 GB, free: 4.996 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.957e-06/0.3336, allocations: 0 / 1.372 GB, free: 4.996 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.668e-05/0.3336, allocations: 0 / 1.372 GB, free: 4.996 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001601/0.3338, allocations: 23.92 kB / 1.372 GB, free: 4.973 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.858e-06/0.3338, allocations: 4 kB / 1.372 GB, free: 4.969 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001951/0.334, allocations: 19.88 kB / 1.372 GB, free: 4.949 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.833e-05/0.334, allocations: 7.984 kB / 1.372 GB, free: 4.941 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.0001863/0.3342, allocations: 186.8 kB / 1.372 GB, free: 4.75 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.464e-05/0.3343, allocations: 39.64 kB / 1.372 GB, free: 4.711 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003597/0.3346, allocations: 179.9 kB / 1.372 GB, free: 4.527 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.003e-06/0.3346, allocations: 3.984 kB / 1.372 GB, free: 4.523 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.05e-06/0.3346, allocations: 0 / 1.372 GB, free: 4.523 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.751e-06/0.3346, allocations: 4 kB / 1.372 GB, free: 4.52 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002766/0.3349, allocations: 236.6 kB / 1.373 GB, free: 4.246 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.3349, allocations: 128 / 1.373 GB, free: 4.246 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.408e-05/0.335, allocations: 27.86 kB / 1.373 GB, free: 4.219 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.925e-06/0.335, allocations: 3.938 kB / 1.373 GB, free: 4.215 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.284e-05/0.335, allocations: 4 kB / 1.373 GB, free: 4.211 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.923e-06/0.335, allocations: 0 / 1.373 GB, free: 4.211 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.335, allocations: 0 / 1.373 GB, free: 4.211 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002581/0.3353, allocations: 191.4 kB / 1.373 GB, free: 3.996 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001614/0.3354, allocations: 67.61 kB / 1.373 GB, free: 3.93 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.552e-05/0.3355, allocations: 7.938 kB / 1.373 GB, free: 3.922 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001417/0.3356, allocations: 11.98 kB / 1.373 GB, free: 3.91 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.931e-05/0.3357, allocations: 7.984 kB / 1.373 GB, free: 3.902 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.975e-06/0.3357, allocations: 8 kB / 1.373 GB, free: 3.895 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0004633/0.3361, allocations: 379 kB / 1.373 GB, free: 3.527 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/0.3361, allocations: 0 / 1.373 GB, free: 3.527 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0004892/0.3366, allocations: 99.94 kB / 1.373 GB, free: 3.43 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.005194/0.3418, allocations: 3.442 MB / 1.377 GB, free: 15.94 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0003915/0.3422, allocations: 171.8 kB / 1.377 GB, free: 15.78 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/0.3422, allocations: 0 / 1.377 GB, free: 15.78 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 7.65e-05/0.3423, allocations: 43.91 kB / 1.377 GB, free: 15.73 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004266/0.3427, allocations: 61.97 kB / 1.377 GB, free: 15.67 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004499/0.3472, allocations: 3.495 MB / 1.38 GB, free: 12.06 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001943/0.3474, allocations: 207.4 kB / 1.381 GB, free: 11.84 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0001518/0.3476, allocations: 54.28 kB / 1.381 GB, free: 11.79 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001435/0.3477, allocations: 79.41 kB / 1.381 GB, free: 11.71 MB / 1.076 GB Notification: Performance of SimCode: time 7.92e-07/0.3477, allocations: 0 / 1.381 GB, free: 11.71 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04086/0.3886, allocations: 11.71 MB / 1.392 GB, free: 212 kB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.49/11.88, allocations: 13.67 kB / 1.392 GB, free: 200 kB / 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.486159052234143]