Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.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.001725/0.001725, allocations: 117.4 kB / 17.17 MB, free: 5.977 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.002131/0.002131, allocations: 214.3 kB / 20.13 MB, free: 3.035 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.547/1.547, allocations: 230.6 MB / 253.5 MB, free: 15.11 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 2.932/2.932, allocations: 0.5003 GB / 0.8026 GB, free: 6.859 MB / 0.6387 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.CorrectedConvection,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedConvection",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedConvection",fmuType="cs",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.001907/0.001907, allocations: 63.89 kB / 1.165 GB, free: 0.543 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9388/0.9407, allocations: 178.9 MB / 1.34 GB, free: 16.13 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection): time 0.00273/0.9434, allocations: 1.617 MB / 1.342 GB, free: 14.99 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001337/0.9447, allocations: 0.9534 MB / 1.343 GB, free: 14.32 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.856e-05/0.9448, allocations: 2.531 kB / 1.343 GB, free: 14.32 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0002625/0.9451, allocations: 63.75 kB / 1.343 GB, free: 14.29 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0004604/0.9455, allocations: 141.7 kB / 1.343 GB, free: 14.22 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 4.113e-05/0.9456, allocations: 12 kB / 1.343 GB, free: 14.21 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0003994/0.946, allocations: 375.6 kB / 1.343 GB, free: 14.03 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 6.936e-05/0.9461, allocations: 26.5 kB / 1.343 GB, free: 14.02 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002901/0.9463, allocations: 165 kB / 1.343 GB, free: 13.95 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001926/0.9465, allocations: 133.2 kB / 1.343 GB, free: 13.89 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 3.242e-05/0.9466, allocations: 16 kB / 1.344 GB, free: 13.89 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 4.385e-05/0.9466, allocations: 14.78 kB / 1.344 GB, free: 13.89 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 6.895e-05/0.9467, allocations: 46.42 kB / 1.344 GB, free: 13.86 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001458/0.9468, allocations: 140.5 kB / 1.344 GB, free: 13.78 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0003098/0.9471, allocations: 287.4 kB / 1.344 GB, free: 13.67 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.9471, allocations: 4 kB / 1.344 GB, free: 13.67 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.854e-06/0.9471, allocations: 0 / 1.344 GB, free: 13.67 MB / 1.061 GB Notification: Performance of Transformations before backend: time 7.644e-06/0.9472, allocations: 4 kB / 1.344 GB, free: 13.66 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.001033/0.9482, allocations: 0.6325 MB / 1.345 GB, free: 13.14 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 5.228e-05/0.9482, allocations: 8.75 kB / 1.345 GB, free: 13.14 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.212e-05/0.9483, allocations: 9.156 kB / 1.345 GB, free: 13.14 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.241e-05/0.9483, allocations: 33.31 kB / 1.345 GB, free: 13.1 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.788e-05/0.9484, allocations: 30.56 kB / 1.345 GB, free: 13.08 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005269/0.9489, allocations: 396.3 kB / 1.345 GB, free: 12.79 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.303e-05/0.9489, allocations: 5.625 kB / 1.345 GB, free: 12.78 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.374e-05/0.9489, allocations: 1.656 kB / 1.345 GB, free: 12.78 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000176/0.9491, allocations: 108.1 kB / 1.345 GB, free: 12.7 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.927e-06/0.9491, allocations: 0 / 1.345 GB, free: 12.7 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.174e-05/0.9491, allocations: 1.125 kB / 1.345 GB, free: 12.7 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-06/0.9491, allocations: 0 / 1.345 GB, free: 12.7 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001132/0.9492, allocations: 68.88 kB / 1.345 GB, free: 12.68 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004193/0.9496, allocations: 348.3 kB / 1.346 GB, free: 12.41 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000116/0.9498, allocations: 105.6 kB / 1.346 GB, free: 12.3 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.947e-05/0.9498, allocations: 61.86 kB / 1.346 GB, free: 12.26 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.5e-05/0.9499, allocations: 9.734 kB / 1.346 GB, free: 12.25 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.519e-05/0.9499, allocations: 38.33 kB / 1.346 GB, free: 12.21 MB / 1.061 GB Notification: Performance of pre-optimization done (n=4): time 1.002e-06/0.9499, allocations: 0 / 1.346 GB, free: 12.21 MB / 1.061 GB Notification: Performance of matching and sorting (n=4): time 0.0003805/0.9503, allocations: 192.5 kB / 1.346 GB, free: 12.12 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.631e-05/0.9503, allocations: 131.1 kB / 1.346 GB, free: 11.96 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006751/0.951, allocations: 0.5153 MB / 1.347 GB, free: 11.75 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.27e-05/0.951, allocations: 31.08 kB / 1.347 GB, free: 11.71 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 9.801e-05/0.9511, allocations: 163.8 kB / 1.347 GB, free: 11.57 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.289e-05/0.9511, allocations: 15.67 kB / 1.347 GB, free: 11.56 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.88e-05/0.9512, allocations: 22.36 kB / 1.347 GB, free: 11.54 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001008/0.9513, allocations: 341.2 kB / 1.347 GB, free: 11.21 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.68e-05/0.9514, allocations: 34.58 kB / 1.347 GB, free: 11.21 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.452e-05/0.9514, allocations: 58.48 kB / 1.347 GB, free: 11.17 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001392/0.9516, allocations: 106.5 kB / 1.347 GB, free: 11.11 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.378e-06/0.9516, allocations: 1.625 kB / 1.347 GB, free: 11.11 MB / 1.061 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002196/0.9518, allocations: 149.8 kB / 1.347 GB, free: 11.04 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.556e-05/0.9518, allocations: 5.406 kB / 1.347 GB, free: 11.04 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.294e-06/0.9518, allocations: 6.016 kB / 1.347 GB, free: 11.03 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.625e-05/0.9518, allocations: 1.406 kB / 1.347 GB, free: 11.03 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001461/0.952, allocations: 11.59 kB / 1.347 GB, free: 11.03 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.025e-06/0.952, allocations: 1.344 kB / 1.347 GB, free: 11.03 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001526/0.9521, allocations: 14.45 kB / 1.347 GB, free: 11.03 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.324e-05/0.9521, allocations: 3.016 kB / 1.348 GB, free: 11.03 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 (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.0001528/0.9523, allocations: 178.2 kB / 1.348 GB, free: 10.89 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.833e-05/0.9523, allocations: 35.88 kB / 1.348 GB, free: 10.88 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003309/0.9527, allocations: 184.5 kB / 1.348 GB, free: 10.79 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.973e-06/0.9527, allocations: 2.781 kB / 1.348 GB, free: 10.79 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.558e-06/0.9527, allocations: 5.375 kB / 1.348 GB, free: 10.79 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.786e-06/0.9527, allocations: 1.922 kB / 1.348 GB, free: 10.79 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003192/0.953, allocations: 312.3 kB / 1.348 GB, free: 10.54 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.953, allocations: 5.531 kB / 1.348 GB, free: 10.54 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.811e-05/0.9531, allocations: 18.5 kB / 1.348 GB, free: 10.54 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.888e-06/0.9531, allocations: 5.375 kB / 1.348 GB, free: 10.53 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.386e-05/0.9531, allocations: 5.734 kB / 1.348 GB, free: 10.53 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/0.9531, allocations: 1.25 kB / 1.348 GB, free: 10.53 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.9531, allocations: 2.047 kB / 1.348 GB, free: 10.53 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002387/0.9534, allocations: 190.3 kB / 1.348 GB, free: 10.39 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001275/0.9535, allocations: 143.6 kB / 1.349 GB, free: 10.27 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.648e-05/0.9535, allocations: 7.188 kB / 1.349 GB, free: 10.26 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001384/0.9537, allocations: 9.984 kB / 1.349 GB, free: 10.26 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.376e-05/0.9537, allocations: 5.875 kB / 1.349 GB, free: 10.26 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.313e-06/0.9537, allocations: 6.406 kB / 1.349 GB, free: 10.26 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0004644/0.9542, allocations: 397.3 kB / 1.349 GB, free: 10.09 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.9542, allocations: 0 / 1.349 GB, free: 10.09 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002806/0.9545, allocations: 37.62 kB / 1.349 GB, free: 10.09 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.0003898/0.9548, allocations: 0.7318 MB / 1.35 GB, free: 9.418 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0001976/0.955, allocations: 82.25 kB / 1.35 GB, free: 9.398 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.9551, allocations: 9.219 kB / 1.35 GB, free: 9.391 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 7.342e-05/0.9551, allocations: 46.17 kB / 1.35 GB, free: 9.379 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003942/0.9555, allocations: 74.75 kB / 1.35 GB, free: 9.348 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004079/0.9596, allocations: 3.183 MB / 1.353 GB, free: 7.523 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002814/0.9599, allocations: 0.8157 MB / 1.354 GB, free: 6.809 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0001728/0.9601, allocations: 52.86 kB / 1.354 GB, free: 6.805 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001392/0.9602, allocations: 82.56 kB / 1.354 GB, free: 6.746 MB / 1.061 GB Notification: Performance of SimCode: time 9.32e-07/0.9602, allocations: 0 / 1.354 GB, free: 6.746 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02904/0.9892, allocations: 6.729 MB / 1.361 GB, free: 6.074 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.734/9.723, allocations: 12.38 kB / 1.361 GB, free: 6.07 MB / 1.061 GB " [Timeout remaining time 290] (rm -f Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedConvection_fmu --startTime=0 --stopTime=3.1536e+07 --stepSize=12614.4 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedConvection.fmu > Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedConvection.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 16.11102914600633]