Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001636/0.001636, allocations: 109 kB / 17.96 MB, free: 3.918 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.002524/0.002524, allocations: 192.4 kB / 21.22 MB, free: 0.668 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.443/1.443, allocations: 225.6 MB / 249.9 MB, free: 13.36 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.657/2.657, allocations: 476.7 MB / 0.7635 GB, free: 10.9 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedConvection",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection,fileNamePrefix="Buildings_11_Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedConvection",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001921/0.001921, allocations: 63.89 kB / 1.108 GB, free: 7.398 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7382/0.7401, allocations: 168.7 MB / 1.272 GB, free: 4.434 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection): time 0.002823/0.743, allocations: 1.602 MB / 1.274 GB, free: 2.824 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001555/0.7445, allocations: 0.9362 MB / 1.275 GB, free: 1.883 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.736e-05/0.7446, allocations: 3.938 kB / 1.275 GB, free: 1.879 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0002565/0.7449, allocations: 55.66 kB / 1.275 GB, free: 1.824 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0004846/0.7453, allocations: 151.3 kB / 1.275 GB, free: 1.676 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 3.918e-05/0.7454, allocations: 8 kB / 1.275 GB, free: 1.668 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0004987/0.7459, allocations: 378.2 kB / 1.275 GB, free: 1.297 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 5.512e-05/0.7459, allocations: 8.75 kB / 1.275 GB, free: 1.289 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002684/0.7462, allocations: 151.3 kB / 1.276 GB, free: 1.141 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002183/0.7464, allocations: 135.3 kB / 1.276 GB, free: 1.008 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 4.016e-05/0.7465, allocations: 16 kB / 1.276 GB, free: 0.9922 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 5.912e-05/0.7465, allocations: 16 kB / 1.276 GB, free: 0.9766 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 8.79e-05/0.7466, allocations: 47.72 kB / 1.276 GB, free: 0.9297 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001596/0.7468, allocations: 135.2 kB / 1.276 GB, free: 0.7969 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0003635/0.7471, allocations: 284.5 kB / 1.276 GB, free: 0.5195 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/0.7471, allocations: 0 / 1.276 GB, free: 0.5195 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.643e-06/0.7471, allocations: 3.938 kB / 1.276 GB, free: 0.5156 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 7.084e-06/0.7471, allocations: 4 kB / 1.276 GB, free: 0.5117 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.00138/0.7485, allocations: 0.6302 MB / 1.277 GB, free: 15.83 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.365e-05/0.7486, allocations: 12.03 kB / 1.277 GB, free: 15.82 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.968e-05/0.7486, allocations: 30.75 kB / 1.277 GB, free: 15.78 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.209e-05/0.7487, allocations: 32.7 kB / 1.277 GB, free: 15.75 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005786/0.7493, allocations: 402.5 kB / 1.277 GB, free: 15.32 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.094e-05/0.7493, allocations: 384 / 1.277 GB, free: 15.32 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.801e-05/0.7493, allocations: 8.312 kB / 1.277 GB, free: 15.31 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001723/0.7495, allocations: 97.14 kB / 1.277 GB, free: 15.2 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.767e-06/0.7495, allocations: 7.938 kB / 1.277 GB, free: 15.19 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.099e-05/0.7495, allocations: 0 / 1.277 GB, free: 15.19 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.109e-06/0.7495, allocations: 0 / 1.277 GB, free: 15.19 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001203/0.7496, allocations: 75.86 kB / 1.277 GB, free: 15.12 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004672/0.7501, allocations: 352.1 kB / 1.278 GB, free: 14.71 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001526/0.7502, allocations: 110.4 kB / 1.278 GB, free: 14.57 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.472e-05/0.7503, allocations: 55.47 kB / 1.278 GB, free: 14.5 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.007e-05/0.7503, allocations: 4 kB / 1.278 GB, free: 14.5 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.284e-05/0.7504, allocations: 46.42 kB / 1.278 GB, free: 14.45 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=4): time 1.042e-06/0.7504, allocations: 0 / 1.278 GB, free: 14.45 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4): time 0.0003476/0.7507, allocations: 185.3 kB / 1.278 GB, free: 14.26 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.438e-05/0.7508, allocations: 128.5 kB / 1.278 GB, free: 14.1 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000638/0.7514, allocations: 0.5132 MB / 1.279 GB, free: 13.58 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.865e-05/0.7515, allocations: 25.7 kB / 1.279 GB, free: 13.55 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001325/0.7516, allocations: 164.1 kB / 1.279 GB, free: 13.38 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.563e-05/0.7516, allocations: 19.84 kB / 1.279 GB, free: 13.36 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.74e-05/0.7517, allocations: 26.2 kB / 1.279 GB, free: 13.33 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001694/0.7518, allocations: 338.8 kB / 1.279 GB, free: 12.99 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.097e-05/0.7519, allocations: 35.97 kB / 1.279 GB, free: 12.96 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.06e-05/0.752, allocations: 55.39 kB / 1.279 GB, free: 12.89 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001548/0.7521, allocations: 103.3 kB / 1.28 GB, free: 12.78 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.7521, allocations: 4 kB / 1.28 GB, free: 12.77 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002304/0.7524, allocations: 157.2 kB / 1.28 GB, free: 12.61 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.415e-05/0.7524, allocations: 4 kB / 1.28 GB, free: 12.61 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.86e-06/0.7524, allocations: 4 kB / 1.28 GB, free: 12.61 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.376e-05/0.7524, allocations: 0 / 1.28 GB, free: 12.61 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000123/0.7525, allocations: 11.98 kB / 1.28 GB, free: 12.59 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.119e-06/0.7525, allocations: 128 / 1.28 GB, free: 12.59 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001502/0.7527, allocations: 15.98 kB / 1.28 GB, free: 12.58 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.225e-05/0.7527, allocations: 3.984 kB / 1.28 GB, free: 12.57 MB / 0.9825 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.0001644/0.7528, allocations: 174.3 kB / 1.28 GB, free: 12.39 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.418e-05/0.7529, allocations: 35.75 kB / 1.28 GB, free: 12.36 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003476/0.7532, allocations: 187.8 kB / 1.28 GB, free: 12.17 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/0.7533, allocations: 8.125 kB / 1.28 GB, free: 12.16 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.7533, allocations: 0 / 1.28 GB, free: 12.16 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.472e-06/0.7533, allocations: 7.938 kB / 1.28 GB, free: 12.16 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00034/0.7536, allocations: 313.3 kB / 1.28 GB, free: 11.8 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.7536, allocations: 0 / 1.28 GB, free: 11.8 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.681e-05/0.7537, allocations: 19.94 kB / 1.28 GB, free: 11.78 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.986e-06/0.7537, allocations: 0 / 1.28 GB, free: 11.78 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.104e-05/0.7537, allocations: 15.88 kB / 1.28 GB, free: 11.77 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.998e-06/0.7537, allocations: 3.984 kB / 1.28 GB, free: 11.76 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/0.7537, allocations: 4 kB / 1.28 GB, free: 11.76 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002593/0.754, allocations: 183.5 kB / 1.281 GB, free: 11.55 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001882/0.7542, allocations: 140.8 kB / 1.281 GB, free: 11.39 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.479e-05/0.7542, allocations: 7.984 kB / 1.281 GB, free: 11.39 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001461/0.7544, allocations: 11.98 kB / 1.281 GB, free: 11.38 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.538e-05/0.7544, allocations: 11.94 kB / 1.281 GB, free: 11.36 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.694e-06/0.7544, allocations: 4 kB / 1.281 GB, free: 11.36 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0004879/0.7549, allocations: 399 kB / 1.281 GB, free: 10.97 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.7549, allocations: 0 / 1.281 GB, free: 10.97 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002527/0.7551, allocations: 36 kB / 1.281 GB, free: 10.93 MB / 0.9825 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.0005775/0.7557, allocations: 0.7338 MB / 1.282 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000193/0.7559, allocations: 83.86 kB / 1.282 GB, free: 10.08 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.7559, allocations: 0 / 1.282 GB, free: 10.08 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 6.862e-05/0.756, allocations: 43.91 kB / 1.282 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000386/0.7564, allocations: 66.12 kB / 1.282 GB, free: 9.977 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003995/0.7604, allocations: 3.19 MB / 1.285 GB, free: 6.66 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004426/0.7608, allocations: 0.8143 MB / 1.286 GB, free: 5.82 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001496/0.7609, allocations: 54.25 kB / 1.286 GB, free: 5.77 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001516/0.7611, allocations: 79.41 kB / 1.286 GB, free: 5.691 MB / 0.9825 GB Notification: Performance of SimCode: time 1.062e-06/0.7611, allocations: 0 / 1.286 GB, free: 5.691 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03234/0.7934, allocations: 6.633 MB / 1.293 GB, free: 15.19 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.217/9.011, allocations: 10.3 kB / 1.293 GB, free: 15.19 MB / 0.9981 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection_res.mat --tempDir=temp_Buildings_11_Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedConvection_fmu --startTime=0 --stopTime=3.1536e+07 --stepSize=12614.4 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedConvection.fmu > Buildings_11_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedConvection.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_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: 14.766024351119995]