Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.001951/0.001951, allocations: 110 kB / 18.93 MB, free: 2.945 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.002692/0.002692, allocations: 191.9 kB / 22.23 MB, free: 5.16 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.432/1.432, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.578/2.578, allocations: 443.4 MB / 0.7321 GB, free: 12.26 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.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: 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_10_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_10_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002009/0.002009, allocations: 67.83 kB / 1.061 GB, free: 2.98 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7968/0.7989, allocations: 160.8 MB / 1.218 GB, free: 3.727 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection): time 0.002915/0.8018, allocations: 1.602 MB / 1.22 GB, free: 2.469 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001556/0.8033, allocations: 0.9216 MB / 1.221 GB, free: 1.734 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.294e-05/0.8034, allocations: 2.875 kB / 1.221 GB, free: 1.734 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0002786/0.8037, allocations: 68.55 kB / 1.221 GB, free: 1.684 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0005/0.8042, allocations: 145.6 kB / 1.221 GB, free: 1.578 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 3.153e-05/0.8042, allocations: 2.156 kB / 1.221 GB, free: 1.578 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0005047/0.8047, allocations: 374.3 kB / 1.221 GB, free: 1.352 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 6.234e-05/0.8048, allocations: 17.12 kB / 1.221 GB, free: 1.344 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002559/0.805, allocations: 147.7 kB / 1.222 GB, free: 1.266 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002269/0.8053, allocations: 141.3 kB / 1.222 GB, free: 1.176 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 4.305e-05/0.8053, allocations: 19.66 kB / 1.222 GB, free: 1.172 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 5.228e-05/0.8054, allocations: 14.72 kB / 1.222 GB, free: 1.172 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 9.07e-05/0.8055, allocations: 47.91 kB / 1.222 GB, free: 1.133 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0001706/0.8056, allocations: 130.8 kB / 1.222 GB, free: 1.047 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0003802/0.806, allocations: 286.9 kB / 1.222 GB, free: 0.875 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.806, allocations: 0 / 1.222 GB, free: 0.875 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.503e-06/0.806, allocations: 1.062 kB / 1.222 GB, free: 0.875 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.443e-06/0.806, allocations: 0 / 1.222 GB, free: 0.875 MB / 0.92 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.001285/0.8073, allocations: 0.6373 MB / 1.223 GB, free: 312 kB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.408e-05/0.8073, allocations: 9.062 kB / 1.223 GB, free: 312 kB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.318e-05/0.8074, allocations: 38.45 kB / 1.223 GB, free: 288 kB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006647/0.8081, allocations: 399.9 kB / 1.223 GB, free: 15.94 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.025e-05/0.8081, allocations: 5.375 kB / 1.223 GB, free: 15.93 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.32e-05/0.8081, allocations: 2.562 kB / 1.223 GB, free: 15.93 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001877/0.8083, allocations: 102.4 kB / 1.223 GB, free: 15.84 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.518e-06/0.8083, allocations: 0 / 1.223 GB, free: 15.84 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.353e-05/0.8083, allocations: 0.7812 kB / 1.223 GB, free: 15.84 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.282e-06/0.8083, allocations: 0.875 kB / 1.223 GB, free: 15.84 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001104/0.8084, allocations: 72.52 kB / 1.223 GB, free: 15.8 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004489/0.8089, allocations: 353.3 kB / 1.224 GB, free: 15.46 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001389/0.809, allocations: 115.4 kB / 1.224 GB, free: 15.34 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.09e-05/0.8091, allocations: 59.55 kB / 1.224 GB, free: 15.29 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.033e-05/0.8091, allocations: 5.109 kB / 1.224 GB, free: 15.28 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.486e-05/0.8092, allocations: 36.47 kB / 1.224 GB, free: 15.24 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=4): time 9.91e-07/0.8092, allocations: 0 / 1.224 GB, free: 15.24 MB / 0.9356 GB Notification: Performance of matching and sorting (n=4): time 0.0003663/0.8095, allocations: 189.8 kB / 1.224 GB, free: 15.12 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.962e-05/0.8096, allocations: 133.6 kB / 1.224 GB, free: 14.96 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006514/0.8103, allocations: 0.5132 MB / 1.225 GB, free: 14.65 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.448e-05/0.8103, allocations: 26.8 kB / 1.225 GB, free: 14.62 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.000131/0.8104, allocations: 162.9 kB / 1.225 GB, free: 14.47 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.069e-05/0.8105, allocations: 13.86 kB / 1.225 GB, free: 14.46 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.643e-05/0.8105, allocations: 19.72 kB / 1.225 GB, free: 14.44 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001646/0.8107, allocations: 348.2 kB / 1.225 GB, free: 14.1 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.771e-05/0.8107, allocations: 33.84 kB / 1.225 GB, free: 14.09 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.828e-05/0.8108, allocations: 58.17 kB / 1.225 GB, free: 14.04 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001546/0.811, allocations: 108.5 kB / 1.226 GB, free: 13.96 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.811, allocations: 0 / 1.226 GB, free: 13.96 MB / 0.9356 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002248/0.8112, allocations: 146.8 kB / 1.226 GB, free: 13.86 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.863e-05/0.8112, allocations: 9.844 kB / 1.226 GB, free: 13.86 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.8112, allocations: 1.062 kB / 1.226 GB, free: 13.86 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.737e-05/0.8113, allocations: 1.281 kB / 1.226 GB, free: 13.86 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001248/0.8114, allocations: 16.39 kB / 1.226 GB, free: 13.85 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.626e-06/0.8114, allocations: 3.938 kB / 1.226 GB, free: 13.85 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001564/0.8115, allocations: 18.05 kB / 1.226 GB, free: 13.84 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.338e-05/0.8116, allocations: 6.25 kB / 1.226 GB, free: 13.83 MB / 0.9356 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.00017/0.8117, allocations: 179.1 kB / 1.226 GB, free: 13.68 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.2e-05/0.8118, allocations: 34.53 kB / 1.226 GB, free: 13.66 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003275/0.8121, allocations: 187.5 kB / 1.226 GB, free: 13.55 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.769e-06/0.8121, allocations: 2.844 kB / 1.226 GB, free: 13.55 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.504e-06/0.8121, allocations: 9.766 kB / 1.226 GB, free: 13.54 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.506e-06/0.8121, allocations: 0 / 1.226 GB, free: 13.54 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003254/0.8125, allocations: 299.1 kB / 1.226 GB, free: 13.26 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.8125, allocations: 1.406 kB / 1.226 GB, free: 13.26 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.975e-05/0.8125, allocations: 15.73 kB / 1.226 GB, free: 13.25 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.54e-06/0.8125, allocations: 5.094 kB / 1.226 GB, free: 13.25 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.042e-05/0.8126, allocations: 1.406 kB / 1.226 GB, free: 13.25 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.335e-06/0.8126, allocations: 1.25 kB / 1.226 GB, free: 13.25 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.494e-06/0.8126, allocations: 2.281 kB / 1.226 GB, free: 13.25 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002593/0.8128, allocations: 206.1 kB / 1.227 GB, free: 13.08 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001851/0.813, allocations: 147.6 kB / 1.227 GB, free: 12.94 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.25e-05/0.8131, allocations: 2.5 kB / 1.227 GB, free: 12.94 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001429/0.8132, allocations: 9.422 kB / 1.227 GB, free: 12.94 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.805e-05/0.8132, allocations: 11.7 kB / 1.227 GB, free: 12.93 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.047e-05/0.8132, allocations: 6.219 kB / 1.227 GB, free: 12.93 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0004943/0.8137, allocations: 394.5 kB / 1.227 GB, free: 12.7 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8137, allocations: 0 / 1.227 GB, free: 12.7 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002556/0.814, allocations: 37.59 kB / 1.227 GB, free: 12.7 MB / 0.9356 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.0001095/0.8141, allocations: 107.9 kB / 1.227 GB, free: 12.6 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0001838/0.8143, allocations: 88.2 kB / 1.227 GB, free: 12.56 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.093e-06/0.8143, allocations: 256 / 1.227 GB, free: 12.56 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 6.669e-05/0.8143, allocations: 48.97 kB / 1.227 GB, free: 12.54 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004199/0.8148, allocations: 74.95 kB / 1.228 GB, free: 12.5 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001021/0.8158, allocations: 0.5929 MB / 1.228 GB, free: 12.1 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004355/0.8162, allocations: 0.8154 MB / 1.229 GB, free: 11.34 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0001271/0.8163, allocations: 56.09 kB / 1.229 GB, free: 11.32 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.253e-05/0.8164, allocations: 20.91 kB / 1.229 GB, free: 11.32 MB / 0.9356 GB Notification: Performance of SimCode: time 3e-07/0.8164, allocations: 0 / 1.229 GB, free: 11.32 MB / 0.9356 GB Notification: Performance of Templates: time 0.007954/0.8244, allocations: 3.656 MB / 1.233 GB, free: 8.34 MB / 0.9356 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.makefile [Timeout 300] (rm -f Buildings_10_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.sim & ./Buildings_10_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedConvection.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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: 8.394071911461651]