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.001432/0.001432, allocations: 80.41 kB / 20.23 MB, free: 4.195 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.001579/0.001579, allocations: 161.7 kB / 23.55 MB, free: 0.8867 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 1.467/1.467, allocations: 177.1 MB / 203.9 MB, free: 5.586 MB / 186.7 MB " [Timeout remaining time 178] 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 2.838/2.838, allocations: 377.8 MB / 0.6232 GB, free: 8.555 MB / 0.5886 GB " [Timeout remaining time 176] 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.573e-06/1.573e-06, allocations: 0 / 0.8108 GB, free: 2.137 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.682e-05/2.839e-05, allocations: 6.906 kB / 0.8108 GB, free: 2.129 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection): time 0.002907/0.002936, allocations: 1.582 MB / 0.8123 GB, free: 0.5586 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001691/0.004627, allocations: 0.872 MB / 0.8132 GB, free: 15.68 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.553e-05/0.004702, allocations: 4.688 kB / 0.8132 GB, free: 15.68 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0002551/0.004957, allocations: 55.61 kB / 0.8132 GB, free: 15.62 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0005172/0.005474, allocations: 148.8 kB / 0.8134 GB, free: 15.48 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 4.416e-05/0.005518, allocations: 11.92 kB / 0.8134 GB, free: 15.47 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0005136/0.006032, allocations: 390.7 kB / 0.8137 GB, free: 15.09 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 5.867e-05/0.006091, allocations: 16.92 kB / 0.8138 GB, free: 15.07 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003975/0.006488, allocations: 197.4 kB / 0.814 GB, free: 14.88 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002453/0.006734, allocations: 127.7 kB / 0.8141 GB, free: 14.76 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 4.473e-05/0.006778, allocations: 16 kB / 0.8141 GB, free: 14.74 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 4.582e-05/0.006824, allocations: 18.06 kB / 0.8141 GB, free: 14.73 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 8.198e-05/0.006906, allocations: 51.72 kB / 0.8142 GB, free: 14.68 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0001382/0.007044, allocations: 75.78 kB / 0.8142 GB, free: 14.6 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0003566/0.007401, allocations: 275.1 kB / 0.8145 GB, free: 14.33 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.417e-06/0.007404, allocations: 0 / 0.8145 GB, free: 14.33 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.122e-06/0.007405, allocations: 0 / 0.8145 GB, free: 14.33 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 5.771e-06/0.007411, allocations: 0.9062 kB / 0.8145 GB, free: 14.33 MB / 0.7761 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.001203/0.008614, allocations: 0.5618 MB / 0.815 GB, free: 13.74 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.455e-05/0.008649, allocations: 8.031 kB / 0.815 GB, free: 13.73 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.386e-05/0.008743, allocations: 36.7 kB / 0.8151 GB, free: 13.7 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005808/0.009324, allocations: 345.6 kB / 0.8154 GB, free: 13.34 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.007e-06/0.009333, allocations: 384 / 0.8154 GB, free: 13.34 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.494e-05/0.009347, allocations: 4.375 kB / 0.8154 GB, free: 13.34 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001789/0.009526, allocations: 97.62 kB / 0.8155 GB, free: 13.22 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.012e-05/0.009537, allocations: 5.125 kB / 0.8155 GB, free: 13.22 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.129e-05/0.009548, allocations: 384 / 0.8155 GB, free: 13.22 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.997e-06/0.009557, allocations: 7.938 kB / 0.8155 GB, free: 13.21 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001179/0.009675, allocations: 69.52 kB / 0.8156 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004158/0.01009, allocations: 271.8 kB / 0.8158 GB, free: 12.84 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002223/0.01031, allocations: 102.4 kB / 0.8159 GB, free: 12.7 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001018/0.01041, allocations: 63.98 kB / 0.816 GB, free: 12.63 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.646e-05/0.01043, allocations: 0.6875 kB / 0.816 GB, free: 12.63 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.388e-05/0.01046, allocations: 38.5 kB / 0.816 GB, free: 12.58 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=4): time 9.82e-07/0.01047, allocations: 0.5312 kB / 0.816 GB, free: 12.58 MB / 0.7761 GB Notification: Performance of matching and sorting (n=4): time 0.0004146/0.01088, allocations: 187 kB / 0.8162 GB, free: 12.39 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.576e-05/0.01098, allocations: 136.4 kB / 0.8164 GB, free: 12.23 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007203/0.0117, allocations: 0.5137 MB / 0.8169 GB, free: 11.71 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.172e-05/0.01172, allocations: 27.08 kB / 0.8169 GB, free: 11.68 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001657/0.01188, allocations: 164.1 kB / 0.817 GB, free: 11.52 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 3.897e-05/0.01192, allocations: 19.83 kB / 0.8171 GB, free: 11.5 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.324e-05/0.01198, allocations: 25.66 kB / 0.8171 GB, free: 11.46 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001955/0.01217, allocations: 340.1 kB / 0.8174 GB, free: 11.12 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.024e-05/0.01224, allocations: 39.95 kB / 0.8174 GB, free: 11.09 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.224e-05/0.01232, allocations: 55.41 kB / 0.8175 GB, free: 11.02 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001734/0.0125, allocations: 105.5 kB / 0.8176 GB, free: 10.91 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.0125, allocations: 0 / 0.8176 GB, free: 10.91 MB / 0.7761 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002557/0.01276, allocations: 150.2 kB / 0.8177 GB, free: 10.75 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.464e-05/0.01277, allocations: 5.344 kB / 0.8177 GB, free: 10.75 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.193e-06/0.01278, allocations: 4 kB / 0.8177 GB, free: 10.75 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.857e-05/0.0128, allocations: 0 / 0.8177 GB, free: 10.75 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001159/0.01291, allocations: 15.98 kB / 0.8178 GB, free: 10.73 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.644e-06/0.01292, allocations: 4.594 kB / 0.8178 GB, free: 10.73 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001516/0.01307, allocations: 12.52 kB / 0.8178 GB, free: 10.71 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.233e-05/0.01308, allocations: 3.984 kB / 0.8178 GB, free: 10.71 MB / 0.7761 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.0001859/0.01327, allocations: 183.6 kB / 0.818 GB, free: 10.52 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.551e-05/0.01333, allocations: 35.89 kB / 0.818 GB, free: 10.49 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003735/0.01371, allocations: 188.5 kB / 0.8182 GB, free: 10.3 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.875e-06/0.01371, allocations: 0 / 0.8182 GB, free: 10.3 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.558e-06/0.01372, allocations: 11.38 kB / 0.8182 GB, free: 10.29 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.01372, allocations: 0 / 0.8182 GB, free: 10.29 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002936/0.01402, allocations: 225.1 kB / 0.8184 GB, free: 10.04 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.01402, allocations: 0 / 0.8184 GB, free: 10.04 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.99e-05/0.01412, allocations: 19.98 kB / 0.8184 GB, free: 10.02 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.001e-06/0.01412, allocations: 4 kB / 0.8184 GB, free: 10.02 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.428e-06/0.01413, allocations: 0 / 0.8184 GB, free: 10.02 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.178e-06/0.01414, allocations: 3.938 kB / 0.8184 GB, free: 10.01 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/0.01414, allocations: 4 kB / 0.8184 GB, free: 10.01 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002974/0.01444, allocations: 192 kB / 0.8186 GB, free: 9.793 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001474/0.01459, allocations: 64.27 kB / 0.8187 GB, free: 9.73 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.066e-05/0.01464, allocations: 7.953 kB / 0.8187 GB, free: 9.723 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001614/0.0148, allocations: 8.859 kB / 0.8187 GB, free: 9.715 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.444e-05/0.01483, allocations: 19.86 kB / 0.8187 GB, free: 9.695 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.986e-06/0.01484, allocations: 5.094 kB / 0.8187 GB, free: 9.691 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0005419/0.01538, allocations: 391 kB / 0.8191 GB, free: 9.309 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7e-08/0.01538, allocations: 0 / 0.8191 GB, free: 9.309 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002844/0.01567, allocations: 40.66 kB / 0.8191 GB, free: 9.27 MB / 0.7761 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.0001146/0.01578, allocations: 101.1 kB / 0.8192 GB, free: 9.164 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001911/0.01597, allocations: 79.88 kB / 0.8193 GB, free: 9.086 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.01598, allocations: 0 / 0.8193 GB, free: 9.086 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 8.369e-05/0.01606, allocations: 55.23 kB / 0.8193 GB, free: 9.035 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004016/0.01646, allocations: 70.48 kB / 0.8194 GB, free: 8.969 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001176/0.01764, allocations: 0.5844 MB / 0.82 GB, free: 8.348 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002346/0.01787, allocations: 210.3 kB / 0.8202 GB, free: 8.125 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0001573/0.01803, allocations: 56.41 kB / 0.8202 GB, free: 8.074 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.705e-05/0.01813, allocations: 25.3 kB / 0.8203 GB, free: 8.051 MB / 0.7761 GB Notification: Performance of SimCode: time 5.31e-07/0.01813, allocations: 0 / 0.8203 GB, free: 8.051 MB / 0.7761 GB Notification: Performance of Templates: time 0.008851/0.02698, allocations: 3.858 MB / 0.824 GB, free: 4.297 MB / 0.7761 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.695337263983674]