Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001289/0.001289, allocations: 110.5 kB / 17.6 MB, free: 4.703 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001357/0.001357, allocations: 186.7 kB / 20.78 MB, free: 1.547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.557/1.557, allocations: 225.6 MB / 249.4 MB, free: 3.145 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.931/2.931, allocations: 496.2 MB / 0.7819 GB, free: 12.27 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_latest_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_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002053/0.002053, allocations: 63.89 kB / 1.136 GB, free: 12.51 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.255/1.257, allocations: 173.6 MB / 1.305 GB, free: 33.46 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayer): time 0.004356/1.262, allocations: 3.769 MB / 1.309 GB, free: 30.8 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0039/1.266, allocations: 2.52 MB / 1.312 GB, free: 29.1 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005759/1.266, allocations: 16.5 kB / 1.312 GB, free: 29.09 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0008075/1.267, allocations: 255 kB / 1.312 GB, free: 28.96 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0009961/1.268, allocations: 0.5 MB / 1.312 GB, free: 28.68 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001374/1.269, allocations: 0.5364 MB / 1.313 GB, free: 28.45 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.001345/1.271, allocations: 1.371 MB / 1.314 GB, free: 27.88 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000209/1.271, allocations: 108.2 kB / 1.314 GB, free: 27.82 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004711/1.271, allocations: 446.1 kB / 1.315 GB, free: 27.64 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005284/1.272, allocations: 0.5009 MB / 1.315 GB, free: 27.44 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 7.487e-05/1.272, allocations: 53.88 kB / 1.315 GB, free: 27.44 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001076/1.272, allocations: 57.44 kB / 1.315 GB, free: 27.44 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0002865/1.272, allocations: 365.7 kB / 1.316 GB, free: 27.3 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0003151/1.273, allocations: 453.2 kB / 1.316 GB, free: 27.05 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.000761/1.274, allocations: 0.918 MB / 1.317 GB, free: 26.69 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/1.274, allocations: 0 / 1.317 GB, free: 26.69 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.743e-06/1.274, allocations: 0 / 1.317 GB, free: 26.69 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.261e-05/1.274, allocations: 2.031 kB / 1.317 GB, free: 26.69 MB / 1.061 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.001918/1.275, allocations: 1.276 MB / 1.318 GB, free: 25.82 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.873e-05/1.275, allocations: 15.77 kB / 1.318 GB, free: 25.81 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00013/1.276, allocations: 108.8 kB / 1.318 GB, free: 25.75 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008247/1.276, allocations: 0.6633 MB / 1.319 GB, free: 25.32 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.343e-05/1.276, allocations: 42.03 kB / 1.319 GB, free: 25.3 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.545e-05/1.277, allocations: 57.11 kB / 1.319 GB, free: 25.28 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004981/1.277, allocations: 406.9 kB / 1.319 GB, free: 25.06 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.742e-05/1.277, allocations: 7.938 kB / 1.319 GB, free: 25.05 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.866e-05/1.277, allocations: 14.62 kB / 1.319 GB, free: 25.04 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.708e-06/1.277, allocations: 10.5 kB / 1.319 GB, free: 25.04 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003203/1.277, allocations: 234 kB / 1.32 GB, free: 24.96 MB / 1.061 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.002161/1.28, allocations: 2.494 MB / 1.322 GB, free: 23.05 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001113/1.281, allocations: 473.3 kB / 1.323 GB, free: 22.92 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000199/1.281, allocations: 147 kB / 1.323 GB, free: 22.87 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2e-05/1.281, allocations: 3.016 kB / 1.323 GB, free: 22.87 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.734e-05/1.281, allocations: 37.7 kB / 1.323 GB, free: 22.82 MB / 1.061 GB Notification: Performance of pre-optimization done (n=28): time 1.693e-06/1.281, allocations: 0 / 1.323 GB, free: 22.82 MB / 1.061 GB Notification: Performance of matching and sorting (n=30): time 0.001958/1.283, allocations: 1.213 MB / 1.324 GB, free: 22.07 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.316e-05/1.283, allocations: 61.03 kB / 1.324 GB, free: 22.01 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000983/1.284, allocations: 0.9217 MB / 1.325 GB, free: 21.63 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.963e-05/1.284, allocations: 40.55 kB / 1.325 GB, free: 21.59 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002059/1.284, allocations: 380.8 kB / 1.325 GB, free: 21.29 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 7.73e-05/1.284, allocations: 113.6 kB / 1.325 GB, free: 21.2 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001843/1.284, allocations: 170.4 kB / 1.326 GB, free: 21.12 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001314/1.285, allocations: 392.9 kB / 1.326 GB, free: 20.77 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004429/1.285, allocations: 225.6 kB / 1.326 GB, free: 20.71 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005901/1.286, allocations: 0.6244 MB / 1.327 GB, free: 20.11 MB / 1.061 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.00302/1.289, allocations: 1.764 MB / 1.328 GB, free: 19.01 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.777e-06/1.289, allocations: 4.625 kB / 1.329 GB, free: 19.01 MB / 1.061 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001412/1.29, allocations: 0.9074 MB / 1.329 GB, free: 18.64 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.848e-05/1.29, allocations: 10.25 kB / 1.329 GB, free: 18.64 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.054e-05/1.29, allocations: 14.06 kB / 1.329 GB, free: 18.64 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001862/1.29, allocations: 51.75 kB / 1.329 GB, free: 18.62 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007065/1.291, allocations: 218.1 kB / 1.33 GB, free: 18.6 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000913/1.292, allocations: 1.461 MB / 1.331 GB, free: 17.17 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007417/1.293, allocations: 40.72 kB / 1.331 GB, free: 17.16 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.24e-05/1.293, allocations: 47.86 kB / 1.331 GB, free: 17.14 MB / 1.061 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.0003964/1.293, allocations: 286.7 kB / 1.331 GB, free: 16.96 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001177/1.293, allocations: 90.75 kB / 1.332 GB, free: 16.91 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001158/1.293, allocations: 81.28 kB / 1.332 GB, free: 16.86 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.696e-06/1.293, allocations: 10.41 kB / 1.332 GB, free: 16.85 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.355e-06/1.293, allocations: 1 kB / 1.332 GB, free: 16.85 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.588e-06/1.293, allocations: 4.469 kB / 1.332 GB, free: 16.85 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001859/1.295, allocations: 1.136 MB / 1.333 GB, free: 16.24 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.372e-06/1.295, allocations: 5.625 kB / 1.333 GB, free: 16.23 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004447/1.296, allocations: 81.8 kB / 1.333 GB, free: 16.23 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000135/1.296, allocations: 31.83 kB / 1.333 GB, free: 16.22 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.292e-05/1.296, allocations: 13.75 kB / 1.333 GB, free: 16.21 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009361/1.297, allocations: 1.431 MB / 1.334 GB, free: 14.79 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.618e-06/1.297, allocations: 6.016 kB / 1.334 GB, free: 14.79 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009916/1.298, allocations: 0.6614 MB / 1.335 GB, free: 14.41 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000271/1.298, allocations: 207.3 kB / 1.335 GB, free: 14.25 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.11e-05/1.298, allocations: 11.2 kB / 1.335 GB, free: 14.24 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003974/1.299, allocations: 16.41 kB / 1.335 GB, free: 14.24 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.414e-05/1.299, allocations: 25.88 kB / 1.335 GB, free: 14.23 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.127e-05/1.299, allocations: 6.703 kB / 1.335 GB, free: 14.23 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.00106/1.3, allocations: 0.6198 MB / 1.336 GB, free: 13.99 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.1e-07/1.3, allocations: 0 / 1.336 GB, free: 13.99 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.001095/1.301, allocations: 209.4 kB / 1.336 GB, free: 13.97 MB / 1.061 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.0001732/1.301, allocations: 117 kB / 1.336 GB, free: 13.87 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.001436/1.302, allocations: 0.6186 MB / 1.337 GB, free: 13.61 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/1.302, allocations: 5.125 kB / 1.337 GB, free: 13.6 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0003774/1.303, allocations: 265.8 kB / 1.337 GB, free: 13.44 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009576/1.304, allocations: 170.5 kB / 1.337 GB, free: 13.37 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002561/1.306, allocations: 1.647 MB / 1.339 GB, free: 12.39 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005577/1.307, allocations: 0.9786 MB / 1.34 GB, free: 11.67 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0005216/1.307, allocations: 155.6 kB / 1.34 GB, free: 11.65 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001597/1.308, allocations: 49.91 kB / 1.34 GB, free: 11.64 MB / 1.061 GB Notification: Performance of SimCode: time 1.012e-06/1.308, allocations: 1.156 kB / 1.34 GB, free: 11.64 MB / 1.061 GB Notification: Performance of Templates: time 0.02479/1.332, allocations: 9.301 MB / 1.349 GB, free: 11.02 MB / 1.061 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer.sim & ./Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Examples_ConductorSingleLayer.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 10.223468042910099]