Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.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.001802/0.001802, allocations: 85.48 kB / 19.44 MB, free: 340 kB / 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.003484/0.003484, allocations: 173.2 kB / 22.76 MB, free: 1.656 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.604/1.604, allocations: 177.1 MB / 203.1 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.405/3.405, allocations: 429.5 MB / 0.6729 GB, free: 3.996 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.HeatTransfer.Examples.ConductorMultiLayer2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.T.1.|con.T.2.|con.port_a.T|con.port_b.T|con.T.3.|con.T.4.|con.T.5.",fileNamePrefix="Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer2") translateModel(Buildings.HeatTransfer.Examples.ConductorMultiLayer2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.T.1.|con.T.2.|con.port_a.T|con.port_b.T|con.T.3.|con.T.4.|con.T.5.",fileNamePrefix="Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer2") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.323e-06/1.323e-06, allocations: 0.875 kB / 0.8774 GB, free: 5.531 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.697e-05/2.829e-05, allocations: 2.312 kB / 0.8774 GB, free: 5.527 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorMultiLayer2): time 0.004955/0.004983, allocations: 2.755 MB / 0.8801 GB, free: 2.781 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.005291/0.01027, allocations: 2.791 MB / 0.8828 GB, free: 15.99 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003357/0.01061, allocations: 16.41 kB / 0.8828 GB, free: 15.98 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.001583/0.01219, allocations: 488.1 kB / 0.8833 GB, free: 15.5 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0007713/0.01296, allocations: 309.7 kB / 0.8836 GB, free: 15.2 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.00116/0.01412, allocations: 422.7 kB / 0.884 GB, free: 14.79 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.002199/0.01632, allocations: 1.54 MB / 0.8855 GB, free: 13.24 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002224/0.01655, allocations: 66.44 kB / 0.8856 GB, free: 13.17 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00109/0.01764, allocations: 0.6005 MB / 0.8862 GB, free: 12.57 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007659/0.0184, allocations: 411 kB / 0.8865 GB, free: 12.17 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 0.0001343/0.01854, allocations: 48 kB / 0.8866 GB, free: 12.12 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002051/0.01874, allocations: 55.94 kB / 0.8866 GB, free: 12.07 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 0.0004077/0.01915, allocations: 303.2 kB / 0.8869 GB, free: 11.77 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.0004129/0.01956, allocations: 255.4 kB / 0.8872 GB, free: 11.52 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.001238/0.0208, allocations: 0.9153 MB / 0.8881 GB, free: 10.6 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.0208, allocations: 0 / 0.8881 GB, free: 10.6 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.443e-06/0.02081, allocations: 0 / 0.8881 GB, free: 10.6 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.278e-05/0.02082, allocations: 0 / 0.8881 GB, free: 10.6 MB / 0.8073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.002698/0.02352, allocations: 1.266 MB / 0.8893 GB, free: 9.297 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.561e-05/0.02356, allocations: 8.031 kB / 0.8893 GB, free: 9.289 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002889/0.02385, allocations: 104.5 kB / 0.8894 GB, free: 9.188 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00122/0.02507, allocations: 0.5895 MB / 0.89 GB, free: 8.57 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.415e-05/0.02511, allocations: 24.88 kB / 0.89 GB, free: 8.543 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.999e-05/0.02519, allocations: 44.36 kB / 0.8901 GB, free: 8.5 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005412/0.02573, allocations: 287.7 kB / 0.8903 GB, free: 8.191 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.496e-05/0.02574, allocations: 4.125 kB / 0.8903 GB, free: 8.188 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.407e-05/0.02578, allocations: 16.11 kB / 0.8904 GB, free: 8.172 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.525e-06/0.02578, allocations: 12 kB / 0.8904 GB, free: 8.16 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002952/0.02608, allocations: 117.9 kB / 0.8905 GB, free: 8.047 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003281/0.02936, allocations: 1.966 MB / 0.8924 GB, free: 6.016 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009522/0.03031, allocations: 271.1 kB / 0.8927 GB, free: 5.738 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001691/0.03048, allocations: 63.66 kB / 0.8927 GB, free: 5.672 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 2.308e-05/0.0305, allocations: 4 kB / 0.8927 GB, free: 5.668 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.749e-05/0.03054, allocations: 41.39 kB / 0.8928 GB, free: 5.617 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=18): time 1.102e-06/0.03054, allocations: 0 / 0.8928 GB, free: 5.617 MB / 0.8073 GB Notification: Performance of matching and sorting (n=18): time 0.000858/0.0314, allocations: 291 kB / 0.893 GB, free: 5.324 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.22e-05/0.03145, allocations: 55.41 kB / 0.8931 GB, free: 5.258 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001613/0.03307, allocations: 1.042 MB / 0.8941 GB, free: 4.199 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 4.163e-05/0.03311, allocations: 33.7 kB / 0.8941 GB, free: 4.16 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005918/0.0337, allocations: 423.5 kB / 0.8945 GB, free: 3.742 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001957/0.0339, allocations: 87.38 kB / 0.8946 GB, free: 3.656 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003949/0.03429, allocations: 160 kB / 0.8948 GB, free: 3.492 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0006559/0.03495, allocations: 0.625 MB / 0.8954 GB, free: 2.855 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003557/0.0353, allocations: 89.23 kB / 0.8955 GB, free: 2.77 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001028/0.03633, allocations: 0.5012 MB / 0.896 GB, free: 2.09 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001252/0.03758, allocations: 0.6132 MB / 0.8966 GB, free: 1.301 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.114e-06/0.03759, allocations: 0 / 0.8966 GB, free: 1.301 MB / 0.8073 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001733/0.03932, allocations: 0.5463 MB / 0.8971 GB, free: 0.7461 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 3.226e-05/0.03935, allocations: 12 kB / 0.8971 GB, free: 0.7344 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.778e-05/0.03937, allocations: 8 kB / 0.8971 GB, free: 0.7266 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000411/0.03978, allocations: 56.23 kB / 0.8972 GB, free: 0.668 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007461/0.04053, allocations: 135.8 kB / 0.8973 GB, free: 0.5352 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002269/0.0428, allocations: 1.81 MB / 0.8991 GB, free: 14.6 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001301/0.0441, allocations: 123.4 kB / 0.8992 GB, free: 14.48 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.707e-05/0.04418, allocations: 28.12 kB / 0.8992 GB, free: 14.45 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * 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 (63): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005677/0.04474, allocations: 288.2 kB / 0.8995 GB, free: 14.16 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002201/0.04496, allocations: 71.58 kB / 0.8996 GB, free: 14.09 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001809/0.04515, allocations: 57.86 kB / 0.8996 GB, free: 14.03 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.04515, allocations: 0 / 0.8996 GB, free: 14.03 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.541e-06/0.04515, allocations: 0 / 0.8996 GB, free: 14.03 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.396e-06/0.04516, allocations: 3.938 kB / 0.8996 GB, free: 14.02 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0013/0.04646, allocations: 0.5433 MB / 0.9001 GB, free: 13.45 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.04647, allocations: 0 / 0.9001 GB, free: 13.45 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000405/0.04687, allocations: 55.95 kB / 0.9002 GB, free: 13.39 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003432/0.04721, allocations: 39.58 kB / 0.9002 GB, free: 13.35 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.044e-05/0.04725, allocations: 8 kB / 0.9002 GB, free: 13.34 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002018/0.04927, allocations: 1.783 MB / 0.902 GB, free: 11.43 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.04927, allocations: 0 / 0.902 GB, free: 11.43 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001021/0.05029, allocations: 450.7 kB / 0.9024 GB, free: 10.96 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007211/0.05102, allocations: 119.5 kB / 0.9025 GB, free: 10.85 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001139/0.05113, allocations: 8 kB / 0.9025 GB, free: 10.84 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005995/0.05173, allocations: 39.92 kB / 0.9026 GB, free: 10.8 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.944e-05/0.05182, allocations: 15.97 kB / 0.9026 GB, free: 10.79 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.919e-05/0.05185, allocations: 4 kB / 0.9026 GB, free: 10.78 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.001443/0.05329, allocations: 0.6356 MB / 0.9032 GB, free: 10.15 MB / 0.823 GB Notification: Performance of sort global known variables: time 2.2e-07/0.05329, allocations: 4.031 kB / 0.9032 GB, free: 10.15 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.001166/0.05446, allocations: 183.9 kB / 0.9034 GB, free: 9.969 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (con.lay[1].T[1],con.lay[1].T[2],con.lay[2].T[1],con.lay[2].T[2],con.lay[2].T[3]) * 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 (17): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002126/0.05467, allocations: 107.2 kB / 0.9035 GB, free: 9.855 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.001315/0.05598, allocations: 472.9 kB / 0.9039 GB, free: 9.379 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.05599, allocations: 0 / 0.9039 GB, free: 9.379 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0005018/0.05649, allocations: 263.1 kB / 0.9042 GB, free: 9.102 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001317/0.05781, allocations: 175.8 kB / 0.9044 GB, free: 8.93 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003358/0.06116, allocations: 1.216 MB / 0.9055 GB, free: 7.676 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007392/0.0619, allocations: 372.7 kB / 0.9059 GB, free: 7.285 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.0007168/0.06262, allocations: 140.5 kB / 0.906 GB, free: 7.148 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002192/0.06284, allocations: 40.48 kB / 0.9061 GB, free: 7.109 MB / 0.823 GB Notification: Performance of SimCode: time 1.843e-06/0.06284, allocations: 3.938 kB / 0.9061 GB, free: 7.105 MB / 0.823 GB Notification: Performance of Templates: time 0.03307/0.09591, allocations: 8.732 MB / 0.9146 GB, free: 14.57 MB / 0.8386 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.sim & ./Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer2_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Examples_ConductorMultiLayer2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.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.75171032093931]