Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.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.0007768/0.0007768, allocations: 76.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.0007795/0.0007795, allocations: 173.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.8643/0.8643, allocations: 177.1 MB / 203.5 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] 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 1.725/1.725, allocations: 389 MB / 0.6338 GB, free: 12.67 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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.ConductorSingleLayer2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.T.1.|con.T.2.|con.port_a.T|con.port_b.T|con1.port_a.T|con1.port_b.T|con2.port_a.T|con2.port_b.T|cheEqu.y",fileNamePrefix="Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer2") translateModel(Buildings.HeatTransfer.Examples.ConductorSingleLayer2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.T.1.|con.T.2.|con.port_a.T|con.port_b.T|con1.port_a.T|con1.port_b.T|con2.port_a.T|con2.port_b.T|cheEqu.y",fileNamePrefix="Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer2") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.142e-06/1.142e-06, allocations: 0 / 1.001 GB, free: 13.04 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.36e-05/1.474e-05, allocations: 6.281 kB / 1.001 GB, free: 13.03 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayer2): time 0.002999/0.003014, allocations: 3.468 MB / 1.004 GB, free: 9.547 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.00241/0.005424, allocations: 2.419 MB / 1.007 GB, free: 7.121 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001815/0.005606, allocations: 19.81 kB / 1.007 GB, free: 7.102 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0005113/0.006117, allocations: 250.3 kB / 1.007 GB, free: 6.855 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0006665/0.006784, allocations: 0.548 MB / 1.007 GB, free: 6.305 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006532/0.007437, allocations: 0.5648 MB / 1.008 GB, free: 5.738 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0008289/0.008266, allocations: 1.433 MB / 1.009 GB, free: 4.301 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001617/0.008427, allocations: 101.7 kB / 1.009 GB, free: 4.195 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005528/0.00898, allocations: 0.5963 MB / 1.01 GB, free: 3.598 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00036/0.00934, allocations: 426.8 kB / 1.01 GB, free: 3.18 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 6.289e-05/0.009403, allocations: 56 kB / 1.01 GB, free: 3.125 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001058/0.009509, allocations: 71.98 kB / 1.011 GB, free: 3.055 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 0.0002508/0.00976, allocations: 406.9 kB / 1.011 GB, free: 2.656 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 0.0001968/0.009957, allocations: 323.2 kB / 1.011 GB, free: 2.34 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0005993/0.01056, allocations: 0.9266 MB / 1.012 GB, free: 1.41 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.733e-06/0.01056, allocations: 4 kB / 1.012 GB, free: 1.406 MB / 0.9636 GB Notification: Performance of FrontEnd: time 7.81e-07/0.01056, allocations: 0 / 1.012 GB, free: 1.406 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 7.103e-06/0.01057, allocations: 0 / 1.012 GB, free: 1.406 MB / 0.9636 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 80 * Number of variables: 80 Notification: Performance of Generate backend data structure: time 0.001314/0.01188, allocations: 1.228 MB / 1.013 GB, free: 144 kB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.105e-05/0.01191, allocations: 8.031 kB / 1.013 GB, free: 136 kB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001765/0.01209, allocations: 108.3 kB / 1.013 GB, free: 28 kB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006584/0.01275, allocations: 0.6098 MB / 1.014 GB, free: 15.39 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.45e-05/0.01277, allocations: 37.03 kB / 1.014 GB, free: 15.36 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.704e-05/0.01283, allocations: 64.27 kB / 1.014 GB, free: 15.3 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000385/0.01321, allocations: 411.5 kB / 1.015 GB, free: 14.86 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.106e-05/0.01322, allocations: 4.188 kB / 1.015 GB, free: 14.86 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.079e-05/0.01324, allocations: 15.94 kB / 1.015 GB, free: 14.84 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.454e-06/0.01325, allocations: 8 kB / 1.015 GB, free: 14.83 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002606/0.01351, allocations: 238.4 kB / 1.015 GB, free: 14.6 MB / 0.9792 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001604/0.01512, allocations: 1.825 MB / 1.017 GB, free: 12.71 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007714/0.01589, allocations: 0.5181 MB / 1.017 GB, free: 12.18 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001479/0.01603, allocations: 148.7 kB / 1.017 GB, free: 12.04 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 1.475e-05/0.01605, allocations: 4 kB / 1.017 GB, free: 12.03 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.802e-05/0.01607, allocations: 38.56 kB / 1.017 GB, free: 11.98 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=30): time 1.372e-06/0.01607, allocations: 0 / 1.017 GB, free: 11.98 MB / 0.9792 GB Notification: Performance of matching and sorting (n=30): time 0.0008745/0.01694, allocations: 0.6608 MB / 1.018 GB, free: 11.31 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.068e-05/0.01697, allocations: 63.33 kB / 1.018 GB, free: 11.23 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007163/0.01769, allocations: 0.9269 MB / 1.019 GB, free: 10.29 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 2.799e-05/0.01772, allocations: 41.7 kB / 1.019 GB, free: 10.25 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001805/0.0179, allocations: 373.2 kB / 1.019 GB, free: 9.879 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 6.782e-05/0.01797, allocations: 115 kB / 1.019 GB, free: 9.766 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001226/0.01809, allocations: 174.5 kB / 1.02 GB, free: 9.59 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0001125/0.0182, allocations: 394.8 kB / 1.02 GB, free: 9.195 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002492/0.01845, allocations: 241.8 kB / 1.02 GB, free: 8.961 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004007/0.01885, allocations: 0.6431 MB / 1.021 GB, free: 8.129 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000643/0.01949, allocations: 0.8877 MB / 1.022 GB, free: 7.047 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.4e-06/0.0195, allocations: 4 kB / 1.022 GB, free: 7.043 MB / 0.9792 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.0009557/0.02046, allocations: 1.016 MB / 1.023 GB, free: 6.012 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.546e-05/0.02047, allocations: 12 kB / 1.023 GB, free: 6 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.117e-05/0.02048, allocations: 23.98 kB / 1.023 GB, free: 5.977 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002283/0.02071, allocations: 118.5 kB / 1.023 GB, free: 5.852 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003209/0.02103, allocations: 195.6 kB / 1.023 GB, free: 5.66 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001961/0.02299, allocations: 4.095 MB / 1.027 GB, free: 1.254 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004244/0.02342, allocations: 115.2 kB / 1.027 GB, free: 1.141 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.25e-05/0.02345, allocations: 44 kB / 1.027 GB, free: 1.098 MB / 0.9792 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 63 * 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 (93): * Single equations (assignments): 90 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,3,100.0%), (1,3,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001953/0.02364, allocations: 269.4 kB / 1.027 GB, free: 0.8242 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.014e-05/0.02372, allocations: 83.44 kB / 1.027 GB, free: 0.7422 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.986e-05/0.02377, allocations: 76.42 kB / 1.028 GB, free: 0.6602 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.447e-06/0.02378, allocations: 7.938 kB / 1.028 GB, free: 0.6523 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.02378, allocations: 8.062 kB / 1.028 GB, free: 0.6445 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.02379, allocations: 3.984 kB / 1.028 GB, free: 0.6406 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003624/0.02415, allocations: 468.9 kB / 1.028 GB, free: 156 kB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.02415, allocations: 0 / 1.028 GB, free: 156 kB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001584/0.02431, allocations: 59.94 kB / 1.028 GB, free: 96 kB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001703/0.02448, allocations: 106.5 kB / 1.028 GB, free: 15.98 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.699e-05/0.0245, allocations: 7.938 kB / 1.028 GB, free: 15.97 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001893/0.02639, allocations: 4.071 MB / 1.032 GB, free: 11.59 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.02639, allocations: 0 / 1.032 GB, free: 11.59 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006452/0.02704, allocations: 0.7414 MB / 1.033 GB, free: 10.83 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000177/0.02721, allocations: 135.2 kB / 1.033 GB, free: 10.7 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.814e-05/0.02726, allocations: 11.98 kB / 1.033 GB, free: 10.68 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002372/0.0275, allocations: 24.03 kB / 1.033 GB, free: 10.66 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.615e-05/0.02754, allocations: 31.89 kB / 1.033 GB, free: 10.63 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.726e-06/0.02755, allocations: 7.938 kB / 1.033 GB, free: 10.62 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0005055/0.02806, allocations: 0.6239 MB / 1.034 GB, free: 10 MB / 0.9948 GB Notification: Performance of sort global known variables: time 8e-08/0.02806, allocations: 0 / 1.034 GB, free: 10 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0004823/0.02854, allocations: 271.8 kB / 1.034 GB, free: 9.738 MB / 0.9948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (con.T[1],con.T[2],con.T[3],con.T[4],con1.T[1],con1.T[2],con2.T[1],con2.T[2]) * 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 (23): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,3,100.0%), (1,3,100.0%), (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 8.868e-05/0.02863, allocations: 111.2 kB / 1.034 GB, free: 9.621 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.0007732/0.0294, allocations: 0.8971 MB / 1.035 GB, free: 8.688 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.02941, allocations: 4 kB / 1.035 GB, free: 8.684 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003023/0.02971, allocations: 0.508 MB / 1.035 GB, free: 8.137 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005062/0.03021, allocations: 166.3 kB / 1.036 GB, free: 7.977 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001527/0.03174, allocations: 1.61 MB / 1.037 GB, free: 6.332 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002408/0.03198, allocations: 396.4 kB / 1.038 GB, free: 5.918 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001115/0.03209, allocations: 48.5 kB / 1.038 GB, free: 5.867 MB / 0.9948 GB Notification: Performance of SimCode: time 4.81e-07/0.03209, allocations: 0 / 1.038 GB, free: 5.867 MB / 0.9948 GB Notification: Performance of Templates: time 0.01202/0.04412, allocations: 18.08 MB / 1.055 GB, free: 3.816 MB / 1.01 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.sim & ./Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer2 -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer2_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Examples_ConductorSingleLayer2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.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.563388022594154]