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.0007606/0.0007606, 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.0007647/0.0007647, allocations: 169.9 kB / 22.46 MB, free: 2.102 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.8498/0.8498, allocations: 177.1 MB / 202.8 MB, free: 5.715 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.784/1.784, allocations: 389 MB / 0.633 GB, free: 12.66 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.CorrectedConvection,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedConvection",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedConvection",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 0.9996 GB, free: 13.51 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.007e-05/2.169e-05, allocations: 2.281 kB / 0.9996 GB, free: 13.51 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection): time 0.002245/0.002266, allocations: 1.574 MB / 1.001 GB, free: 11.93 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001209/0.003476, allocations: 0.8645 MB / 1.002 GB, free: 11.05 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.486e-05/0.00355, allocations: 3.938 kB / 1.002 GB, free: 11.05 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0002156/0.003766, allocations: 51.67 kB / 1.002 GB, free: 11 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0004053/0.004171, allocations: 147.2 kB / 1.002 GB, free: 10.86 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 2.802e-05/0.004199, allocations: 15.92 kB / 1.002 GB, free: 10.84 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0003041/0.004504, allocations: 390.1 kB / 1.003 GB, free: 10.46 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 5.147e-05/0.004555, allocations: 12.94 kB / 1.003 GB, free: 10.44 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000263/0.004818, allocations: 203.4 kB / 1.003 GB, free: 10.24 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001399/0.004958, allocations: 119.7 kB / 1.003 GB, free: 10.12 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.403e-05/0.004982, allocations: 16 kB / 1.003 GB, free: 10.11 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 2.38e-05/0.005006, allocations: 16 kB / 1.003 GB, free: 10.09 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 6.014e-05/0.005066, allocations: 51.77 kB / 1.003 GB, free: 10.04 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 7.258e-05/0.005138, allocations: 87.7 kB / 1.003 GB, free: 9.957 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0002117/0.00535, allocations: 275.1 kB / 1.003 GB, free: 9.688 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.335e-06/0.005352, allocations: 0 / 1.003 GB, free: 9.688 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.784e-06/0.005354, allocations: 0 / 1.003 GB, free: 9.688 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.388e-06/0.005359, allocations: 0 / 1.003 GB, free: 9.688 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.0007039/0.006063, allocations: 0.5549 MB / 1.004 GB, free: 9.102 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.883e-05/0.006101, allocations: 12.75 kB / 1.004 GB, free: 9.09 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.936e-05/0.006131, allocations: 34.75 kB / 1.004 GB, free: 9.047 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.364e-05/0.006174, allocations: 36.7 kB / 1.004 GB, free: 9.012 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003417/0.006516, allocations: 332 kB / 1.004 GB, free: 8.664 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.015e-05/0.006526, allocations: 4.375 kB / 1.004 GB, free: 8.66 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.637e-06/0.006535, allocations: 4.375 kB / 1.004 GB, free: 8.656 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001226/0.006657, allocations: 97.56 kB / 1.004 GB, free: 8.543 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.464e-06/0.006665, allocations: 4.188 kB / 1.004 GB, free: 8.539 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.156e-05/0.006676, allocations: 8.109 kB / 1.004 GB, free: 8.531 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.006681, allocations: 0 / 1.004 GB, free: 8.531 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.407e-05/0.006755, allocations: 75.86 kB / 1.004 GB, free: 8.457 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002519/0.007007, allocations: 287.3 kB / 1.005 GB, free: 8.125 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 9.057e-05/0.007098, allocations: 106.4 kB / 1.005 GB, free: 7.984 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.479e-05/0.007153, allocations: 55.47 kB / 1.005 GB, free: 7.918 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.766e-05/0.00717, allocations: 7.984 kB / 1.005 GB, free: 7.91 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.979e-05/0.00719, allocations: 38.5 kB / 1.005 GB, free: 7.863 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=4): time 1.132e-06/0.007191, allocations: 0 / 1.005 GB, free: 7.863 MB / 0.9636 GB Notification: Performance of matching and sorting (n=4): time 0.0002573/0.007449, allocations: 193.6 kB / 1.005 GB, free: 7.668 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.815e-05/0.007497, allocations: 132.5 kB / 1.005 GB, free: 7.508 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003896/0.007886, allocations: 0.5132 MB / 1.006 GB, free: 6.984 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.15e-05/0.007898, allocations: 25.7 kB / 1.006 GB, free: 6.953 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 7.916e-05/0.007977, allocations: 164.1 kB / 1.006 GB, free: 6.789 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.584e-05/0.008003, allocations: 15.83 kB / 1.006 GB, free: 6.773 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.226e-05/0.008035, allocations: 25.66 kB / 1.006 GB, free: 6.742 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 9.01e-05/0.008125, allocations: 342.8 kB / 1.006 GB, free: 6.398 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.24e-05/0.008168, allocations: 35.95 kB / 1.006 GB, free: 6.363 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.496e-05/0.008213, allocations: 59.34 kB / 1.006 GB, free: 6.293 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.68e-05/0.008309, allocations: 107.3 kB / 1.006 GB, free: 6.176 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.008312, allocations: 0 / 1.006 GB, free: 6.176 MB / 0.9636 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001408/0.008453, allocations: 149.3 kB / 1.007 GB, free: 6.023 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.288e-05/0.008465, allocations: 4 kB / 1.007 GB, free: 6.02 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.139e-06/0.008471, allocations: 0 / 1.007 GB, free: 6.02 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.208e-05/0.008483, allocations: 7.938 kB / 1.007 GB, free: 6.012 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.783e-05/0.008571, allocations: 11.98 kB / 1.007 GB, free: 6 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.949e-06/0.008575, allocations: 4.125 kB / 1.007 GB, free: 5.996 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.056e-05/0.008646, allocations: 7.984 kB / 1.007 GB, free: 5.988 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.318e-06/0.008655, allocations: 11.98 kB / 1.007 GB, free: 5.977 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 (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.0001103/0.008766, allocations: 173.8 kB / 1.007 GB, free: 5.797 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.67e-05/0.008792, allocations: 31.77 kB / 1.007 GB, free: 5.766 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002264/0.009019, allocations: 191.6 kB / 1.007 GB, free: 5.57 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.689e-06/0.009023, allocations: 7.938 kB / 1.007 GB, free: 5.562 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/0.009027, allocations: 128 / 1.007 GB, free: 5.562 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.367e-06/0.009031, allocations: 8 kB / 1.007 GB, free: 5.555 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001633/0.009194, allocations: 244.6 kB / 1.007 GB, free: 5.273 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.009195, allocations: 0 / 1.007 GB, free: 5.273 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.239e-05/0.009248, allocations: 19.98 kB / 1.007 GB, free: 5.254 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.925e-06/0.009251, allocations: 4 kB / 1.007 GB, free: 5.25 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.297e-06/0.00926, allocations: 0 / 1.007 GB, free: 5.25 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.868e-06/0.009264, allocations: 7.875 kB / 1.007 GB, free: 5.242 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.916e-06/0.009267, allocations: 4 kB / 1.007 GB, free: 5.238 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001645/0.009431, allocations: 187.4 kB / 1.008 GB, free: 5.027 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 8.542e-05/0.009517, allocations: 63.73 kB / 1.008 GB, free: 4.965 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.63e-05/0.009543, allocations: 7.938 kB / 1.008 GB, free: 4.957 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.089e-05/0.009614, allocations: 19.92 kB / 1.008 GB, free: 4.938 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.635e-05/0.00963, allocations: 4.078 kB / 1.008 GB, free: 4.934 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.979e-06/0.009635, allocations: 11.92 kB / 1.008 GB, free: 4.922 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.0002861/0.009921, allocations: 391 kB / 1.008 GB, free: 4.547 MB / 0.9636 GB Notification: Performance of sort global known variables: time 7e-08/0.009922, allocations: 0 / 1.008 GB, free: 4.547 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001651/0.01009, allocations: 40 kB / 1.008 GB, free: 4.508 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.0004886/0.01058, allocations: 0.7319 MB / 1.009 GB, free: 3.734 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001449/0.01072, allocations: 99.78 kB / 1.009 GB, free: 3.637 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.01072, allocations: 0 / 1.009 GB, free: 3.637 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 4.038e-05/0.01076, allocations: 43.91 kB / 1.009 GB, free: 3.594 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002665/0.01103, allocations: 66.06 kB / 1.009 GB, free: 3.527 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002568/0.0136, allocations: 3.177 MB / 1.012 GB, free: 236 kB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001254/0.01372, allocations: 211.4 kB / 1.012 GB, free: 0 / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.0001112/0.01383, allocations: 54.27 kB / 1.012 GB, free: 15.95 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001109/0.01394, allocations: 80.47 kB / 1.012 GB, free: 15.87 MB / 0.9792 GB Notification: Performance of SimCode: time 9.42e-07/0.01395, allocations: 0 / 1.012 GB, free: 15.87 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01932/0.03326, allocations: 7.686 MB / 1.02 GB, free: 8.422 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.448/6.481, allocations: 6.172 kB / 1.02 GB, free: 8.418 MB / 0.9792 GB " [Timeout remaining time 293] (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/jenkins/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: 10.428581924177706]