Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001695/0.001695, allocations: 96.42 kB / 19.7 MB, free: 2.133 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.002087/0.002087, allocations: 211 kB / 22.99 MB, free: 4.957 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.464/1.464, allocations: 230.6 MB / 256.8 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.166/3.166, allocations: 0.49 GB / 0.7959 GB, free: 35.5 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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.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_12_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_12_Buildings.HeatTransfer.Examples.ConductorSingleLayer2") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002035/0.002035, allocations: 66.91 kB / 1.155 GB, free: 25.25 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.32/0.3221, allocations: 176.1 MB / 1.327 GB, free: 1 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayer2): time 0.004933/0.327, allocations: 3.453 MB / 1.33 GB, free: 13.52 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.00409/0.3311, allocations: 2.419 MB / 1.333 GB, free: 11.1 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000241/0.3313, allocations: 23.81 kB / 1.333 GB, free: 11.07 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0006952/0.332, allocations: 238.4 kB / 1.333 GB, free: 10.84 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0011/0.3331, allocations: 0.5484 MB / 1.334 GB, free: 10.29 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001219/0.3343, allocations: 0.5627 MB / 1.334 GB, free: 9.727 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.001515/0.3359, allocations: 1.41 MB / 1.336 GB, free: 8.312 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002165/0.3361, allocations: 97.72 kB / 1.336 GB, free: 8.207 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006035/0.3367, allocations: 442.6 kB / 1.336 GB, free: 7.773 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006656/0.3373, allocations: 498.1 kB / 1.336 GB, free: 7.285 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0001009/0.3374, allocations: 56 kB / 1.337 GB, free: 7.23 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001928/0.3376, allocations: 79.98 kB / 1.337 GB, free: 7.152 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0004267/0.3381, allocations: 394.8 kB / 1.337 GB, free: 6.766 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0003994/0.3385, allocations: 394.1 kB / 1.337 GB, free: 6.379 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0009946/0.3395, allocations: 0.9608 MB / 1.338 GB, free: 5.414 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.367e-06/0.3395, allocations: 0 / 1.338 GB, free: 5.414 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.392e-06/0.3395, allocations: 4 kB / 1.338 GB, free: 5.41 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.25e-05/0.3395, allocations: 3.938 kB / 1.338 GB, free: 5.406 MB / 1.029 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.002562/0.342, allocations: 1.232 MB / 1.34 GB, free: 4.137 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.3421, allocations: 8.031 kB / 1.34 GB, free: 4.129 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003102/0.3424, allocations: 108.3 kB / 1.34 GB, free: 4.023 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001205/0.3436, allocations: 0.6221 MB / 1.34 GB, free: 3.379 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.732e-05/0.3436, allocations: 37.03 kB / 1.34 GB, free: 3.344 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.82e-05/0.3437, allocations: 64.33 kB / 1.34 GB, free: 3.281 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006914/0.3444, allocations: 414.9 kB / 1.341 GB, free: 2.84 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.271e-05/0.3444, allocations: 4 kB / 1.341 GB, free: 2.836 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.507e-05/0.3445, allocations: 12 kB / 1.341 GB, free: 2.824 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.067e-05/0.3445, allocations: 8 kB / 1.341 GB, free: 2.816 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004321/0.3449, allocations: 238.4 kB / 1.341 GB, free: 2.586 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002975/0.3479, allocations: 1.825 MB / 1.343 GB, free: 0.6953 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00157/0.3495, allocations: 0.522 MB / 1.343 GB, free: 168 kB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002584/0.3497, allocations: 152.8 kB / 1.343 GB, free: 12 kB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.859e-05/0.3497, allocations: 7.938 kB / 1.343 GB, free: 4 kB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.443e-05/0.3498, allocations: 34.56 kB / 1.343 GB, free: 15.96 MB / 1.045 GB Notification: Performance of pre-optimization done (n=30): time 1.743e-06/0.3498, allocations: 0 / 1.343 GB, free: 15.96 MB / 1.045 GB Notification: Performance of matching and sorting (n=30): time 0.001603/0.3514, allocations: 0.6609 MB / 1.344 GB, free: 15.29 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.099e-05/0.3514, allocations: 55.41 kB / 1.344 GB, free: 15.22 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00126/0.3527, allocations: 0.9309 MB / 1.345 GB, free: 14.27 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 4.355e-05/0.3527, allocations: 33.7 kB / 1.345 GB, free: 14.23 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.000358/0.3531, allocations: 377.2 kB / 1.345 GB, free: 13.86 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001342/0.3532, allocations: 126.9 kB / 1.346 GB, free: 13.74 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002287/0.3534, allocations: 170.6 kB / 1.346 GB, free: 13.57 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0002147/0.3537, allocations: 394.8 kB / 1.346 GB, free: 13.17 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004264/0.3541, allocations: 241.8 kB / 1.346 GB, free: 12.94 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007424/0.3548, allocations: 0.6391 MB / 1.347 GB, free: 12.11 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001149/0.356, allocations: 0.8918 MB / 1.348 GB, free: 11.02 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.38e-05/0.356, allocations: 4 kB / 1.348 GB, free: 11.02 MB / 1.045 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001727/0.3577, allocations: 1.022 MB / 1.349 GB, free: 9.98 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.36e-05/0.3577, allocations: 8 kB / 1.349 GB, free: 9.973 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.695e-05/0.3578, allocations: 16.62 kB / 1.349 GB, free: 9.957 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004424/0.3582, allocations: 134.4 kB / 1.349 GB, free: 9.816 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006986/0.3589, allocations: 187.7 kB / 1.349 GB, free: 9.633 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003691/0.3626, allocations: 4.095 MB / 1.353 GB, free: 5.227 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001093/0.3637, allocations: 111.3 kB / 1.353 GB, free: 5.117 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.01e-05/0.3638, allocations: 44.22 kB / 1.353 GB, free: 5.074 MB / 1.045 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.0003834/0.3641, allocations: 271.6 kB / 1.354 GB, free: 4.801 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001343/0.3643, allocations: 91.36 kB / 1.354 GB, free: 4.711 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001335/0.3644, allocations: 76.42 kB / 1.354 GB, free: 4.629 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.33e-06/0.3644, allocations: 4 kB / 1.354 GB, free: 4.625 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.097e-06/0.3644, allocations: 4 kB / 1.354 GB, free: 4.621 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.3644, allocations: 0 / 1.354 GB, free: 4.621 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006696/0.3651, allocations: 476.8 kB / 1.354 GB, free: 4.125 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.3651, allocations: 4 kB / 1.354 GB, free: 4.121 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003575/0.3654, allocations: 59.89 kB / 1.354 GB, free: 4.062 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003344/0.3658, allocations: 106.4 kB / 1.354 GB, free: 3.949 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.077e-05/0.3658, allocations: 8 kB / 1.354 GB, free: 3.941 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00343/0.3692, allocations: 4.075 MB / 1.358 GB, free: 15.56 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.3692, allocations: 4.281 kB / 1.358 GB, free: 15.55 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001156/0.3704, allocations: 0.7473 MB / 1.359 GB, free: 14.78 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003325/0.3707, allocations: 123.4 kB / 1.359 GB, free: 14.66 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001002/0.3708, allocations: 15.98 kB / 1.359 GB, free: 14.64 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005016/0.3713, allocations: 19.97 kB / 1.359 GB, free: 14.62 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.714e-05/0.3714, allocations: 23.95 kB / 1.359 GB, free: 14.6 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.076e-05/0.3714, allocations: 8 kB / 1.359 GB, free: 14.59 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0008668/0.3723, allocations: 0.6239 MB / 1.36 GB, free: 13.98 MB / 1.061 GB Notification: Performance of sort global known variables: time 1e-07/0.3723, allocations: 0 / 1.36 GB, free: 13.98 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0008887/0.3732, allocations: 271.8 kB / 1.36 GB, free: 13.71 MB / 1.061 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.0001361/0.3733, allocations: 107.2 kB / 1.36 GB, free: 13.59 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.001437/0.3748, allocations: 0.9076 MB / 1.361 GB, free: 12.65 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.3748, allocations: 0 / 1.361 GB, free: 12.65 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0006607/0.3754, allocations: 0.505 MB / 1.362 GB, free: 12.11 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008659/0.3763, allocations: 177.2 kB / 1.362 GB, free: 11.94 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002585/0.3789, allocations: 1.763 MB / 1.364 GB, free: 10.15 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004266/0.3793, allocations: 392.4 kB / 1.364 GB, free: 9.738 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0003786/0.3797, allocations: 149.6 kB / 1.364 GB, free: 9.59 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001512/0.3798, allocations: 43.44 kB / 1.364 GB, free: 9.547 MB / 1.061 GB Notification: Performance of SimCode: time 3.61e-07/0.3798, allocations: 0 / 1.364 GB, free: 9.547 MB / 1.061 GB Notification: Performance of Templates: time 0.02185/0.4017, allocations: 11.96 MB / 1.376 GB, free: 13.81 MB / 1.076 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.makefile [Timeout 300] (rm -f Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe ; mkfifo Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe ; head -c 1048576 < Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe >> ../files/Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.sim & ./Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayer2 -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayer2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_HeatTransfer_Examples_ConductorSingleLayer2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.811638320999919]