Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0008033/0.0008033, 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.000799/0.000799, allocations: 165.9 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.8605/0.8605, allocations: 177.1 MB / 202.8 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.695/1.695, allocations: 377.8 MB / 0.6221 GB, free: 8.672 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/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_12_Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedConvection",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection,fileNamePrefix="Buildings_12_Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedConvection",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.372e-06/1.372e-06, allocations: 0 / 0.9809 GB, free: 2.668 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.006e-05/1.143e-05, allocations: 10.16 kB / 0.9809 GB, free: 2.656 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection): time 0.001637/0.001648, allocations: 1.581 MB / 0.9825 GB, free: 1.066 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0008412/0.00249, allocations: 0.8605 MB / 0.9833 GB, free: 204 kB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.939e-05/0.002549, allocations: 7.938 kB / 0.9833 GB, free: 196 kB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 0.0001895/0.002738, allocations: 55.67 kB / 0.9834 GB, free: 140 kB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 0.0003516/0.00309, allocations: 151.1 kB / 0.9835 GB, free: 15.99 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 2.299e-05/0.003113, allocations: 7.984 kB / 0.9835 GB, free: 15.98 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.0002719/0.003385, allocations: 390.1 kB / 0.9839 GB, free: 15.6 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 4.149e-05/0.003426, allocations: 12.94 kB / 0.9839 GB, free: 15.59 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002222/0.003649, allocations: 199.4 kB / 0.9841 GB, free: 15.39 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001283/0.003777, allocations: 131.6 kB / 0.9842 GB, free: 15.26 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 2.112e-05/0.003798, allocations: 16 kB / 0.9842 GB, free: 15.25 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 2.182e-05/0.00382, allocations: 12 kB / 0.9842 GB, free: 15.23 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 5.125e-05/0.003871, allocations: 47.78 kB / 0.9843 GB, free: 15.19 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 6.263e-05/0.003934, allocations: 79.72 kB / 0.9844 GB, free: 15.11 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001915/0.004125, allocations: 287 kB / 0.9846 GB, free: 14.83 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.054e-06/0.004127, allocations: 0 / 0.9846 GB, free: 14.83 MB / 0.948 GB Notification: Performance of FrontEnd: time 6.31e-07/0.004128, allocations: 0 / 0.9846 GB, free: 14.83 MB / 0.948 GB Notification: Performance of Transformations before backend: time 3.987e-06/0.004132, allocations: 0 / 0.9846 GB, free: 14.83 MB / 0.948 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.0006332/0.004765, allocations: 0.551 MB / 0.9852 GB, free: 14.25 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.557e-05/0.004801, allocations: 8.031 kB / 0.9852 GB, free: 14.24 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.424e-05/0.004825, allocations: 34.75 kB / 0.9852 GB, free: 14.2 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.805e-05/0.004863, allocations: 40.69 kB / 0.9853 GB, free: 14.16 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003174/0.00518, allocations: 336 kB / 0.9856 GB, free: 13.8 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.584e-06/0.005188, allocations: 4.312 kB / 0.9856 GB, free: 13.8 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.306e-06/0.005196, allocations: 384 / 0.9856 GB, free: 13.8 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001087/0.005305, allocations: 101.6 kB / 0.9857 GB, free: 13.68 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.162e-06/0.005311, allocations: 4.125 kB / 0.9857 GB, free: 13.68 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.416e-06/0.005319, allocations: 4.125 kB / 0.9857 GB, free: 13.68 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.138e-06/0.005324, allocations: 0 / 0.9857 GB, free: 13.68 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.044e-05/0.005394, allocations: 71.86 kB / 0.9858 GB, free: 13.61 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002412/0.005635, allocations: 291.3 kB / 0.986 GB, free: 13.27 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 8.419e-05/0.005719, allocations: 114.3 kB / 0.9861 GB, free: 13.12 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.058e-05/0.00577, allocations: 59.45 kB / 0.9862 GB, free: 13.05 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001253/0.005895, allocations: 7.938 kB / 0.9862 GB, free: 13.04 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.701e-05/0.005912, allocations: 34.56 kB / 0.9862 GB, free: 13 MB / 0.948 GB Notification: Performance of pre-optimization done (n=4): time 5.91e-07/0.005913, allocations: 0 / 0.9862 GB, free: 13 MB / 0.948 GB Notification: Performance of matching and sorting (n=4): time 0.0002299/0.006143, allocations: 185.7 kB / 0.9864 GB, free: 12.81 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.043e-05/0.006193, allocations: 136.5 kB / 0.9865 GB, free: 12.65 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003784/0.006572, allocations: 0.5171 MB / 0.9871 GB, free: 12.12 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.154e-05/0.006583, allocations: 25.7 kB / 0.9871 GB, free: 12.09 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 7.671e-05/0.00666, allocations: 164.1 kB / 0.9872 GB, free: 11.92 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.168e-05/0.006682, allocations: 11.84 kB / 0.9872 GB, free: 11.91 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.074e-05/0.006712, allocations: 29.64 kB / 0.9873 GB, free: 11.88 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.832e-05/0.006791, allocations: 338.8 kB / 0.9876 GB, free: 11.54 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.78e-05/0.006828, allocations: 35.95 kB / 0.9876 GB, free: 11.5 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.404e-05/0.006873, allocations: 59.39 kB / 0.9877 GB, free: 11.43 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.305e-05/0.006966, allocations: 107.3 kB / 0.9878 GB, free: 11.31 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.006967, allocations: 0 / 0.9878 GB, free: 11.31 MB / 0.948 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000128/0.007095, allocations: 145.3 kB / 0.9879 GB, free: 11.16 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.263e-05/0.007108, allocations: 11.98 kB / 0.9879 GB, free: 11.15 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.538e-06/0.007112, allocations: 4 kB / 0.9879 GB, free: 11.15 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.162e-05/0.007124, allocations: 3.938 kB / 0.9879 GB, free: 11.14 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.449e-05/0.007188, allocations: 8 kB / 0.988 GB, free: 11.14 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.01e-06/0.007193, allocations: 8.109 kB / 0.988 GB, free: 11.13 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.95e-05/0.007263, allocations: 11.98 kB / 0.988 GB, free: 11.12 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.222e-06/0.007269, allocations: 3.938 kB / 0.988 GB, free: 11.11 MB / 0.948 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.0001067/0.007376, allocations: 177.8 kB / 0.9881 GB, free: 10.93 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.692e-05/0.007403, allocations: 31.81 kB / 0.9882 GB, free: 10.9 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001992/0.007602, allocations: 183.6 kB / 0.9884 GB, free: 10.71 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.007604, allocations: 3.938 kB / 0.9884 GB, free: 10.71 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.107e-06/0.007608, allocations: 4.125 kB / 0.9884 GB, free: 10.71 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.836e-06/0.007611, allocations: 4 kB / 0.9884 GB, free: 10.7 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001556/0.007767, allocations: 244.6 kB / 0.9886 GB, free: 10.42 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.00777, allocations: 7.984 kB / 0.9886 GB, free: 10.41 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.281e-05/0.007812, allocations: 15.94 kB / 0.9886 GB, free: 10.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.372e-06/0.007814, allocations: 0 / 0.9886 GB, free: 10.4 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.815e-06/0.007822, allocations: 4 kB / 0.9886 GB, free: 10.39 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.248e-06/0.007826, allocations: 7.938 kB / 0.9886 GB, free: 10.39 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.007827, allocations: 7.875 kB / 0.9886 GB, free: 10.38 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001452/0.007972, allocations: 191.3 kB / 0.9888 GB, free: 10.16 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 7.749e-05/0.008049, allocations: 63.78 kB / 0.9889 GB, free: 10.1 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.416e-05/0.008074, allocations: 11.94 kB / 0.9889 GB, free: 10.09 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.479e-05/0.008138, allocations: 11.92 kB / 0.9889 GB, free: 10.08 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.64e-05/0.008155, allocations: 7.984 kB / 0.9889 GB, free: 10.07 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.438e-06/0.008159, allocations: 4 kB / 0.9889 GB, free: 10.07 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0003186/0.008478, allocations: 395 kB / 0.9893 GB, free: 9.684 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.8e-07/0.008478, allocations: 4 kB / 0.9893 GB, free: 9.68 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001604/0.008638, allocations: 36 kB / 0.9893 GB, free: 9.645 MB / 0.948 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.0002843/0.008923, allocations: 0.7245 MB / 0.99 GB, free: 8.883 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001234/0.009046, allocations: 91.86 kB / 0.9901 GB, free: 8.793 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.009048, allocations: 0 / 0.9901 GB, free: 8.793 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 3.93e-05/0.009087, allocations: 47.91 kB / 0.9902 GB, free: 8.746 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002408/0.009328, allocations: 70.34 kB / 0.9902 GB, free: 8.68 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002246/0.01157, allocations: 3.183 MB / 0.9933 GB, free: 5.371 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.532e-05/0.01167, allocations: 211.4 kB / 0.9935 GB, free: 5.148 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 7.408e-05/0.01174, allocations: 50.27 kB / 0.9936 GB, free: 5.098 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.456e-05/0.01184, allocations: 84.47 kB / 0.9937 GB, free: 5.016 MB / 0.948 GB Notification: Performance of SimCode: time 2.91e-07/0.01184, allocations: 0 / 0.9937 GB, free: 5.016 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01902/0.03086, allocations: 7.683 MB / 1.001 GB, free: 13.58 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.995/7.026, allocations: 0 / 1.001 GB, free: 13.58 MB / 0.9636 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection_res.mat --tempDir=temp_Buildings_12_Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedConvection_fmu --startTime=0 --stopTime=3.1536e+07 --stepSize=12614.4 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedConvection.fmu > Buildings_12_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedConvection.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.888094703666866]