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.001969/0.001969, allocations: 79.73 kB / 19.76 MB, free: 1.871 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.002552/0.002552, allocations: 159.6 kB / 23.01 MB, free: 4.594 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.56/1.56, allocations: 177.2 MB / 203.4 MB, free: 8.988 MB / 190.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.851/2.851, allocations: 377.9 MB / 0.6228 GB, free: 12.6 MB / 0.5919 GB " [Timeout remaining time 176] 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.00203/0.00203, allocations: 63.89 kB / 0.9819 GB, free: 12.25 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.282/1.284, allocations: 176.1 MB / 1.154 GB, free: 33.3 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayer2): time 0.004439/1.288, allocations: 3.441 MB / 1.157 GB, free: 30.99 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.004551/1.293, allocations: 2.419 MB / 1.16 GB, free: 29.42 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000531/1.293, allocations: 20.19 kB / 1.16 GB, free: 29.41 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0008895/1.294, allocations: 246.6 kB / 1.16 GB, free: 29.29 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.001221/1.295, allocations: 0.5336 MB / 1.16 GB, free: 29 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.001522/1.297, allocations: 0.5544 MB / 1.161 GB, free: 28.77 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.001593/1.299, allocations: 1.41 MB / 1.162 GB, free: 28.17 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000224/1.299, allocations: 96.55 kB / 1.162 GB, free: 28.12 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006143/1.299, allocations: 442.7 kB / 1.163 GB, free: 27.95 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006149/1.3, allocations: 470.5 kB / 1.163 GB, free: 27.77 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 9.315e-05/1.3, allocations: 57.16 kB / 1.163 GB, free: 27.77 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000197/1.3, allocations: 68.08 kB / 1.163 GB, free: 27.77 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0003656/1.301, allocations: 398.6 kB / 1.164 GB, free: 27.62 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0003616/1.301, allocations: 389.8 kB / 1.164 GB, free: 27.44 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0008591/1.302, allocations: 0.9685 MB / 1.165 GB, free: 27.06 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/1.302, allocations: 0 / 1.165 GB, free: 27.06 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.364e-06/1.302, allocations: 3.938 kB / 1.165 GB, free: 27.06 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.3e-05/1.302, allocations: 0 / 1.165 GB, free: 27.06 MB / 1.076 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.002214/1.304, allocations: 1.23 MB / 1.166 GB, free: 26.28 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.127e-05/1.304, allocations: 8.312 kB / 1.166 GB, free: 26.28 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002944/1.304, allocations: 110.6 kB / 1.166 GB, free: 26.23 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009339/1.305, allocations: 0.615 MB / 1.167 GB, free: 25.85 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.831e-05/1.305, allocations: 42.38 kB / 1.167 GB, free: 25.83 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.183e-05/1.305, allocations: 61.8 kB / 1.167 GB, free: 25.8 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005631/1.306, allocations: 418.8 kB / 1.168 GB, free: 25.58 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.546e-05/1.306, allocations: 0 / 1.168 GB, free: 25.58 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.095e-05/1.306, allocations: 15.16 kB / 1.168 GB, free: 25.57 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.004e-05/1.306, allocations: 8.125 kB / 1.168 GB, free: 25.57 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003664/1.306, allocations: 236.9 kB / 1.168 GB, free: 25.49 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002413/1.309, allocations: 1.832 MB / 1.17 GB, free: 24.26 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001338/1.31, allocations: 0.5299 MB / 1.17 GB, free: 24.11 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002121/1.31, allocations: 152.3 kB / 1.17 GB, free: 24.05 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 2.469e-05/1.31, allocations: 2.625 kB / 1.17 GB, free: 24.05 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.371e-05/1.31, allocations: 33.19 kB / 1.17 GB, free: 24.01 MB / 1.076 GB Notification: Performance of pre-optimization done (n=30): time 1.493e-06/1.31, allocations: 0 / 1.17 GB, free: 24.01 MB / 1.076 GB Notification: Performance of matching and sorting (n=30): time 0.001599/1.312, allocations: 0.6581 MB / 1.171 GB, free: 23.76 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.177e-05/1.312, allocations: 54.62 kB / 1.171 GB, free: 23.7 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0016/1.314, allocations: 0.935 MB / 1.172 GB, free: 23.3 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 4.422e-05/1.314, allocations: 41.08 kB / 1.172 GB, free: 23.26 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002403/1.314, allocations: 368.8 kB / 1.172 GB, free: 22.97 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001184/1.314, allocations: 124.1 kB / 1.172 GB, free: 22.88 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002052/1.314, allocations: 175 kB / 1.173 GB, free: 22.79 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001304/1.314, allocations: 390.5 kB / 1.173 GB, free: 22.45 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003938/1.315, allocations: 244.6 kB / 1.173 GB, free: 22.38 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005679/1.315, allocations: 0.6358 MB / 1.174 GB, free: 21.79 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009133/1.316, allocations: 0.8951 MB / 1.175 GB, free: 21.04 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.045e-05/1.316, allocations: 4.812 kB / 1.175 GB, free: 21.04 MB / 1.076 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001571/1.318, allocations: 1.016 MB / 1.176 GB, free: 20.62 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.755e-05/1.318, allocations: 11 kB / 1.176 GB, free: 20.62 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.016e-05/1.318, allocations: 14.34 kB / 1.176 GB, free: 20.62 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004052/1.318, allocations: 124.8 kB / 1.176 GB, free: 20.58 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006282/1.319, allocations: 195.3 kB / 1.176 GB, free: 20.55 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002518/1.321, allocations: 4.092 MB / 1.18 GB, free: 16.7 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001084/1.323, allocations: 122 kB / 1.18 GB, free: 16.63 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.309e-05/1.323, allocations: 38.69 kB / 1.18 GB, free: 16.62 MB / 1.076 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.0003517/1.323, allocations: 274.2 kB / 1.18 GB, free: 16.43 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001185/1.323, allocations: 85.75 kB / 1.18 GB, free: 16.38 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001301/1.323, allocations: 76.78 kB / 1.181 GB, free: 16.33 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.93e-06/1.323, allocations: 3.312 kB / 1.181 GB, free: 16.33 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.518e-05/1.323, allocations: 1.375 kB / 1.181 GB, free: 16.33 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.701e-06/1.323, allocations: 2.656 kB / 1.181 GB, free: 16.33 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006614/1.324, allocations: 480.1 kB / 1.181 GB, free: 16.09 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/1.324, allocations: 7.938 kB / 1.181 GB, free: 16.08 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003215/1.324, allocations: 62.02 kB / 1.181 GB, free: 16.07 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002943/1.325, allocations: 112.4 kB / 1.181 GB, free: 16.02 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.878e-05/1.325, allocations: 9.688 kB / 1.181 GB, free: 16.02 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002353/1.327, allocations: 4.059 MB / 1.185 GB, free: 12.18 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/1.327, allocations: 5.859 kB / 1.185 GB, free: 12.17 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001199/1.328, allocations: 0.7453 MB / 1.186 GB, free: 11.79 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003485/1.328, allocations: 128.5 kB / 1.186 GB, free: 11.71 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.854e-05/1.329, allocations: 10.16 kB / 1.186 GB, free: 11.71 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005024/1.329, allocations: 24.83 kB / 1.186 GB, free: 11.71 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.044e-05/1.329, allocations: 25.16 kB / 1.186 GB, free: 11.7 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.951e-05/1.329, allocations: 8.562 kB / 1.186 GB, free: 11.7 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.001046/1.33, allocations: 0.6225 MB / 1.187 GB, free: 11.45 MB / 1.076 GB Notification: Performance of sort global known variables: time 9.1e-08/1.33, allocations: 0 / 1.187 GB, free: 11.45 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.001346/1.332, allocations: 273.1 kB / 1.187 GB, free: 11.42 MB / 1.076 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.0001546/1.332, allocations: 108.9 kB / 1.187 GB, free: 11.32 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001639/1.333, allocations: 0.9038 MB / 1.188 GB, free: 10.8 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/1.333, allocations: 1.156 kB / 1.188 GB, free: 10.8 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0006189/1.334, allocations: 0.5067 MB / 1.188 GB, free: 10.41 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008847/1.335, allocations: 181.8 kB / 1.189 GB, free: 10.33 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002776/1.338, allocations: 1.74 MB / 1.19 GB, free: 9.293 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005214/1.338, allocations: 400.6 kB / 1.191 GB, free: 9.168 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0004847/1.339, allocations: 145.7 kB / 1.191 GB, free: 9.148 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001685/1.339, allocations: 49.47 kB / 1.191 GB, free: 9.141 MB / 1.076 GB Notification: Performance of SimCode: time 1.472e-06/1.339, allocations: 0 / 1.191 GB, free: 9.141 MB / 1.076 GB Notification: Performance of Templates: time 0.02528/1.364, allocations: 10.77 MB / 1.201 GB, free: 7.988 MB / 1.076 GB " [Timeout remaining time 299] 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 ida -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: 10.127539336914197]