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.000795/0.000795, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001037/0.001832, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.0007045/0.0007045, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008783/0.001583, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.061/1.061, allocations: 177.2 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1208/1.182, allocations: 53.65 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.574/2.574, allocations: 446.7 MB / 0.6745 GB, free: 6.215 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2543/2.828, allocations: 145.9 MB / 0.817 GB, free: 4.219 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-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.[0-9,]+.|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.[0-9,]+.|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.493e-06/1.493e-06, allocations: 0 / 0.8183 GB, free: 2.926 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.854e-05/2.004e-05, allocations: 6.312 kB / 0.8183 GB, free: 2.918 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayer2): time 0.005391/0.005411, allocations: 3.792 MB / 0.822 GB, free: 15.1 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.005477/0.01089, allocations: 2.57 MB / 0.8245 GB, free: 12.52 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000619/0.01151, allocations: 19.81 kB / 0.8245 GB, free: 12.5 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0008532/0.01236, allocations: 254.2 kB / 0.8248 GB, free: 12.25 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.001574/0.01393, allocations: 0.5519 MB / 0.8253 GB, free: 11.7 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.001792/0.01573, allocations: 0.5414 MB / 0.8258 GB, free: 11.15 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.002116/0.01784, allocations: 1.406 MB / 0.8272 GB, free: 9.742 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002967/0.01814, allocations: 102.4 kB / 0.8273 GB, free: 9.637 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001615/0.01975, allocations: 0.806 MB / 0.8281 GB, free: 8.828 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009565/0.02071, allocations: 410.9 kB / 0.8285 GB, free: 8.426 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 0.000118/0.02083, allocations: 59.94 kB / 0.8285 GB, free: 8.367 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001925/0.02102, allocations: 67.94 kB / 0.8286 GB, free: 8.301 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 0.0002831/0.0213, allocations: 367.1 kB / 0.829 GB, free: 7.941 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.0002389/0.02154, allocations: 259.4 kB / 0.8292 GB, free: 7.688 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0005702/0.02211, allocations: 0.6187 MB / 0.8298 GB, free: 7.066 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.683e-05/0.02213, allocations: 3.984 kB / 0.8298 GB, free: 7.062 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.382e-06/0.02213, allocations: 0 / 0.8298 GB, free: 7.062 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 2.808e-05/0.02216, allocations: 0 / 0.8298 GB, free: 7.062 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: 80 * Number of variables: 80 Notification: Performance of Generate backend data structure: time 0.001472/0.02363, allocations: 1.343 MB / 0.8311 GB, free: 5.688 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.152e-05/0.02367, allocations: 12.62 kB / 0.8311 GB, free: 5.676 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002565/0.02393, allocations: 181.9 kB / 0.8313 GB, free: 5.48 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005821/0.02451, allocations: 0.4908 MB / 0.8318 GB, free: 4.961 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.399e-05/0.02454, allocations: 37.03 kB / 0.8318 GB, free: 4.926 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.409e-05/0.02459, allocations: 60.33 kB / 0.8319 GB, free: 4.867 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002718/0.02486, allocations: 294.3 kB / 0.8322 GB, free: 4.547 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.104e-05/0.02487, allocations: 192 / 0.8322 GB, free: 4.547 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.038e-05/0.02489, allocations: 15.94 kB / 0.8322 GB, free: 4.531 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.977e-06/0.0249, allocations: 8 kB / 0.8322 GB, free: 4.523 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001101/0.02501, allocations: 103.2 kB / 0.8323 GB, free: 4.418 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001359/0.02637, allocations: 1.401 MB / 0.8336 GB, free: 2.969 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006338/0.02701, allocations: 434.7 kB / 0.8341 GB, free: 2.531 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.442e-05/0.02707, allocations: 49.34 kB / 0.8341 GB, free: 2.48 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.473e-05/0.02708, allocations: 8 kB / 0.8341 GB, free: 2.473 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.486e-05/0.02711, allocations: 46.56 kB / 0.8342 GB, free: 2.418 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=30): time 1.643e-06/0.02711, allocations: 0 / 0.8342 GB, free: 2.418 MB / 0.8073 GB Notification: Performance of matching and sorting (n=30): time 0.0005898/0.0277, allocations: 352.3 kB / 0.8345 GB, free: 2.055 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.869e-05/0.02773, allocations: 55.41 kB / 0.8346 GB, free: 1.988 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004827/0.02821, allocations: 0.7026 MB / 0.8352 GB, free: 1.273 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 2.99e-05/0.02824, allocations: 45.64 kB / 0.8353 GB, free: 1.223 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.000142/0.02838, allocations: 283 kB / 0.8356 GB, free: 0.9414 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 6.981e-05/0.02845, allocations: 115 kB / 0.8357 GB, free: 0.8281 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001273/0.02858, allocations: 166.5 kB / 0.8358 GB, free: 0.6602 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001178/0.0287, allocations: 398.5 kB / 0.8362 GB, free: 268 kB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.951e-05/0.02879, allocations: 80.78 kB / 0.8363 GB, free: 184 kB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002838/0.02907, allocations: 474.5 kB / 0.8367 GB, free: 15.52 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004816/0.02955, allocations: 0.6353 MB / 0.8373 GB, free: 14.69 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.679e-06/0.02956, allocations: 4 kB / 0.8374 GB, free: 14.69 MB / 0.823 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.0005867/0.03015, allocations: 0.5732 MB / 0.8379 GB, free: 14.09 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.989e-05/0.03017, allocations: 16.19 kB / 0.8379 GB, free: 14.08 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.385e-05/0.03018, allocations: 16 kB / 0.8379 GB, free: 14.06 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002849/0.03047, allocations: 115 kB / 0.8381 GB, free: 13.94 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004381/0.03091, allocations: 242.6 kB / 0.8383 GB, free: 13.7 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001721/0.03263, allocations: 3.695 MB / 0.8419 GB, free: 9.719 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000349/0.03298, allocations: 99.22 kB / 0.842 GB, free: 9.621 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.745e-05/0.033, allocations: 36.12 kB / 0.842 GB, free: 9.586 MB / 0.823 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.000138/0.03314, allocations: 168.3 kB / 0.8422 GB, free: 9.41 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.132e-05/0.0332, allocations: 51.94 kB / 0.8422 GB, free: 9.359 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.208e-05/0.03327, allocations: 80.41 kB / 0.8423 GB, free: 9.277 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.03327, allocations: 4 kB / 0.8423 GB, free: 9.273 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.522e-06/0.03327, allocations: 0 / 0.8423 GB, free: 9.273 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.399e-06/0.03328, allocations: 3.938 kB / 0.8423 GB, free: 9.27 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002764/0.03356, allocations: 305.4 kB / 0.8426 GB, free: 8.953 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.03356, allocations: 4 kB / 0.8426 GB, free: 8.949 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002407/0.0338, allocations: 91.91 kB / 0.8427 GB, free: 8.859 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001412/0.03394, allocations: 99.33 kB / 0.8428 GB, free: 8.762 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002286/0.03417, allocations: 102.9 kB / 0.8429 GB, free: 8.648 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.869e-05/0.03419, allocations: 11.92 kB / 0.8429 GB, free: 8.637 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001537/0.03572, allocations: 3.713 MB / 0.8465 GB, free: 4.629 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.03573, allocations: 3.938 kB / 0.8465 GB, free: 4.625 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003907/0.03612, allocations: 440.6 kB / 0.847 GB, free: 4.164 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.407e-05/0.03617, allocations: 11.94 kB / 0.847 GB, free: 4.152 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001756/0.03635, allocations: 8 kB / 0.847 GB, free: 4.145 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.906e-05/0.0364, allocations: 31.88 kB / 0.847 GB, free: 4.113 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.327e-06/0.03641, allocations: 8 kB / 0.847 GB, free: 4.105 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.0002671/0.03668, allocations: 344.5 kB / 0.8473 GB, free: 3.77 MB / 0.823 GB Notification: Performance of sort global known variables: time 3e-08/0.03668, allocations: 4.031 kB / 0.8473 GB, free: 3.766 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0005029/0.03718, allocations: 267.8 kB / 0.8476 GB, free: 3.504 MB / 0.823 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.0001216/0.03731, allocations: 88.36 kB / 0.8477 GB, free: 3.41 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0005759/0.03788, allocations: 0.6546 MB / 0.8483 GB, free: 2.719 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.526e-05/0.0379, allocations: 12 kB / 0.8483 GB, free: 2.707 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002644/0.03816, allocations: 444.5 kB / 0.8488 GB, free: 2.23 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004998/0.03866, allocations: 244.1 kB / 0.849 GB, free: 1.992 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005901/0.04456, allocations: 1.278 MB / 0.8502 GB, free: 0.6758 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000139/0.0447, allocations: 190 kB / 0.8504 GB, free: 480 kB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.0002086/0.04491, allocations: 89.69 kB / 0.8505 GB, free: 388 kB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002974/0.04521, allocations: 205.2 kB / 0.8507 GB, free: 180 kB / 0.823 GB Notification: Performance of SimCode: time 7.71e-07/0.04521, allocations: 0 / 0.8507 GB, free: 180 kB / 0.823 GB Notification: Performance of Templates: time 0.01609/0.0613, allocations: 12.29 MB / 0.8627 GB, free: 4.141 MB / 0.8386 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 -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer2/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.921306436881423]