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.002529/0.002529, allocations: 93.47 kB / 19.44 MB, free: 336 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.003061/0.003061, allocations: 169.2 kB / 22.76 MB, free: 1.664 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.589/1.589, allocations: 177.1 MB / 203.1 MB, free: 5.621 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.482/3.482, allocations: 429.5 MB / 0.6729 GB, free: 4.031 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.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.423e-06/1.423e-06, allocations: 0 / 0.8774 GB, free: 6.691 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.872e-05/3.015e-05, allocations: 2.312 kB / 0.8774 GB, free: 6.688 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayer2): time 0.005949/0.005979, allocations: 3.743 MB / 0.8811 GB, free: 2.945 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.005317/0.0113, allocations: 2.506 MB / 0.8835 GB, free: 456 kB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003909/0.01169, allocations: 23.81 kB / 0.8835 GB, free: 432 kB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0008077/0.01249, allocations: 242.3 kB / 0.8838 GB, free: 188 kB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.001309/0.0138, allocations: 0.5479 MB / 0.8843 GB, free: 15.63 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.001551/0.01535, allocations: 0.5649 MB / 0.8849 GB, free: 15.07 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.001925/0.01728, allocations: 1.437 MB / 0.8863 GB, free: 13.62 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002648/0.01754, allocations: 105.6 kB / 0.8864 GB, free: 13.52 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001054/0.0186, allocations: 0.5924 MB / 0.8869 GB, free: 12.93 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007608/0.01936, allocations: 430.8 kB / 0.8873 GB, free: 12.5 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 0.000123/0.01948, allocations: 56 kB / 0.8874 GB, free: 12.45 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002278/0.01971, allocations: 67.92 kB / 0.8875 GB, free: 12.38 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.000544/0.02025, allocations: 410.9 kB / 0.8879 GB, free: 11.98 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0004591/0.02071, allocations: 327.2 kB / 0.8882 GB, free: 11.66 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.001216/0.02193, allocations: 0.9344 MB / 0.8891 GB, free: 10.72 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.02193, allocations: 0 / 0.8891 GB, free: 10.72 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.172e-06/0.02193, allocations: 0 / 0.8891 GB, free: 10.72 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 1.157e-05/0.02195, allocations: 0 / 0.8891 GB, free: 10.72 MB / 0.8542 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.00297/0.02492, allocations: 1.386 MB / 0.8904 GB, free: 9.297 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.84e-05/0.02495, allocations: 8.031 kB / 0.8904 GB, free: 9.289 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003487/0.0253, allocations: 140.3 kB / 0.8906 GB, free: 9.152 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001233/0.02653, allocations: 0.6126 MB / 0.8912 GB, free: 8.508 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.655e-05/0.02658, allocations: 44.97 kB / 0.8912 GB, free: 8.465 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001069/0.02669, allocations: 56.38 kB / 0.8913 GB, free: 8.41 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006474/0.02734, allocations: 373 kB / 0.8916 GB, free: 8 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.478e-05/0.02735, allocations: 4.188 kB / 0.8916 GB, free: 7.996 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.024e-05/0.02739, allocations: 19.94 kB / 0.8917 GB, free: 7.977 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.146e-05/0.0274, allocations: 8 kB / 0.8917 GB, free: 7.969 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003739/0.02778, allocations: 158.4 kB / 0.8918 GB, free: 7.816 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003517/0.03129, allocations: 2.291 MB / 0.894 GB, free: 5.449 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001438/0.03273, allocations: 432.2 kB / 0.8945 GB, free: 5.02 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002173/0.03295, allocations: 87.66 kB / 0.8945 GB, free: 4.93 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 3.249e-05/0.03298, allocations: 8 kB / 0.8945 GB, free: 4.922 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.359e-05/0.03302, allocations: 45.31 kB / 0.8946 GB, free: 4.867 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=30): time 1.904e-06/0.03303, allocations: 0 / 0.8946 GB, free: 4.867 MB / 0.8542 GB Notification: Performance of matching and sorting (n=30): time 0.0015/0.03453, allocations: 494.6 kB / 0.8951 GB, free: 4.367 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.538e-05/0.03458, allocations: 59.41 kB / 0.8951 GB, free: 4.297 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001455/0.03604, allocations: 1.019 MB / 0.8961 GB, free: 3.266 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 4.823e-05/0.03609, allocations: 37.7 kB / 0.8962 GB, free: 3.223 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006943/0.03678, allocations: 471.9 kB / 0.8966 GB, free: 2.754 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001591/0.03694, allocations: 131 kB / 0.8967 GB, free: 2.625 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003022/0.03724, allocations: 208.2 kB / 0.8969 GB, free: 2.41 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0004299/0.03767, allocations: 0.6133 MB / 0.8975 GB, free: 1.785 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002644/0.03794, allocations: 97.94 kB / 0.8976 GB, free: 1.691 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008782/0.03881, allocations: 0.6999 MB / 0.8983 GB, free: 0.7305 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00121/0.04002, allocations: 0.8685 MB / 0.8991 GB, free: 15.6 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.616e-06/0.04003, allocations: 7.938 kB / 0.8992 GB, free: 15.59 MB / 0.8698 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001541/0.04157, allocations: 0.7763 MB / 0.8999 GB, free: 14.79 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.647e-05/0.0416, allocations: 15.38 kB / 0.8999 GB, free: 14.78 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.07e-05/0.04162, allocations: 12 kB / 0.8999 GB, free: 14.77 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006329/0.04225, allocations: 131 kB / 0.9001 GB, free: 14.63 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006827/0.04294, allocations: 203.6 kB / 0.9003 GB, free: 14.43 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005363/0.0483, allocations: 5.498 MB / 0.9056 GB, free: 8.562 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001021/0.04932, allocations: 107.3 kB / 0.9057 GB, free: 8.457 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.114e-05/0.04939, allocations: 40 kB / 0.9058 GB, free: 8.418 MB / 0.8698 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.0003471/0.04974, allocations: 252.1 kB / 0.906 GB, free: 8.16 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001583/0.0499, allocations: 91.44 kB / 0.9061 GB, free: 8.07 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001491/0.05005, allocations: 76.44 kB / 0.9062 GB, free: 7.996 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.544e-06/0.05005, allocations: 11.94 kB / 0.9062 GB, free: 7.984 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.266e-06/0.05006, allocations: 0 / 0.9062 GB, free: 7.984 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.202e-06/0.05007, allocations: 4 kB / 0.9062 GB, free: 7.98 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008565/0.05092, allocations: 0.5432 MB / 0.9067 GB, free: 7.402 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.05093, allocations: 0 / 0.9067 GB, free: 7.402 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003442/0.05127, allocations: 63.89 kB / 0.9068 GB, free: 7.34 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005434/0.05181, allocations: 115 kB / 0.9069 GB, free: 7.215 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.61e-05/0.05185, allocations: 11.98 kB / 0.9069 GB, free: 7.203 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004991/0.05684, allocations: 5.464 MB / 0.9122 GB, free: 1.371 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/0.05684, allocations: 3.984 kB / 0.9122 GB, free: 1.367 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001136/0.05798, allocations: 0.5969 MB / 0.9128 GB, free: 0.7383 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003787/0.05836, allocations: 127.2 kB / 0.9129 GB, free: 0.6133 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.847e-05/0.05846, allocations: 15.98 kB / 0.913 GB, free: 0.5977 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004879/0.05895, allocations: 23.97 kB / 0.913 GB, free: 0.5742 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.302e-05/0.05903, allocations: 27.89 kB / 0.913 GB, free: 0.5469 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.794e-05/0.05905, allocations: 4 kB / 0.913 GB, free: 0.543 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.000975/0.06002, allocations: 0.6122 MB / 0.9136 GB, free: 15.93 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.31e-07/0.06002, allocations: 0 / 0.9136 GB, free: 15.93 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0009665/0.06099, allocations: 271.8 kB / 0.9139 GB, free: 15.66 MB / 0.8855 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 0.0001759/0.06116, allocations: 107.2 kB / 0.914 GB, free: 15.55 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.001527/0.06269, allocations: 0.9322 MB / 0.9149 GB, free: 14.57 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.06269, allocations: 0 / 0.9149 GB, free: 14.57 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0007923/0.06349, allocations: 0.6416 MB / 0.9155 GB, free: 13.87 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008699/0.06436, allocations: 154.7 kB / 0.9157 GB, free: 13.72 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002552/0.06691, allocations: 1.458 MB / 0.9171 GB, free: 12.22 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004728/0.06738, allocations: 380.4 kB / 0.9174 GB, free: 11.82 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0003587/0.06774, allocations: 125.6 kB / 0.9176 GB, free: 11.7 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001594/0.0679, allocations: 48.5 kB / 0.9176 GB, free: 11.65 MB / 0.8855 GB Notification: Performance of SimCode: time 1.032e-06/0.0679, allocations: 0 / 0.9176 GB, free: 11.65 MB / 0.8855 GB Notification: Performance of Templates: time 0.02177/0.08967, allocations: 10.8 MB / 0.9282 GB, free: 1.074 MB / 0.8855 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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe 2>&1) [Timeout 240] 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: 9.04799765709322]