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.002002/0.002002, allocations: 95.64 kB / 18.95 MB, free: 2.691 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.002502/0.002502, allocations: 213.8 kB / 22.25 MB, free: 5.242 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.442/1.442, allocations: 230.6 MB / 256 MB, free: 7.781 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.192/3.192, allocations: 0.5107 GB / 0.8158 GB, free: 17.8 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.002169/0.002169, allocations: 65.73 kB / 1.186 GB, free: 13.71 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3238/0.326, allocations: 181.9 MB / 1.363 GB, free: 14.08 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors): time 0.002897/0.3289, allocations: 1.563 MB / 1.365 GB, free: 12.5 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001622/0.3305, allocations: 0.8656 MB / 1.366 GB, free: 11.63 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.625e-05/0.3306, allocations: 7.938 kB / 1.366 GB, free: 11.62 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0002781/0.3309, allocations: 55.69 kB / 1.366 GB, free: 11.57 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0005586/0.3314, allocations: 143.3 kB / 1.366 GB, free: 11.43 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 4.191e-05/0.3315, allocations: 11.92 kB / 1.366 GB, free: 11.42 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0004706/0.332, allocations: 362.3 kB / 1.366 GB, free: 11.06 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 6.931e-05/0.332, allocations: 17.2 kB / 1.366 GB, free: 11.04 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003412/0.3324, allocations: 159.3 kB / 1.366 GB, free: 10.88 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002687/0.3326, allocations: 155.3 kB / 1.367 GB, free: 10.73 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 4.934e-05/0.3327, allocations: 16 kB / 1.367 GB, free: 10.71 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006772/0.3334, allocations: 476.8 kB / 1.367 GB, free: 10.23 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 8.85e-05/0.3334, allocations: 51.72 kB / 1.367 GB, free: 10.18 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001631/0.3336, allocations: 111.4 kB / 1.367 GB, free: 10.07 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.001584/0.3352, allocations: 0.838 MB / 1.368 GB, free: 9.234 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.3352, allocations: 0 / 1.368 GB, free: 9.234 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.764e-06/0.3352, allocations: 4 kB / 1.368 GB, free: 9.23 MB / 1.061 GB Notification: Performance of Transformations before backend: time 9.307e-06/0.3352, allocations: 4 kB / 1.368 GB, free: 9.227 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.001417/0.3366, allocations: 0.586 MB / 1.369 GB, free: 8.609 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.061e-05/0.3367, allocations: 8.031 kB / 1.369 GB, free: 8.602 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.425e-05/0.3367, allocations: 30.75 kB / 1.369 GB, free: 8.562 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.151e-05/0.3368, allocations: 36.7 kB / 1.369 GB, free: 8.527 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005502/0.3373, allocations: 320.8 kB / 1.369 GB, free: 8.195 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.518e-05/0.3374, allocations: 8.375 kB / 1.369 GB, free: 8.188 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.79e-05/0.3374, allocations: 4.375 kB / 1.369 GB, free: 8.184 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001811/0.3376, allocations: 101.2 kB / 1.369 GB, free: 8.066 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.999e-06/0.3376, allocations: 7.938 kB / 1.369 GB, free: 8.059 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.458e-06/0.3376, allocations: 0 / 1.369 GB, free: 8.059 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/0.3376, allocations: 0 / 1.369 GB, free: 8.059 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001107/0.3377, allocations: 67.86 kB / 1.369 GB, free: 7.992 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003918/0.3381, allocations: 279.3 kB / 1.369 GB, free: 7.668 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001459/0.3382, allocations: 114.5 kB / 1.37 GB, free: 7.52 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.329e-05/0.3383, allocations: 55.41 kB / 1.37 GB, free: 7.453 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.819e-05/0.3383, allocations: 3.984 kB / 1.37 GB, free: 7.449 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.212e-05/0.3384, allocations: 50.42 kB / 1.37 GB, free: 7.391 MB / 1.061 GB Notification: Performance of pre-optimization done (n=4): time 1.212e-06/0.3384, allocations: 0 / 1.37 GB, free: 7.391 MB / 1.061 GB Notification: Performance of matching and sorting (n=4): time 0.000408/0.3388, allocations: 181.3 kB / 1.37 GB, free: 7.207 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.545e-05/0.3389, allocations: 133 kB / 1.37 GB, free: 7.047 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006258/0.3395, allocations: 0.5053 MB / 1.37 GB, free: 6.531 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.848e-05/0.3395, allocations: 29.7 kB / 1.37 GB, free: 6.496 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001325/0.3397, allocations: 164.4 kB / 1.371 GB, free: 6.328 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.456e-05/0.3397, allocations: 11.91 kB / 1.371 GB, free: 6.316 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.345e-05/0.3398, allocations: 57.58 kB / 1.371 GB, free: 6.254 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001674/0.3399, allocations: 338.8 kB / 1.371 GB, free: 5.914 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001527/0.3401, allocations: 103.9 kB / 1.371 GB, free: 5.812 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002551/0.3403, allocations: 267 kB / 1.371 GB, free: 5.504 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003223/0.3407, allocations: 243.2 kB / 1.372 GB, free: 5.254 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.3407, allocations: 0 / 1.372 GB, free: 5.254 MB / 1.061 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004362/0.3411, allocations: 305.2 kB / 1.372 GB, free: 4.949 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.439e-05/0.3411, allocations: 10.03 kB / 1.372 GB, free: 4.941 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.032e-05/0.3411, allocations: 7.938 kB / 1.372 GB, free: 4.934 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.366e-05/0.3411, allocations: 0 / 1.372 GB, free: 4.934 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001297/0.3413, allocations: 15.98 kB / 1.372 GB, free: 4.918 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.3413, allocations: 0 / 1.372 GB, free: 4.918 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001756/0.3414, allocations: 27.86 kB / 1.372 GB, free: 4.891 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.175e-05/0.3415, allocations: 8 kB / 1.372 GB, free: 4.883 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.0001716/0.3416, allocations: 177.7 kB / 1.372 GB, free: 4.699 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.436e-05/0.3417, allocations: 43.64 kB / 1.372 GB, free: 4.656 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003309/0.342, allocations: 175.8 kB / 1.372 GB, free: 4.477 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.631e-06/0.342, allocations: 4 kB / 1.372 GB, free: 4.473 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.342, allocations: 0 / 1.372 GB, free: 4.473 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.342, allocations: 0 / 1.372 GB, free: 4.473 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002638/0.3423, allocations: 240.6 kB / 1.373 GB, free: 4.195 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.477e-06/0.3423, allocations: 4 kB / 1.373 GB, free: 4.191 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.964e-05/0.3424, allocations: 23.86 kB / 1.373 GB, free: 4.168 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.384e-06/0.3424, allocations: 0 / 1.373 GB, free: 4.168 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.165e-05/0.3424, allocations: 4 kB / 1.373 GB, free: 4.164 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.757e-06/0.3424, allocations: 4.125 kB / 1.373 GB, free: 4.16 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.3424, allocations: 4 kB / 1.373 GB, free: 4.156 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002585/0.3427, allocations: 191.3 kB / 1.373 GB, free: 3.941 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000152/0.3428, allocations: 71.55 kB / 1.373 GB, free: 3.871 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.795e-05/0.3429, allocations: 4 kB / 1.373 GB, free: 3.867 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001408/0.343, allocations: 7.984 kB / 1.373 GB, free: 3.859 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.201e-05/0.343, allocations: 7.984 kB / 1.373 GB, free: 3.852 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.528e-06/0.3431, allocations: 8 kB / 1.373 GB, free: 3.844 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0004554/0.3435, allocations: 379 kB / 1.373 GB, free: 3.477 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.3435, allocations: 0 / 1.373 GB, free: 3.477 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0005049/0.344, allocations: 95.94 kB / 1.373 GB, free: 3.383 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.005168/0.3492, allocations: 3.446 MB / 1.377 GB, free: 15.89 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.000357/0.3495, allocations: 167.8 kB / 1.377 GB, free: 15.73 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 5.05e-06/0.3495, allocations: 8 kB / 1.377 GB, free: 15.72 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 7.271e-05/0.3496, allocations: 43.91 kB / 1.377 GB, free: 15.68 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003938/0.35, allocations: 60.14 kB / 1.377 GB, free: 15.62 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004659/0.3547, allocations: 3.501 MB / 1.38 GB, free: 12 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002006/0.3549, allocations: 207.4 kB / 1.381 GB, free: 11.79 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0001431/0.355, allocations: 45.91 kB / 1.381 GB, free: 11.74 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001599/0.3552, allocations: 87.39 kB / 1.381 GB, free: 11.65 MB / 1.076 GB Notification: Performance of SimCode: time 5.81e-07/0.3552, allocations: 0 / 1.381 GB, free: 11.65 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04839/0.4036, allocations: 11.71 MB / 1.392 GB, free: 152 kB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.65/12.06, allocations: 12 kB / 1.392 GB, free: 140 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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors_res.csv --start-time 0 --stop-time 3.1536e+07 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 12614.4 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.csv","/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.78776348894462]