Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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=5000,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_9_Buildings.HeatTransfer.Examples.ConductorSingleLayer2") translateModel(Buildings.HeatTransfer.Examples.ConductorSingleLayer2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_9_Buildings.HeatTransfer.Examples.ConductorSingleLayer2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008095/0.008095, allocations: 102 kB / 15.73 MB, free: 6.051 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001567/0.001568, allocations: 191.4 kB / 16.67 MB, free: 5.965 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.381/1.381, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.218/2.218, allocations: 390.2 MB / 0.6648 GB, free: 0.6562 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0012/0.0012, allocations: 63.91 kB / 0.9508 GB, free: 7.699 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9537/0.9549, allocations: 140.4 MB / 1.088 GB, free: 5.547 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayer2): time 0.004806/0.9598, allocations: 3.737 MB / 1.092 GB, free: 2.891 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.004142/0.9639, allocations: 2.496 MB / 1.094 GB, free: 1.195 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004297/0.9644, allocations: 20.66 kB / 1.094 GB, free: 1.184 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0008295/0.9652, allocations: 258.5 kB / 1.094 GB, free: 1.047 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001044/0.9663, allocations: 0.4901 MB / 1.095 GB, free: 0.7734 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001628/0.9679, allocations: 0.5379 MB / 1.095 GB, free: 0.5391 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001958/0.9699, allocations: 1.399 MB / 1.097 GB, free: 15.95 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002874/0.9702, allocations: 141.7 kB / 1.097 GB, free: 15.89 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007153/0.9709, allocations: 441.4 kB / 1.097 GB, free: 15.71 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007037/0.9716, allocations: 469.4 kB / 1.098 GB, free: 15.51 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0001056/0.9718, allocations: 54.72 kB / 1.098 GB, free: 15.51 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001431/0.9719, allocations: 61.25 kB / 1.098 GB, free: 15.51 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0004666/0.9724, allocations: 368.8 kB / 1.098 GB, free: 15.39 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0005089/0.9729, allocations: 468.1 kB / 1.099 GB, free: 15.12 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.001118/0.974, allocations: 0.9421 MB / 1.099 GB, free: 14.75 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 4.077e-06/0.974, allocations: 0 / 1.099 GB, free: 14.75 MB / 0.8731 GB Notification: Performance of FrontEnd: time 2.214e-06/0.974, allocations: 1.188 kB / 1.099 GB, free: 14.75 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 1.529e-05/0.9741, allocations: 0 / 1.099 GB, free: 14.75 MB / 0.8731 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.002407/0.9765, allocations: 1.264 MB / 1.101 GB, free: 13.91 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.771e-05/0.9765, allocations: 13.62 kB / 1.101 GB, free: 13.91 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001704/0.9767, allocations: 103.2 kB / 1.101 GB, free: 13.86 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00109/0.9778, allocations: 0.6722 MB / 1.101 GB, free: 13.42 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.894e-05/0.9779, allocations: 41.77 kB / 1.101 GB, free: 13.4 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001005/0.978, allocations: 57.77 kB / 1.102 GB, free: 13.38 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006598/0.9786, allocations: 420.1 kB / 1.102 GB, free: 13.15 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.451e-05/0.9787, allocations: 1.625 kB / 1.102 GB, free: 13.15 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.336e-05/0.9787, allocations: 11.03 kB / 1.102 GB, free: 13.14 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.15e-05/0.9787, allocations: 8.406 kB / 1.102 GB, free: 13.14 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005208/0.9792, allocations: 240 kB / 1.102 GB, free: 13.06 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003123/0.9824, allocations: 2.484 MB / 1.105 GB, free: 11.22 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001454/0.9838, allocations: 0.5525 MB / 1.105 GB, free: 11.06 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002665/0.9841, allocations: 162.3 kB / 1.105 GB, free: 11 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 2.512e-05/0.9841, allocations: 3.406 kB / 1.105 GB, free: 11 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.73e-05/0.9842, allocations: 32.72 kB / 1.105 GB, free: 10.96 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=30): time 2.705e-06/0.9842, allocations: 5.141 kB / 1.105 GB, free: 10.96 MB / 0.8731 GB Notification: Performance of matching and sorting (n=30): time 0.001659/0.9859, allocations: 0.8941 MB / 1.106 GB, free: 10.41 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.73e-05/0.9859, allocations: 55.28 kB / 1.106 GB, free: 10.35 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001295/0.9872, allocations: 0.9287 MB / 1.107 GB, free: 9.973 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 4.606e-05/0.9873, allocations: 40.8 kB / 1.107 GB, free: 9.93 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002798/0.9875, allocations: 365.7 kB / 1.108 GB, free: 9.641 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001437/0.9877, allocations: 111.6 kB / 1.108 GB, free: 9.555 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000246/0.988, allocations: 172 kB / 1.108 GB, free: 9.473 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.000189/0.9881, allocations: 399 kB / 1.108 GB, free: 9.121 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004327/0.9886, allocations: 241.4 kB / 1.108 GB, free: 9.055 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006441/0.9892, allocations: 0.6385 MB / 1.109 GB, free: 8.445 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001064/0.9903, allocations: 0.8976 MB / 1.11 GB, free: 7.688 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.636e-06/0.9903, allocations: 4.312 kB / 1.11 GB, free: 7.688 MB / 0.8731 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001724/0.9921, allocations: 1.015 MB / 1.111 GB, free: 7.273 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.399e-05/0.9921, allocations: 10.44 kB / 1.111 GB, free: 7.273 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.886e-05/0.9921, allocations: 14.69 kB / 1.111 GB, free: 7.273 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004167/0.9925, allocations: 127.4 kB / 1.111 GB, free: 7.227 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007311/0.9933, allocations: 193.1 kB / 1.111 GB, free: 7.203 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003352/0.9966, allocations: 4.477 MB / 1.116 GB, free: 2.848 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001107/0.9978, allocations: 109.5 kB / 1.116 GB, free: 2.789 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.186e-05/0.9978, allocations: 43.16 kB / 1.116 GB, free: 2.781 MB / 0.8731 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.0003802/0.9982, allocations: 269.7 kB / 1.116 GB, free: 2.59 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001232/0.9984, allocations: 82.94 kB / 1.116 GB, free: 2.543 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001349/0.9985, allocations: 81.58 kB / 1.116 GB, free: 2.496 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.517e-06/0.9985, allocations: 2.938 kB / 1.116 GB, free: 2.496 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.053e-05/0.9985, allocations: 1.188 kB / 1.116 GB, free: 2.496 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.302e-06/0.9985, allocations: 2.484 kB / 1.116 GB, free: 2.496 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008968/0.9994, allocations: 0.658 MB / 1.117 GB, free: 2.145 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.604e-06/0.9994, allocations: 0 / 1.117 GB, free: 2.145 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003289/0.9998, allocations: 58.62 kB / 1.117 GB, free: 2.145 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003163/1, allocations: 111.9 kB / 1.117 GB, free: 2.094 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.307e-05/1, allocations: 10.09 kB / 1.117 GB, free: 2.09 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003046/1.003, allocations: 4.445 MB / 1.121 GB, free: 13.75 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.773e-06/1.003, allocations: 0.5625 kB / 1.121 GB, free: 13.75 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001115/1.004, allocations: 0.7458 MB / 1.122 GB, free: 13.36 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002949/1.005, allocations: 211.3 kB / 1.122 GB, free: 13.2 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.233e-05/1.005, allocations: 8.75 kB / 1.122 GB, free: 13.19 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004404/1.005, allocations: 21.12 kB / 1.122 GB, free: 13.19 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.322e-05/1.005, allocations: 24.23 kB / 1.122 GB, free: 13.18 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.885e-05/1.005, allocations: 9.844 kB / 1.122 GB, free: 13.18 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0009/1.006, allocations: 0.6244 MB / 1.123 GB, free: 12.93 MB / 0.8887 GB Notification: Performance of sort global known variables: time 2.8e-07/1.006, allocations: 0 / 1.123 GB, free: 12.93 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.001036/1.007, allocations: 267.7 kB / 1.123 GB, free: 12.9 MB / 0.8887 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.0001472/1.007, allocations: 112.8 kB / 1.123 GB, free: 12.8 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.001683/1.009, allocations: 0.9188 MB / 1.124 GB, free: 12.28 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/1.009, allocations: 0 / 1.124 GB, free: 12.28 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0007704/1.01, allocations: 0.522 MB / 1.125 GB, free: 11.88 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001023/1.011, allocations: 178.1 kB / 1.125 GB, free: 11.81 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003346/1.014, allocations: 1.713 MB / 1.127 GB, free: 10.79 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007819/1.015, allocations: 0.9826 MB / 1.128 GB, free: 10.07 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0004627/1.016, allocations: 151.8 kB / 1.128 GB, free: 10.05 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001487/1.016, allocations: 47.27 kB / 1.128 GB, free: 10.04 MB / 0.8887 GB Notification: Performance of SimCode: time 6.71e-07/1.016, allocations: 0 / 1.128 GB, free: 10.04 MB / 0.8887 GB Notification: Performance of Templates: time 0.0257/1.041, allocations: 10.23 MB / 1.138 GB, free: 9.422 MB / 0.8887 GB make -j1 -f Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.makefile (rm -f Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.sim & ./Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayer2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayer2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_HeatTransfer_Examples_ConductorSingleLayer2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches