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.0008818/0.0008818, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.001084/0.001084, allocations: 170.3 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.8719/0.8719, allocations: 177.1 MB / 202.8 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] 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 1.734/1.734, allocations: 389 MB / 0.633 GB, free: 12.68 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 0.9996 GB, free: 13.52 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.92e-05/2.075e-05, allocations: 4.953 kB / 0.9996 GB, free: 13.52 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors): time 0.001861/0.001882, allocations: 1.571 MB / 1.001 GB, free: 11.94 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0009994/0.002881, allocations: 0.8722 MB / 1.002 GB, free: 11.06 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.29e-05/0.002954, allocations: 4 kB / 1.002 GB, free: 11.05 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0002146/0.003169, allocations: 55.67 kB / 1.002 GB, free: 11 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0004022/0.003571, allocations: 147.1 kB / 1.002 GB, free: 10.86 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 2.864e-05/0.0036, allocations: 8 kB / 1.002 GB, free: 10.85 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.000298/0.003898, allocations: 378 kB / 1.003 GB, free: 10.48 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 5.306e-05/0.003951, allocations: 16.92 kB / 1.003 GB, free: 10.46 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002503/0.004201, allocations: 199.5 kB / 1.003 GB, free: 10.26 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001382/0.004339, allocations: 127.6 kB / 1.003 GB, free: 10.14 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.394e-05/0.004363, allocations: 16 kB / 1.003 GB, free: 10.12 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003982/0.004762, allocations: 484.7 kB / 1.003 GB, free: 9.633 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 6.452e-05/0.004826, allocations: 59.69 kB / 1.003 GB, free: 9.574 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 7.39e-05/0.0049, allocations: 83.78 kB / 1.004 GB, free: 9.492 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0008919/0.005792, allocations: 0.9008 MB / 1.004 GB, free: 8.59 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 3.596e-06/0.005796, allocations: 0 / 1.004 GB, free: 8.59 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.613e-06/0.005797, allocations: 4 kB / 1.004 GB, free: 8.586 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.919e-06/0.005802, allocations: 0 / 1.004 GB, free: 8.586 MB / 0.9636 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.0008883/0.00669, allocations: 0.5804 MB / 1.005 GB, free: 7.977 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.938e-05/0.00673, allocations: 12.75 kB / 1.005 GB, free: 7.965 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.78e-05/0.006758, allocations: 30.75 kB / 1.005 GB, free: 7.926 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.802e-05/0.006806, allocations: 40.7 kB / 1.005 GB, free: 7.887 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003385/0.007144, allocations: 320 kB / 1.005 GB, free: 7.551 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.086e-05/0.007155, allocations: 384 / 1.005 GB, free: 7.551 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.372e-05/0.007169, allocations: 16.31 kB / 1.005 GB, free: 7.535 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001222/0.007291, allocations: 97.56 kB / 1.005 GB, free: 7.422 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.442e-06/0.007297, allocations: 192 / 1.005 GB, free: 7.422 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.005e-05/0.007307, allocations: 4.125 kB / 1.005 GB, free: 7.418 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.061e-06/0.007313, allocations: 4 kB / 1.005 GB, free: 7.414 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.221e-05/0.007386, allocations: 67.88 kB / 1.006 GB, free: 7.348 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002396/0.007625, allocations: 291.2 kB / 1.006 GB, free: 7.012 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 9.396e-05/0.007719, allocations: 98.41 kB / 1.006 GB, free: 6.879 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.748e-05/0.007777, allocations: 67.38 kB / 1.006 GB, free: 6.801 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.715e-05/0.007794, allocations: 8 kB / 1.006 GB, free: 6.793 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.761e-05/0.007811, allocations: 30.56 kB / 1.006 GB, free: 6.754 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=4): time 1.162e-06/0.007813, allocations: 0 / 1.006 GB, free: 6.754 MB / 0.9636 GB Notification: Performance of matching and sorting (n=4): time 0.0002642/0.008077, allocations: 189.2 kB / 1.006 GB, free: 6.562 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.307e-05/0.00813, allocations: 133 kB / 1.006 GB, free: 6.402 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003935/0.008523, allocations: 0.5054 MB / 1.007 GB, free: 5.887 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.669e-05/0.00854, allocations: 25.7 kB / 1.007 GB, free: 5.855 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 8.966e-05/0.00863, allocations: 164.4 kB / 1.007 GB, free: 5.688 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.197e-05/0.008652, allocations: 11.84 kB / 1.007 GB, free: 5.676 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.369e-05/0.008705, allocations: 57.58 kB / 1.007 GB, free: 5.613 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 9.628e-05/0.008802, allocations: 342.8 kB / 1.007 GB, free: 5.27 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.581e-05/0.008897, allocations: 103.9 kB / 1.007 GB, free: 5.168 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001603/0.009058, allocations: 265.6 kB / 1.008 GB, free: 4.859 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000212/0.00927, allocations: 243.2 kB / 1.008 GB, free: 4.609 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.896e-06/0.009273, allocations: 0 / 1.008 GB, free: 4.609 MB / 0.9636 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002813/0.009554, allocations: 297.3 kB / 1.008 GB, free: 4.312 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.745e-05/0.009571, allocations: 12 kB / 1.008 GB, free: 4.301 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.118e-06/0.009581, allocations: 0 / 1.008 GB, free: 4.301 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.575e-05/0.009596, allocations: 3.938 kB / 1.008 GB, free: 4.297 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001133/0.00971, allocations: 23.92 kB / 1.008 GB, free: 4.273 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.233e-06/0.009717, allocations: 3.938 kB / 1.008 GB, free: 4.27 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001051/0.009822, allocations: 23.88 kB / 1.008 GB, free: 4.246 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.185e-05/0.009834, allocations: 4 kB / 1.008 GB, free: 4.242 MB / 0.9636 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.0001247/0.009958, allocations: 177.8 kB / 1.008 GB, free: 4.059 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.318e-05/0.009992, allocations: 31.77 kB / 1.009 GB, free: 4.027 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002345/0.01023, allocations: 195.6 kB / 1.009 GB, free: 3.828 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.029e-06/0.01023, allocations: 3.938 kB / 1.009 GB, free: 3.824 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.522e-06/0.01024, allocations: 4 kB / 1.009 GB, free: 3.82 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.01024, allocations: 0 / 1.009 GB, free: 3.82 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001746/0.01042, allocations: 236.6 kB / 1.009 GB, free: 3.547 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.01042, allocations: 0 / 1.009 GB, free: 3.547 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.924e-05/0.01048, allocations: 19.98 kB / 1.009 GB, free: 3.527 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.01048, allocations: 0 / 1.009 GB, free: 3.527 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.06e-05/0.01049, allocations: 4 kB / 1.009 GB, free: 3.523 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.106e-06/0.01049, allocations: 8.062 kB / 1.009 GB, free: 3.516 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.766e-06/0.0105, allocations: 4 kB / 1.009 GB, free: 3.512 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001686/0.01066, allocations: 187.3 kB / 1.009 GB, free: 3.301 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 8.9e-05/0.01075, allocations: 55.75 kB / 1.009 GB, free: 3.246 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.638e-05/0.01078, allocations: 3.984 kB / 1.009 GB, free: 3.242 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.545e-05/0.01086, allocations: 19.92 kB / 1.009 GB, free: 3.223 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.75e-05/0.01087, allocations: 0 / 1.009 GB, free: 3.223 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.951e-06/0.01088, allocations: 7.984 kB / 1.009 GB, free: 3.215 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.0002837/0.01116, allocations: 375.1 kB / 1.01 GB, free: 2.855 MB / 0.9636 GB Notification: Performance of sort global known variables: time 6e-08/0.01116, allocations: 0 / 1.01 GB, free: 2.855 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0003946/0.01156, allocations: 111.9 kB / 1.01 GB, free: 2.746 MB / 0.9636 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.003173/0.01473, allocations: 3.442 MB / 1.013 GB, free: 15.26 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.0003647/0.01509, allocations: 175.8 kB / 1.013 GB, free: 15.09 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.0151, allocations: 4 kB / 1.013 GB, free: 15.08 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 4.566e-05/0.01514, allocations: 47.84 kB / 1.013 GB, free: 15.04 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003825/0.01553, allocations: 52.25 kB / 1.013 GB, free: 14.98 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003318/0.01884, allocations: 3.515 MB / 1.017 GB, free: 11.35 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001219/0.01897, allocations: 215.4 kB / 1.017 GB, free: 11.12 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.0001357/0.0191, allocations: 41.92 kB / 1.017 GB, free: 11.08 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001081/0.01921, allocations: 84.47 kB / 1.017 GB, free: 11 MB / 0.9792 GB Notification: Performance of SimCode: time 3.196e-06/0.01921, allocations: 4 kB / 1.017 GB, free: 10.99 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02625/0.04546, allocations: 11.84 MB / 1.029 GB, free: 15.38 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.206/7.252, allocations: 16.19 kB / 1.029 GB, free: 15.37 MB / 0.9948 GB " [Timeout remaining time 293] (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/jenkins/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: 11.276648009195924]