Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayer.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.001506/0.001506, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.001743/0.001743, allocations: 217.5 kB / 23.01 MB, free: 4.609 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.392/1.392, allocations: 230.6 MB / 256.8 MB, free: 8.008 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 2.922/2.922, allocations: 0.49 GB / 0.7958 GB, free: 33.32 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.ConductorSingleLayer,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.ConductorSingleLayer") translateModel(Buildings.HeatTransfer.Examples.ConductorSingleLayer,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.ConductorSingleLayer") [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.0019/0.0019, allocations: 70.97 kB / 1.155 GB, free: 25.47 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.292/0.2939, allocations: 176.1 MB / 1.327 GB, free: 1.473 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayer): time 0.005082/0.299, allocations: 3.788 MB / 1.331 GB, free: 13.66 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.004226/0.3032, allocations: 2.583 MB / 1.333 GB, free: 11.07 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002652/0.3035, allocations: 23.75 kB / 1.333 GB, free: 11.05 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0006849/0.3042, allocations: 254.3 kB / 1.334 GB, free: 10.8 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.00101/0.3052, allocations: 0.5405 MB / 1.334 GB, free: 10.25 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001252/0.3064, allocations: 0.5622 MB / 1.335 GB, free: 9.691 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.00157/0.308, allocations: 1.39 MB / 1.336 GB, free: 8.297 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002077/0.3082, allocations: 97.73 kB / 1.336 GB, free: 8.191 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006303/0.3089, allocations: 462.5 kB / 1.337 GB, free: 7.738 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007478/0.3096, allocations: 0.5059 MB / 1.337 GB, free: 7.23 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 9.892e-05/0.3097, allocations: 59.94 kB / 1.337 GB, free: 7.172 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000167/0.3099, allocations: 72 kB / 1.337 GB, free: 7.102 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0003991/0.3103, allocations: 366.9 kB / 1.338 GB, free: 6.742 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0004599/0.3107, allocations: 465.5 kB / 1.338 GB, free: 6.285 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0009804/0.3117, allocations: 0.9256 MB / 1.339 GB, free: 5.355 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.3117, allocations: 4 kB / 1.339 GB, free: 5.352 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.322e-06/0.3117, allocations: 0 / 1.339 GB, free: 5.352 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.058e-05/0.3117, allocations: 4 kB / 1.339 GB, free: 5.348 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.002304/0.314, allocations: 1.212 MB / 1.34 GB, free: 4.098 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.295e-05/0.3141, allocations: 8.031 kB / 1.34 GB, free: 4.09 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002859/0.3143, allocations: 116.3 kB / 1.34 GB, free: 3.977 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00107/0.3154, allocations: 0.6027 MB / 1.341 GB, free: 3.352 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.8e-05/0.3155, allocations: 45.03 kB / 1.341 GB, free: 3.309 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.287e-05/0.3155, allocations: 56.33 kB / 1.341 GB, free: 3.254 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006099/0.3162, allocations: 402.9 kB / 1.341 GB, free: 2.824 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.5e-05/0.3162, allocations: 7.938 kB / 1.341 GB, free: 2.816 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.99e-05/0.3162, allocations: 16 kB / 1.341 GB, free: 2.801 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.989e-06/0.3162, allocations: 8 kB / 1.341 GB, free: 2.793 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003989/0.3166, allocations: 222.4 kB / 1.341 GB, free: 2.578 MB / 1.029 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003161/0.3198, allocations: 2.464 MB / 1.344 GB, free: 15.92 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001252/0.321, allocations: 467.1 kB / 1.344 GB, free: 15.45 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002516/0.3213, allocations: 149.2 kB / 1.344 GB, free: 15.3 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.414e-05/0.3213, allocations: 4.234 kB / 1.344 GB, free: 15.3 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.398e-05/0.3213, allocations: 42.8 kB / 1.345 GB, free: 15.25 MB / 1.045 GB Notification: Performance of pre-optimization done (n=28): time 1.914e-06/0.3213, allocations: 0 / 1.345 GB, free: 15.25 MB / 1.045 GB Notification: Performance of matching and sorting (n=30): time 0.001974/0.3233, allocations: 1.068 MB / 1.346 GB, free: 14.15 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.988e-05/0.3233, allocations: 55.41 kB / 1.346 GB, free: 14.08 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001164/0.3245, allocations: 0.931 MB / 1.347 GB, free: 13.14 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 4.056e-05/0.3246, allocations: 41.7 kB / 1.347 GB, free: 13.09 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003023/0.3249, allocations: 373.2 kB / 1.347 GB, free: 12.72 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001077/0.325, allocations: 115 kB / 1.347 GB, free: 12.61 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001976/0.3252, allocations: 166.6 kB / 1.347 GB, free: 12.44 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0002007/0.3254, allocations: 402.7 kB / 1.348 GB, free: 12.04 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003634/0.3257, allocations: 221.8 kB / 1.348 GB, free: 11.82 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006843/0.3264, allocations: 0.6196 MB / 1.348 GB, free: 11.02 MB / 1.045 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: con.T[4] = con.T_a_start + (con.T_b_start - con.T_a_start) * con.UA * (con.RNod[1] + con.RNod[2] + con.RNod[3]) (TB.T = con.T_a_start + (con.T_b_start - con.T_a_start) * con.UA * (con.RNod[1] + con.RNod[2] + con.RNod[3])) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: con2.T[2] = con2.T_a_start + (con2.T_b_start - con2.T_a_start) * con2.UA * (con2.RNod[1] + con2.RNod[2]) (TB1.T = con2.T_a_start + (con2.T_b_start - con2.T_a_start) * con2.UA * (con2.RNod[1] + con2.RNod[2])) Notification: Performance of analyzeInitialSystem (initialization): time 0.002856/0.3293, allocations: 1.618 MB / 1.35 GB, free: 9.203 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.4e-05/0.3293, allocations: 4 kB / 1.35 GB, free: 9.199 MB / 1.045 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.00147/0.3308, allocations: 0.9077 MB / 1.351 GB, free: 8.281 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.373e-05/0.3308, allocations: 12 kB / 1.351 GB, free: 8.27 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.168e-05/0.3308, allocations: 19.98 kB / 1.351 GB, free: 8.25 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001705/0.331, allocations: 53.31 kB / 1.351 GB, free: 8.195 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006664/0.3317, allocations: 203.7 kB / 1.351 GB, free: 7.996 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001222/0.3329, allocations: 1.361 MB / 1.352 GB, free: 6.52 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007002/0.3336, allocations: 43.97 kB / 1.353 GB, free: 6.477 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.821e-05/0.3336, allocations: 36 kB / 1.353 GB, free: 6.441 MB / 1.045 GB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization system: con.T[4] = con.T_a_start + (con.T_b_start - con.T_a_start) * con.UA * (con.RNod[1] + con.RNod[2] + con.RNod[3]) con2.T[2] = con2.T_a_start + (con2.T_b_start - con2.T_a_start) * con2.UA * (con2.RNod[1] + con2.RNod[2]). 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 (97): * Single equations (assignments): 96 * 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.0003931/0.334, allocations: 310.5 kB / 1.353 GB, free: 6.129 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001399/0.3342, allocations: 87.39 kB / 1.353 GB, free: 6.043 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001283/0.3343, allocations: 84.45 kB / 1.353 GB, free: 5.957 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.3343, allocations: 0 / 1.353 GB, free: 5.957 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.908e-06/0.3343, allocations: 4 kB / 1.353 GB, free: 5.953 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/0.3343, allocations: 0 / 1.353 GB, free: 5.953 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001722/0.336, allocations: 1.114 MB / 1.354 GB, free: 4.773 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.031e-06/0.336, allocations: 4 kB / 1.354 GB, free: 4.77 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003856/0.3364, allocations: 83.88 kB / 1.354 GB, free: 4.688 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001181/0.3365, allocations: 36.95 kB / 1.354 GB, free: 4.648 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.416e-05/0.3366, allocations: 11.94 kB / 1.354 GB, free: 4.637 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001103/0.3377, allocations: 1.342 MB / 1.356 GB, free: 3.176 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.572e-06/0.3377, allocations: 0 / 1.356 GB, free: 3.176 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009527/0.3386, allocations: 0.6714 MB / 1.356 GB, free: 2.473 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003027/0.3389, allocations: 127.4 kB / 1.356 GB, free: 2.348 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.581e-05/0.339, allocations: 8 kB / 1.356 GB, free: 2.34 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004438/0.3394, allocations: 23.97 kB / 1.356 GB, free: 2.316 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.498e-05/0.3395, allocations: 19.97 kB / 1.356 GB, free: 2.297 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.411e-05/0.3395, allocations: 4 kB / 1.356 GB, free: 2.293 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0008637/0.3404, allocations: 0.6317 MB / 1.357 GB, free: 1.668 MB / 1.045 GB Notification: Performance of sort global known variables: time 8e-08/0.3404, allocations: 0 / 1.357 GB, free: 1.668 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0007313/0.3411, allocations: 208 kB / 1.357 GB, free: 1.465 MB / 1.045 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 6 (con.T[1],con.T[2],con.T[3],con1.T[1],con1.T[2],con2.T[1]) * 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 (29): * Single equations (assignments): 28 * 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.0001353/0.3412, allocations: 111.1 kB / 1.357 GB, free: 1.348 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.00111/0.3424, allocations: 0.6322 MB / 1.358 GB, free: 0.707 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.3424, allocations: 0 / 1.358 GB, free: 0.707 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0003572/0.3427, allocations: 254.5 kB / 1.358 GB, free: 456 kB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007758/0.3435, allocations: 180.4 kB / 1.358 GB, free: 272 kB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002341/0.3458, allocations: 1.686 MB / 1.36 GB, free: 14.53 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006139/0.3464, allocations: 0.9877 MB / 1.361 GB, free: 13.52 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000158/0.3466, allocations: 55.44 kB / 1.361 GB, free: 13.46 MB / 1.061 GB Notification: Performance of SimCode: time 5.61e-07/0.3466, allocations: 0 / 1.361 GB, free: 13.46 MB / 1.061 GB Notification: Performance of Templates: time 0.01616/0.3628, allocations: 12.25 MB / 1.373 GB, free: 1.25 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayer.makefile [Timeout 300] (rm -f Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe ; mkfifo Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe ; head -c 1048576 < Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe >> ../files/Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayer.sim & ./Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayer -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayer_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_HeatTransfer_Examples_ConductorSingleLayer.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayer.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: 11.700420121022034]