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.001339/0.001339, allocations: 82.09 kB / 19.18 MB, free: 2.516 MB / 14.72 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.001529/0.001529, allocations: 160 kB / 22.46 MB, free: 5.375 MB / 14.72 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.426/1.426, allocations: 177.1 MB / 202.8 MB, free: 9.164 MB / 190.1 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.902/2.902, allocations: 377.8 MB / 0.6221 GB, free: 12.61 MB / 0.5919 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.824e-06/1.824e-06, allocations: 3.938 kB / 0.9814 GB, free: 12.04 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.522e-05/3.704e-05, allocations: 2.281 kB / 0.9814 GB, free: 12.04 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection): time 0.003393/0.00343, allocations: 1.574 MB / 0.9829 GB, free: 10.45 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.00196/0.00539, allocations: 0.8683 MB / 0.9838 GB, free: 9.578 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001145/0.005505, allocations: 0 / 0.9838 GB, free: 9.578 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0003214/0.005826, allocations: 51.62 kB / 0.9838 GB, free: 9.527 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0006198/0.006446, allocations: 151.1 kB / 0.984 GB, free: 9.379 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 5.147e-05/0.006497, allocations: 15.92 kB / 0.984 GB, free: 9.363 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0005281/0.007025, allocations: 390.1 kB / 0.9844 GB, free: 8.98 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 6.979e-05/0.007095, allocations: 16.92 kB / 0.9844 GB, free: 8.965 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004577/0.007553, allocations: 195.5 kB / 0.9846 GB, free: 8.773 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002971/0.00785, allocations: 123.7 kB / 0.9847 GB, free: 8.652 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 7.73e-05/0.007927, allocations: 16 kB / 0.9847 GB, free: 8.637 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 5.83e-05/0.007985, allocations: 16 kB / 0.9847 GB, free: 8.621 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001024/0.008088, allocations: 51.77 kB / 0.9848 GB, free: 8.57 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001595/0.008247, allocations: 83.72 kB / 0.9848 GB, free: 8.488 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0003732/0.008621, allocations: 283 kB / 0.9851 GB, free: 8.211 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 2.916e-06/0.008623, allocations: 0 / 0.9851 GB, free: 8.211 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.383e-06/0.008625, allocations: 0 / 0.9851 GB, free: 8.211 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 9.188e-06/0.008634, allocations: 0 / 0.9851 GB, free: 8.211 MB / 0.9356 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.001226/0.00986, allocations: 0.5548 MB / 0.9856 GB, free: 7.625 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 5.039e-05/0.00991, allocations: 16.02 kB / 0.9857 GB, free: 7.609 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.658e-05/0.009997, allocations: 36.7 kB / 0.9857 GB, free: 7.574 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005786/0.01058, allocations: 328 kB / 0.986 GB, free: 7.23 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.162e-05/0.01059, allocations: 4.359 kB / 0.986 GB, free: 7.227 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.658e-05/0.0106, allocations: 4.375 kB / 0.986 GB, free: 7.223 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001734/0.01078, allocations: 93.64 kB / 0.9861 GB, free: 7.113 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.275e-05/0.01079, allocations: 8.125 kB / 0.9861 GB, free: 7.105 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.277e-05/0.0108, allocations: 384 / 0.9861 GB, free: 7.105 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.307e-06/0.01081, allocations: 7.938 kB / 0.9861 GB, free: 7.098 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001151/0.01093, allocations: 71.86 kB / 0.9862 GB, free: 7.027 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005058/0.01143, allocations: 275.8 kB / 0.9865 GB, free: 6.719 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001483/0.01158, allocations: 102.4 kB / 0.9866 GB, free: 6.582 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001143/0.0117, allocations: 63.45 kB / 0.9866 GB, free: 6.508 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.078e-05/0.01172, allocations: 3.938 kB / 0.9866 GB, free: 6.504 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.298e-05/0.01175, allocations: 38.5 kB / 0.9867 GB, free: 6.457 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=4): time 9.92e-07/0.01175, allocations: 0 / 0.9867 GB, free: 6.457 MB / 0.9356 GB Notification: Performance of matching and sorting (n=4): time 0.0003789/0.01213, allocations: 177.8 kB / 0.9868 GB, free: 6.277 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001119/0.01224, allocations: 144.4 kB / 0.987 GB, free: 6.105 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007324/0.01297, allocations: 0.5171 MB / 0.9875 GB, free: 5.574 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.123e-05/0.01299, allocations: 25.7 kB / 0.9875 GB, free: 5.543 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001411/0.01314, allocations: 164.1 kB / 0.9876 GB, free: 5.379 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.392e-05/0.01317, allocations: 11.84 kB / 0.9877 GB, free: 5.367 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.825e-05/0.01322, allocations: 25.7 kB / 0.9877 GB, free: 5.336 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001785/0.0134, allocations: 338.8 kB / 0.988 GB, free: 4.996 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.495e-05/0.01346, allocations: 35.95 kB / 0.988 GB, free: 4.961 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.58e-05/0.01354, allocations: 59.39 kB / 0.9881 GB, free: 4.891 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001634/0.0137, allocations: 115.2 kB / 0.9882 GB, free: 4.766 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.0137, allocations: 0 / 0.9882 GB, free: 4.766 MB / 0.9356 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002408/0.01394, allocations: 145.3 kB / 0.9883 GB, free: 4.617 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.968e-05/0.01396, allocations: 8 kB / 0.9884 GB, free: 4.609 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.163e-06/0.01397, allocations: 0 / 0.9884 GB, free: 4.609 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.593e-05/0.01399, allocations: 3.938 kB / 0.9884 GB, free: 4.605 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001145/0.0141, allocations: 11.98 kB / 0.9884 GB, free: 4.594 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.208e-05/0.01411, allocations: 7.938 kB / 0.9884 GB, free: 4.586 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001468/0.01426, allocations: 16.09 kB / 0.9884 GB, free: 4.57 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.24e-05/0.01427, allocations: 4 kB / 0.9884 GB, free: 4.566 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.0001808/0.01445, allocations: 173.8 kB / 0.9886 GB, free: 4.387 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.58e-05/0.01451, allocations: 31.81 kB / 0.9886 GB, free: 4.355 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003658/0.01487, allocations: 183.6 kB / 0.9888 GB, free: 4.172 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.01488, allocations: 0 / 0.9888 GB, free: 4.172 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.542e-06/0.01488, allocations: 7.938 kB / 0.9888 GB, free: 4.164 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.01489, allocations: 128 / 0.9888 GB, free: 4.164 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000294/0.01518, allocations: 237.1 kB / 0.989 GB, free: 3.902 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.01518, allocations: 0 / 0.989 GB, free: 3.902 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.824e-05/0.01527, allocations: 15.98 kB / 0.989 GB, free: 3.887 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.353e-06/0.01528, allocations: 4 kB / 0.989 GB, free: 3.883 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.398e-05/0.01529, allocations: 4 kB / 0.989 GB, free: 3.879 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.679e-06/0.0153, allocations: 4 kB / 0.989 GB, free: 3.875 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.0153, allocations: 3.938 kB / 0.989 GB, free: 3.871 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002959/0.01559, allocations: 191.3 kB / 0.9892 GB, free: 3.656 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001444/0.01574, allocations: 59.78 kB / 0.9893 GB, free: 3.598 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.983e-05/0.01579, allocations: 4 kB / 0.9893 GB, free: 3.594 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001463/0.01593, allocations: 19.98 kB / 0.9893 GB, free: 3.574 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.107e-05/0.01597, allocations: 11.92 kB / 0.9893 GB, free: 3.562 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.402e-06/0.01597, allocations: 0 / 0.9893 GB, free: 3.562 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0006064/0.01658, allocations: 395 kB / 0.9897 GB, free: 3.18 MB / 0.9356 GB Notification: Performance of sort global known variables: time 8.1e-08/0.01658, allocations: 0 / 0.9897 GB, free: 3.18 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.00026/0.01684, allocations: 40 kB / 0.9897 GB, free: 3.141 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.0001596/0.017, allocations: 107.2 kB / 0.9898 GB, free: 3.027 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002089/0.01721, allocations: 91.84 kB / 0.9899 GB, free: 2.938 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.01721, allocations: 4.25 kB / 0.9899 GB, free: 2.934 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 7.441e-05/0.01728, allocations: 43.91 kB / 0.99 GB, free: 2.891 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003884/0.01767, allocations: 57.56 kB / 0.99 GB, free: 2.836 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001112/0.01878, allocations: 0.5906 MB / 0.9906 GB, free: 2.211 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002262/0.01901, allocations: 207.5 kB / 0.9908 GB, free: 1.988 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0001422/0.01915, allocations: 54.25 kB / 0.9908 GB, free: 1.938 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.268e-05/0.01925, allocations: 24.48 kB / 0.9909 GB, free: 1.914 MB / 0.9356 GB Notification: Performance of SimCode: time 3.11e-07/0.01925, allocations: 4 kB / 0.9909 GB, free: 1.91 MB / 0.9356 GB Notification: Performance of Templates: time 0.008827/0.02807, allocations: 3.828 MB / 0.9946 GB, free: 14.16 MB / 0.9512 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: 8.129510153084993]