Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.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.001401/0.001401, allocations: 113.8 kB / 17.61 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.00132/0.00132, allocations: 186 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.482/1.482, allocations: 225.6 MB / 249.4 MB, free: 3.152 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.815/2.815, allocations: 476.7 MB / 0.7629 GB, free: 15.18 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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.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_11_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_11_Buildings.HeatTransfer.Examples.ConductorSingleLayer2") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00195/0.00195, allocations: 67.89 kB / 1.107 GB, free: 4.586 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.089/1.091, allocations: 168.7 MB / 1.272 GB, free: 7.918 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayer2): time 0.005168/1.096, allocations: 3.8 MB / 1.276 GB, free: 5.242 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0043/1.101, allocations: 2.521 MB / 1.278 GB, free: 3.539 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007956/1.102, allocations: 17.72 kB / 1.278 GB, free: 3.531 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001005/1.103, allocations: 252.7 kB / 1.278 GB, free: 3.406 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.001434/1.104, allocations: 0.5015 MB / 1.279 GB, free: 3.125 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001713/1.106, allocations: 0.5334 MB / 1.279 GB, free: 2.891 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.002472/1.108, allocations: 1.388 MB / 1.281 GB, free: 2.316 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003094/1.108, allocations: 103 kB / 1.281 GB, free: 2.258 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00113/1.11, allocations: 439.2 kB / 1.281 GB, free: 2.086 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007628/1.11, allocations: 488.1 kB / 1.282 GB, free: 1.887 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001042/1.11, allocations: 53.78 kB / 1.282 GB, free: 1.887 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001447/1.111, allocations: 56.56 kB / 1.282 GB, free: 1.887 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004649/1.111, allocations: 391.5 kB / 1.282 GB, free: 1.746 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.000438/1.111, allocations: 473.9 kB / 1.283 GB, free: 1.477 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.00119/1.113, allocations: 0.9494 MB / 1.284 GB, free: 1.102 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/1.113, allocations: 0 / 1.284 GB, free: 1.102 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.603e-06/1.113, allocations: 0 / 1.284 GB, free: 1.102 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.511e-05/1.113, allocations: 0 / 1.284 GB, free: 1.102 MB / 0.9981 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.002221/1.115, allocations: 1.291 MB / 1.285 GB, free: 236 kB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.089e-05/1.115, allocations: 9.781 kB / 1.285 GB, free: 236 kB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001486/1.115, allocations: 110.1 kB / 1.285 GB, free: 176 kB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001174/1.116, allocations: 0.6706 MB / 1.286 GB, free: 15.74 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.974e-05/1.116, allocations: 45.5 kB / 1.286 GB, free: 15.71 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.598e-05/1.116, allocations: 58.05 kB / 1.286 GB, free: 15.7 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000751/1.117, allocations: 412.1 kB / 1.286 GB, free: 15.48 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.605e-05/1.117, allocations: 4 kB / 1.286 GB, free: 15.47 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.742e-05/1.117, allocations: 12 kB / 1.286 GB, free: 15.46 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.245e-05/1.117, allocations: 8.656 kB / 1.286 GB, free: 15.46 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004825/1.118, allocations: 240 kB / 1.286 GB, free: 15.38 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003714/1.121, allocations: 2.492 MB / 1.289 GB, free: 13.54 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00156/1.123, allocations: 0.5261 MB / 1.289 GB, free: 13.38 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000269/1.123, allocations: 151.2 kB / 1.289 GB, free: 13.33 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 2.838e-05/1.123, allocations: 3.469 kB / 1.289 GB, free: 13.33 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.49e-05/1.123, allocations: 36.8 kB / 1.289 GB, free: 13.29 MB / 1.014 GB Notification: Performance of pre-optimization done (n=30): time 2.334e-06/1.123, allocations: 0 / 1.289 GB, free: 13.29 MB / 1.014 GB Notification: Performance of matching and sorting (n=30): time 0.00205/1.125, allocations: 0.8846 MB / 1.29 GB, free: 12.75 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.4e-05/1.125, allocations: 59.23 kB / 1.29 GB, free: 12.68 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001396/1.127, allocations: 0.9323 MB / 1.291 GB, free: 12.3 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 6.393e-05/1.127, allocations: 37.23 kB / 1.291 GB, free: 12.26 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.000367/1.127, allocations: 366.9 kB / 1.292 GB, free: 11.97 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001656/1.127, allocations: 121.2 kB / 1.292 GB, free: 11.88 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002397/1.128, allocations: 169.2 kB / 1.292 GB, free: 11.8 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0002352/1.128, allocations: 393 kB / 1.292 GB, free: 11.45 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004588/1.128, allocations: 249.3 kB / 1.293 GB, free: 11.38 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008834/1.129, allocations: 0.6413 MB / 1.293 GB, free: 10.77 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001375/1.131, allocations: 0.8851 MB / 1.294 GB, free: 10.03 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.478e-06/1.131, allocations: 2.75 kB / 1.294 GB, free: 10.03 MB / 1.014 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001929/1.133, allocations: 1.022 MB / 1.295 GB, free: 9.605 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 3.079e-05/1.133, allocations: 16.83 kB / 1.295 GB, free: 9.602 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.006e-05/1.133, allocations: 15.06 kB / 1.295 GB, free: 9.602 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005221/1.133, allocations: 132.3 kB / 1.295 GB, free: 9.547 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007838/1.134, allocations: 193.7 kB / 1.295 GB, free: 9.523 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004799/1.139, allocations: 4.477 MB / 1.3 GB, free: 5.168 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001251/1.14, allocations: 112.8 kB / 1.3 GB, free: 5.105 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.786e-05/1.14, allocations: 49.33 kB / 1.3 GB, free: 5.094 MB / 1.014 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.0004527/1.141, allocations: 267 kB / 1.3 GB, free: 4.902 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001446/1.141, allocations: 85 kB / 1.3 GB, free: 4.855 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000138/1.141, allocations: 84.2 kB / 1.3 GB, free: 4.801 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.1e-06/1.141, allocations: 4.203 kB / 1.3 GB, free: 4.801 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.294e-05/1.141, allocations: 1 kB / 1.3 GB, free: 4.801 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.882e-06/1.141, allocations: 1.828 kB / 1.3 GB, free: 4.801 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001124/1.142, allocations: 0.6578 MB / 1.301 GB, free: 4.449 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.355e-06/1.142, allocations: 1.344 kB / 1.301 GB, free: 4.449 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003353/1.142, allocations: 61.58 kB / 1.301 GB, free: 4.445 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003362/1.143, allocations: 108.8 kB / 1.301 GB, free: 4.398 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.464e-05/1.143, allocations: 9.688 kB / 1.301 GB, free: 4.395 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004129/1.147, allocations: 4.459 MB / 1.306 GB, free: 44 kB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/1.147, allocations: 0 / 1.306 GB, free: 44 kB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001361/1.148, allocations: 0.7325 MB / 1.306 GB, free: 15.67 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003597/1.148, allocations: 215.6 kB / 1.306 GB, free: 15.5 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001017/1.149, allocations: 13.05 kB / 1.306 GB, free: 15.49 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004505/1.149, allocations: 20.95 kB / 1.306 GB, free: 15.48 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.073e-05/1.149, allocations: 27.33 kB / 1.307 GB, free: 15.48 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.826e-05/1.149, allocations: 10.52 kB / 1.307 GB, free: 15.47 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.000972/1.15, allocations: 0.6243 MB / 1.307 GB, free: 15.23 MB / 1.029 GB Notification: Performance of sort global known variables: time 1e-07/1.15, allocations: 0 / 1.307 GB, free: 15.23 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0009795/1.151, allocations: 259.6 kB / 1.307 GB, free: 15.2 MB / 1.029 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.0001645/1.151, allocations: 111.6 kB / 1.307 GB, free: 15.11 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001551/1.153, allocations: 0.8988 MB / 1.308 GB, free: 14.59 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/1.153, allocations: 1 kB / 1.308 GB, free: 14.59 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.000738/1.154, allocations: 0.51 MB / 1.309 GB, free: 14.2 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009104/1.154, allocations: 179.6 kB / 1.309 GB, free: 14.12 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002782/1.157, allocations: 1.767 MB / 1.311 GB, free: 13.07 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000759/1.158, allocations: 0.9911 MB / 1.312 GB, free: 12.34 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0004483/1.158, allocations: 150.4 kB / 1.312 GB, free: 12.32 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001553/1.159, allocations: 46.59 kB / 1.312 GB, free: 12.31 MB / 1.029 GB Notification: Performance of SimCode: time 7.81e-07/1.159, allocations: 1.312 kB / 1.312 GB, free: 12.31 MB / 1.029 GB Notification: Performance of Templates: time 0.02428/1.183, allocations: 10.45 MB / 1.322 GB, free: 11.63 MB / 1.029 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.makefile [Timeout 300] (rm -f Buildings_11_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe ; mkfifo Buildings_11_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe ; head -c 1048576 < Buildings_11_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe >> ../files/Buildings_11_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.sim & ./Buildings_11_Buildings.HeatTransfer.Examples.ConductorSingleLayer2 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.HeatTransfer.Examples.ConductorSingleLayer2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_HeatTransfer_Examples_ConductorSingleLayer2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 9.701877867802978]