Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001432/0.001432, allocations: 108.2 kB / 17.54 MB, free: 4.746 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001483/0.001483, allocations: 186.7 kB / 20.71 MB, free: 1.586 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.311/1.311, allocations: 225.6 MB / 249.3 MB, free: 3.316 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.359/2.359, allocations: 443.5 MB / 0.7304 GB, free: 13.96 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection,fileNamePrefix="Buildings_10_Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedConvection",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection,fileNamePrefix="Buildings_10_Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedConvection",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001822/0.001822, allocations: 63.88 kB / 1.059 GB, free: 1.02 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2528/0.2546, allocations: 160.7 MB / 1.216 GB, free: 15.99 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection): time 0.002711/0.2573, allocations: 1.615 MB / 1.217 GB, free: 14.36 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001448/0.2588, allocations: 0.9268 MB / 1.218 GB, free: 13.43 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.705e-05/0.2588, allocations: 4 kB / 1.218 GB, free: 13.42 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0002372/0.2591, allocations: 63.66 kB / 1.218 GB, free: 13.36 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0004325/0.2595, allocations: 135.3 kB / 1.218 GB, free: 13.23 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 3.718e-05/0.2595, allocations: 15.97 kB / 1.218 GB, free: 13.21 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0004238/0.26, allocations: 370.2 kB / 1.219 GB, free: 12.85 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 5.771e-05/0.26, allocations: 16.75 kB / 1.219 GB, free: 12.83 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002301/0.2603, allocations: 139.4 kB / 1.219 GB, free: 12.69 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002078/0.2605, allocations: 143.3 kB / 1.219 GB, free: 12.55 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 3.277e-05/0.2605, allocations: 16 kB / 1.219 GB, free: 12.54 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 3.803e-05/0.2605, allocations: 12 kB / 1.219 GB, free: 12.52 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 7.866e-05/0.2606, allocations: 59.69 kB / 1.219 GB, free: 12.46 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001384/0.2608, allocations: 123.3 kB / 1.219 GB, free: 12.34 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0003002/0.2611, allocations: 291 kB / 1.219 GB, free: 12.06 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 2.906e-06/0.2611, allocations: 0 / 1.219 GB, free: 12.06 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.172e-06/0.2611, allocations: 0 / 1.219 GB, free: 12.06 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.031e-05/0.2611, allocations: 0 / 1.219 GB, free: 12.06 MB / 0.9669 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.001018/0.2621, allocations: 0.6418 MB / 1.22 GB, free: 11.37 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.603e-05/0.2621, allocations: 8.031 kB / 1.22 GB, free: 11.36 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.254e-05/0.2622, allocations: 38.73 kB / 1.22 GB, free: 11.31 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.515e-05/0.2622, allocations: 32.75 kB / 1.22 GB, free: 11.28 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004896/0.2627, allocations: 390.6 kB / 1.22 GB, free: 10.86 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.697e-06/0.2627, allocations: 4.312 kB / 1.22 GB, free: 10.86 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.12e-05/0.2627, allocations: 4.375 kB / 1.22 GB, free: 10.85 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001465/0.2629, allocations: 101.2 kB / 1.22 GB, free: 10.73 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.414e-06/0.2629, allocations: 0 / 1.22 GB, free: 10.73 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.121e-05/0.2629, allocations: 4 kB / 1.22 GB, free: 10.73 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.043e-06/0.2629, allocations: 8 kB / 1.221 GB, free: 10.72 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001007/0.263, allocations: 71.86 kB / 1.221 GB, free: 10.65 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003919/0.2634, allocations: 356 kB / 1.221 GB, free: 10.25 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001259/0.2635, allocations: 106.3 kB / 1.221 GB, free: 10.11 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.163e-05/0.2636, allocations: 63.45 kB / 1.221 GB, free: 10.03 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.771e-05/0.2636, allocations: 4 kB / 1.221 GB, free: 10.03 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.642e-05/0.2637, allocations: 38.44 kB / 1.221 GB, free: 9.98 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=4): time 1.042e-06/0.2637, allocations: 0 / 1.221 GB, free: 9.98 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4): time 0.0003409/0.264, allocations: 189.2 kB / 1.221 GB, free: 9.789 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.059e-05/0.2641, allocations: 140.5 kB / 1.221 GB, free: 9.621 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005814/0.2647, allocations: 0.5093 MB / 1.222 GB, free: 9.102 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.552e-05/0.2647, allocations: 25.7 kB / 1.222 GB, free: 9.07 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001193/0.2648, allocations: 164.1 kB / 1.222 GB, free: 8.906 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.654e-05/0.2648, allocations: 15.83 kB / 1.222 GB, free: 8.891 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.17e-05/0.2649, allocations: 18.22 kB / 1.222 GB, free: 8.867 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001477/0.265, allocations: 350.8 kB / 1.222 GB, free: 8.516 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.485e-05/0.2651, allocations: 31.97 kB / 1.223 GB, free: 8.484 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.592e-05/0.2651, allocations: 59.39 kB / 1.223 GB, free: 8.414 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001412/0.2653, allocations: 107.3 kB / 1.223 GB, free: 8.297 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.422e-06/0.2653, allocations: 0 / 1.223 GB, free: 8.297 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002116/0.2655, allocations: 153.2 kB / 1.223 GB, free: 8.141 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.199e-05/0.2655, allocations: 4 kB / 1.223 GB, free: 8.137 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.947e-06/0.2655, allocations: 0 / 1.223 GB, free: 8.137 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.352e-05/0.2655, allocations: 4 kB / 1.223 GB, free: 8.133 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.467e-05/0.2656, allocations: 7.984 kB / 1.223 GB, free: 8.125 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/0.2656, allocations: 4 kB / 1.223 GB, free: 8.121 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001275/0.2657, allocations: 16.05 kB / 1.223 GB, free: 8.105 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.959e-06/0.2658, allocations: 4 kB / 1.223 GB, free: 8.102 MB / 0.9669 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 (4): * Single equations (assignments): 4 * 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 prepare postOptimizeDAE: time 0.000147/0.2659, allocations: 173.8 kB / 1.223 GB, free: 7.922 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.975e-05/0.266, allocations: 35.75 kB / 1.223 GB, free: 7.887 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003031/0.2663, allocations: 187.6 kB / 1.223 GB, free: 7.699 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.2663, allocations: 128 / 1.223 GB, free: 7.699 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.2663, allocations: 8 kB / 1.223 GB, free: 7.691 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.081e-06/0.2663, allocations: 3.984 kB / 1.223 GB, free: 7.688 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002836/0.2666, allocations: 305.5 kB / 1.224 GB, free: 7.34 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.466e-06/0.2666, allocations: 4 kB / 1.224 GB, free: 7.336 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.705e-05/0.2666, allocations: 19.92 kB / 1.224 GB, free: 7.316 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.2666, allocations: 0 / 1.224 GB, free: 7.316 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.526e-06/0.2667, allocations: 0 / 1.224 GB, free: 7.316 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.998e-06/0.2667, allocations: 4 kB / 1.224 GB, free: 7.312 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.2667, allocations: 0 / 1.224 GB, free: 7.312 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002328/0.2669, allocations: 199.3 kB / 1.224 GB, free: 7.09 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001369/0.267, allocations: 140.9 kB / 1.224 GB, free: 6.934 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.733e-05/0.2671, allocations: 11.92 kB / 1.224 GB, free: 6.922 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000129/0.2672, allocations: 11.98 kB / 1.224 GB, free: 6.91 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.124e-05/0.2672, allocations: 11.98 kB / 1.224 GB, free: 6.898 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.24e-06/0.2672, allocations: 4 kB / 1.224 GB, free: 6.895 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0004447/0.2677, allocations: 395 kB / 1.224 GB, free: 6.512 MB / 0.9669 GB Notification: Performance of sort global known variables: time 5e-08/0.2677, allocations: 0 / 1.224 GB, free: 6.512 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002393/0.2679, allocations: 39.98 kB / 1.224 GB, free: 6.473 MB / 0.9669 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.0004975/0.2684, allocations: 0.7395 MB / 1.225 GB, free: 5.695 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0001719/0.2686, allocations: 87.84 kB / 1.225 GB, free: 5.609 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.2686, allocations: 0 / 1.225 GB, free: 5.609 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 6.655e-05/0.2687, allocations: 43.91 kB / 1.225 GB, free: 5.566 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003339/0.269, allocations: 66.98 kB / 1.225 GB, free: 5.508 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003608/0.2726, allocations: 3.185 MB / 1.228 GB, free: 2.207 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003875/0.273, allocations: 0.8143 MB / 1.229 GB, free: 1.367 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0001193/0.2731, allocations: 50.27 kB / 1.229 GB, free: 1.32 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001328/0.2732, allocations: 79.39 kB / 1.229 GB, free: 1.242 MB / 0.9669 GB Notification: Performance of SimCode: time 3.4e-07/0.2732, allocations: 0 / 1.229 GB, free: 1.242 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02925/0.3025, allocations: 6.635 MB / 1.236 GB, free: 10.74 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.145/7.448, allocations: 8.031 kB / 1.236 GB, free: 10.74 MB / 0.9825 GB " [Timeout remaining time 292] (rm -f Buildings_10_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection_res.csv --start-time 0 --stop-time 3.1536e+07 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 12614.4 Buildings_10_Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedConvection.fmu > Buildings_10_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedConvection.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.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: 12.638737366003625]