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.001717/0.001717, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.002048/0.002048, allocations: 177.9 kB / 23.21 MB, free: 1.352 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.9285/0.9285, allocations: 177.1 MB / 203.5 MB, free: 5.402 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.744/1.744, allocations: 377.9 MB / 0.6229 GB, free: 8.629 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: translateModel(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|TSoi.1..T|TSoi.2..T|TSoi.3..T|TSoi.4..T",fileNamePrefix="Buildings_12_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection") translateModel(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|TSoi.1..T|TSoi.2..T|TSoi.3..T|TSoi.4..T",fileNamePrefix="Buildings_12_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.694e-06/1.694e-06, allocations: 0 / 0.9822 GB, free: 2.121 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.676e-05/2.846e-05, allocations: 2.281 kB / 0.9822 GB, free: 2.117 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection): time 0.002117/0.002145, allocations: 1.581 MB / 0.9837 GB, free: 0.5273 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.00111/0.003255, allocations: 0.8644 MB / 0.9845 GB, free: 15.66 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.103e-05/0.003336, allocations: 3.938 kB / 0.9845 GB, free: 15.65 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.0002373/0.003573, allocations: 59.69 kB / 0.9846 GB, free: 15.59 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.0004185/0.003992, allocations: 139.2 kB / 0.9847 GB, free: 15.46 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 3.391e-05/0.004026, allocations: 19.86 kB / 0.9848 GB, free: 15.44 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.0003209/0.004347, allocations: 382.1 kB / 0.9851 GB, free: 15.06 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 5.311e-05/0.0044, allocations: 20.91 kB / 0.9851 GB, free: 15.04 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002665/0.004666, allocations: 203.4 kB / 0.9853 GB, free: 14.84 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001426/0.004809, allocations: 123.7 kB / 0.9855 GB, free: 14.72 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 2.403e-05/0.004833, allocations: 16 kB / 0.9855 GB, free: 14.71 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 2.328e-05/0.004856, allocations: 16 kB / 0.9855 GB, free: 14.69 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 6.73e-05/0.004924, allocations: 47.72 kB / 0.9855 GB, free: 14.64 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 7.299e-05/0.004997, allocations: 79.78 kB / 0.9856 GB, free: 14.57 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002328/0.005229, allocations: 279.1 kB / 0.9859 GB, free: 14.29 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.005233, allocations: 0 / 0.9859 GB, free: 14.29 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.154e-06/0.005235, allocations: 0 / 0.9859 GB, free: 14.29 MB / 0.948 GB Notification: Performance of Transformations before backend: time 5.43e-06/0.005241, allocations: 4 kB / 0.9859 GB, free: 14.29 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.0007248/0.005966, allocations: 0.5548 MB / 0.9864 GB, free: 13.7 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.932e-05/0.006005, allocations: 12.03 kB / 0.9864 GB, free: 13.69 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.282e-05/0.006058, allocations: 32.7 kB / 0.9865 GB, free: 13.66 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003767/0.006434, allocations: 340 kB / 0.9868 GB, free: 13.3 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.03e-05/0.006445, allocations: 384 / 0.9868 GB, free: 13.3 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.5e-05/0.00646, allocations: 8.312 kB / 0.9868 GB, free: 13.3 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000145/0.006605, allocations: 101.5 kB / 0.9869 GB, free: 13.18 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.027e-06/0.006614, allocations: 192 / 0.9869 GB, free: 13.18 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.267e-05/0.006626, allocations: 4.375 kB / 0.9869 GB, free: 13.18 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.663e-06/0.006633, allocations: 7.938 kB / 0.9869 GB, free: 13.17 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.951e-05/0.006723, allocations: 67.86 kB / 0.987 GB, free: 13.1 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002636/0.006986, allocations: 271.8 kB / 0.9872 GB, free: 12.8 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 9.651e-05/0.007083, allocations: 106.4 kB / 0.9873 GB, free: 12.66 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.961e-05/0.007142, allocations: 63.45 kB / 0.9874 GB, free: 12.58 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.737e-05/0.00716, allocations: 0 / 0.9874 GB, free: 12.58 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.249e-05/0.007182, allocations: 38.5 kB / 0.9874 GB, free: 12.54 MB / 0.948 GB Notification: Performance of pre-optimization done (n=4): time 1.143e-06/0.007183, allocations: 0 / 0.9874 GB, free: 12.54 MB / 0.948 GB Notification: Performance of matching and sorting (n=4): time 0.0002771/0.00746, allocations: 185.3 kB / 0.9876 GB, free: 12.35 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.184e-05/0.007512, allocations: 136.5 kB / 0.9877 GB, free: 12.18 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004065/0.007919, allocations: 0.517 MB / 0.9882 GB, free: 11.65 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001096/0.008028, allocations: 26.2 kB / 0.9883 GB, free: 11.62 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 8.834e-05/0.008117, allocations: 168.1 kB / 0.9884 GB, free: 11.45 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 3.193e-05/0.008149, allocations: 11.84 kB / 0.9884 GB, free: 11.44 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.597e-05/0.008185, allocations: 25.7 kB / 0.9885 GB, free: 11.41 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.664e-05/0.008281, allocations: 338.8 kB / 0.9888 GB, free: 11.07 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.26e-05/0.008324, allocations: 35.95 kB / 0.9888 GB, free: 11.04 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.568e-05/0.008369, allocations: 55.41 kB / 0.9889 GB, free: 10.97 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000104/0.008473, allocations: 107.3 kB / 0.989 GB, free: 10.85 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.008476, allocations: 0 / 0.989 GB, free: 10.85 MB / 0.948 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001507/0.008627, allocations: 153.2 kB / 0.9891 GB, free: 10.7 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.633e-05/0.008643, allocations: 8 kB / 0.9891 GB, free: 10.69 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.008649, allocations: 0 / 0.9891 GB, free: 10.69 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.564e-05/0.008665, allocations: 0 / 0.9891 GB, free: 10.69 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.677e-05/0.008761, allocations: 11.98 kB / 0.9891 GB, free: 10.68 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.915e-06/0.008769, allocations: 7.938 kB / 0.9891 GB, free: 10.67 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.06e-05/0.00884, allocations: 7.984 kB / 0.9891 GB, free: 10.66 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.063e-05/0.00885, allocations: 11.98 kB / 0.9892 GB, free: 10.65 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.0001229/0.008973, allocations: 173.9 kB / 0.9893 GB, free: 10.47 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.175e-05/0.009005, allocations: 35.8 kB / 0.9894 GB, free: 10.43 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002425/0.009248, allocations: 183.6 kB / 0.9895 GB, free: 10.25 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.009252, allocations: 7.938 kB / 0.9895 GB, free: 10.24 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.843e-06/0.009259, allocations: 3.938 kB / 0.9895 GB, free: 10.24 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.009263, allocations: 4 kB / 0.9895 GB, free: 10.23 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001686/0.009432, allocations: 225.1 kB / 0.9898 GB, free: 9.984 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.009433, allocations: 0 / 0.9898 GB, free: 9.984 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.599e-05/0.009489, allocations: 20.11 kB / 0.9898 GB, free: 9.965 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.137e-06/0.009494, allocations: 8 kB / 0.9898 GB, free: 9.957 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.596e-06/0.009502, allocations: 0 / 0.9898 GB, free: 9.957 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/0.009504, allocations: 4 kB / 0.9898 GB, free: 9.953 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.009507, allocations: 3.938 kB / 0.9898 GB, free: 9.949 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001642/0.009671, allocations: 191.4 kB / 0.99 GB, free: 9.734 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 8.801e-05/0.009759, allocations: 67.77 kB / 0.99 GB, free: 9.668 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.654e-05/0.009786, allocations: 0 / 0.99 GB, free: 9.668 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.015e-05/0.009856, allocations: 11.98 kB / 0.9901 GB, free: 9.656 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.234e-05/0.009878, allocations: 11.92 kB / 0.9901 GB, free: 9.645 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.839e-06/0.009883, allocations: 4 kB / 0.9901 GB, free: 9.641 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0002896/0.01017, allocations: 395 kB / 0.9904 GB, free: 9.258 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.01017, allocations: 0 / 0.9904 GB, free: 9.258 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001819/0.01035, allocations: 47.94 kB / 0.9905 GB, free: 9.211 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 9.397e-05/0.01045, allocations: 99.23 kB / 0.9906 GB, free: 9.105 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001482/0.0106, allocations: 79.88 kB / 0.9907 GB, free: 9.027 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.0106, allocations: 3.938 kB / 0.9907 GB, free: 9.023 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 4.346e-05/0.01064, allocations: 48.33 kB / 0.9907 GB, free: 8.977 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002877/0.01093, allocations: 65.75 kB / 0.9908 GB, free: 8.914 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007349/0.01166, allocations: 0.6052 MB / 0.9914 GB, free: 8.266 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001172/0.01178, allocations: 199.4 kB / 0.9916 GB, free: 8.051 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.56e-05/0.01185, allocations: 28.5 kB / 0.9916 GB, free: 8.023 MB / 0.948 GB Notification: Performance of SimCode: time 1.252e-06/0.01185, allocations: 0 / 0.9916 GB, free: 8.023 MB / 0.948 GB Notification: Performance of Templates: time 0.004326/0.01617, allocations: 3.856 MB / 0.9954 GB, free: 4.188 MB / 0.948 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.makefile [Timeout 300] (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 & ./Buildings_12_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.pipe 2>&1) [Timeout 400] 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: 7.0724503537639976]