Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001436/0.001436, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001783/0.001783, allocations: 193.2 kB / 16.14 MB, free: 6.645 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.414/1.414, allocations: 222.9 MB / 239.8 MB, free: 4.488 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.615/2.615, allocations: 437 MB / 0.7099 GB, free: 5.254 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001259/0.001259, allocations: 63.89 kB / 0.8685 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7475/0.7487, allocations: 151.6 MB / 1.017 GB, free: 2.734 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayer2): time 0.005016/0.7538, allocations: 3.769 MB / 1.02 GB, free: 14.94 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.004442/0.7583, allocations: 2.541 MB / 1.023 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000344/0.7586, allocations: 19.88 kB / 1.023 GB, free: 12.37 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0008063/0.7595, allocations: 218.8 kB / 1.023 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.000967/0.7605, allocations: 469.9 kB / 1.023 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.001223/0.7617, allocations: 467.2 kB / 1.024 GB, free: 11.24 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.001658/0.7634, allocations: 1.628 MB / 1.025 GB, free: 9.605 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002544/0.7637, allocations: 129.3 kB / 1.026 GB, free: 9.477 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004926/0.7642, allocations: 378.5 kB / 1.026 GB, free: 9.105 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006266/0.7648, allocations: 0.5176 MB / 1.026 GB, free: 8.586 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 8.733e-05/0.7649, allocations: 36 kB / 1.026 GB, free: 8.551 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001358/0.765, allocations: 40 kB / 1.027 GB, free: 8.512 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0003378/0.7654, allocations: 323 kB / 1.027 GB, free: 8.195 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0004187/0.7658, allocations: 437.7 kB / 1.027 GB, free: 7.766 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0007929/0.7666, allocations: 0.9068 MB / 1.028 GB, free: 6.855 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.7666, allocations: 0 / 1.028 GB, free: 6.855 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.272e-06/0.7666, allocations: 0 / 1.028 GB, free: 6.855 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 9.858e-06/0.7666, allocations: 0 / 1.028 GB, free: 6.855 MB / 0.7794 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.00244/0.7691, allocations: 1.261 MB / 1.029 GB, free: 5.543 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.565e-05/0.7691, allocations: 15.97 kB / 1.029 GB, free: 5.527 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001626/0.7693, allocations: 107.7 kB / 1.029 GB, free: 5.422 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009719/0.7703, allocations: 0.6481 MB / 1.03 GB, free: 4.73 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.502e-05/0.7703, allocations: 41.03 kB / 1.03 GB, free: 4.691 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.999e-05/0.7704, allocations: 64.22 kB / 1.03 GB, free: 4.629 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006394/0.7711, allocations: 414.9 kB / 1.031 GB, free: 4.188 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.241e-05/0.7711, allocations: 0 / 1.031 GB, free: 4.188 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.4e-05/0.7712, allocations: 12 kB / 1.031 GB, free: 4.176 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.376e-05/0.7712, allocations: 8 kB / 1.031 GB, free: 4.168 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004149/0.7716, allocations: 238.4 kB / 1.031 GB, free: 3.938 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002945/0.7745, allocations: 2.498 MB / 1.033 GB, free: 1.258 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001471/0.776, allocations: 0.5571 MB / 1.034 GB, free: 0.6914 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002588/0.7763, allocations: 156.8 kB / 1.034 GB, free: 0.5352 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.166e-05/0.7763, allocations: 4 kB / 1.034 GB, free: 0.5312 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.863e-05/0.7764, allocations: 46.55 kB / 1.034 GB, free: 488 kB / 0.7794 GB Notification: Performance of pre-optimization done (n=30): time 1.663e-06/0.7764, allocations: 0 / 1.034 GB, free: 488 kB / 0.7794 GB Notification: Performance of matching and sorting (n=30): time 0.001668/0.7781, allocations: 0.8817 MB / 1.035 GB, free: 15.52 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.676e-05/0.7781, allocations: 55.41 kB / 1.035 GB, free: 15.46 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001197/0.7793, allocations: 0.9309 MB / 1.036 GB, free: 14.52 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 3.989e-05/0.7794, allocations: 37.7 kB / 1.036 GB, free: 14.48 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002732/0.7796, allocations: 368.9 kB / 1.036 GB, free: 14.11 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001062/0.7798, allocations: 114.3 kB / 1.036 GB, free: 14 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002026/0.78, allocations: 166.6 kB / 1.037 GB, free: 13.83 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001582/0.7801, allocations: 398.7 kB / 1.037 GB, free: 13.43 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003985/0.7805, allocations: 241.8 kB / 1.037 GB, free: 13.19 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000633/0.7812, allocations: 0.6426 MB / 1.038 GB, free: 12.36 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001021/0.7822, allocations: 0.895 MB / 1.039 GB, free: 11.27 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.654e-06/0.7822, allocations: 4 kB / 1.039 GB, free: 11.26 MB / 0.795 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001628/0.7839, allocations: 1.014 MB / 1.04 GB, free: 10.23 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.228e-05/0.7839, allocations: 12 kB / 1.04 GB, free: 10.22 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.144e-05/0.7839, allocations: 16.5 kB / 1.04 GB, free: 10.2 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004409/0.7844, allocations: 122.4 kB / 1.04 GB, free: 10.07 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006537/0.785, allocations: 191.6 kB / 1.04 GB, free: 9.887 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003256/0.7883, allocations: 4.161 MB / 1.044 GB, free: 5.324 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001028/0.7894, allocations: 114.9 kB / 1.044 GB, free: 5.211 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.029e-05/0.7894, allocations: 40 kB / 1.044 GB, free: 5.172 MB / 0.795 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.0003612/0.7898, allocations: 277.4 kB / 1.044 GB, free: 4.891 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001264/0.7899, allocations: 78.97 kB / 1.045 GB, free: 4.812 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001213/0.7901, allocations: 80.52 kB / 1.045 GB, free: 4.734 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.527e-06/0.7901, allocations: 4 kB / 1.045 GB, free: 4.73 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.216e-05/0.7901, allocations: 7.938 kB / 1.045 GB, free: 4.723 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.429e-06/0.7901, allocations: 3.938 kB / 1.045 GB, free: 4.719 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007263/0.7908, allocations: 0.6531 MB / 1.045 GB, free: 4.016 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.7908, allocations: 3.938 kB / 1.045 GB, free: 4.012 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003442/0.7912, allocations: 59.95 kB / 1.045 GB, free: 3.953 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003265/0.7915, allocations: 106.4 kB / 1.045 GB, free: 3.84 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.244e-05/0.7916, allocations: 15.98 kB / 1.045 GB, free: 3.824 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002994/0.7946, allocations: 4.13 MB / 1.049 GB, free: 15.29 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.7946, allocations: 0 / 1.049 GB, free: 15.29 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001148/0.7957, allocations: 0.7329 MB / 1.05 GB, free: 14.54 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003012/0.796, allocations: 212 kB / 1.05 GB, free: 14.31 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001005/0.7962, allocations: 11.98 kB / 1.05 GB, free: 14.3 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004727/0.7966, allocations: 23.97 kB / 1.05 GB, free: 14.27 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.998e-05/0.7967, allocations: 27.91 kB / 1.05 GB, free: 14.25 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.877e-05/0.7967, allocations: 8 kB / 1.05 GB, free: 14.24 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0008299/0.7976, allocations: 0.6239 MB / 1.051 GB, free: 13.62 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.9e-07/0.7976, allocations: 0 / 1.051 GB, free: 13.62 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0009034/0.7985, allocations: 263.8 kB / 1.051 GB, free: 13.36 MB / 0.8106 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.0001595/0.7987, allocations: 115.7 kB / 1.051 GB, free: 13.24 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.001437/0.8001, allocations: 0.9363 MB / 1.052 GB, free: 12.27 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/0.8001, allocations: 0 / 1.052 GB, free: 12.27 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0006253/0.8008, allocations: 0.5233 MB / 1.053 GB, free: 11.7 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009398/0.8017, allocations: 166.1 kB / 1.053 GB, free: 11.54 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002686/0.8044, allocations: 1.963 MB / 1.055 GB, free: 9.551 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006037/0.805, allocations: 0.9917 MB / 1.056 GB, free: 8.531 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0004747/0.8055, allocations: 145.9 kB / 1.056 GB, free: 8.387 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001645/0.8057, allocations: 51.42 kB / 1.056 GB, free: 8.336 MB / 0.8106 GB Notification: Performance of SimCode: time 7.41e-07/0.8057, allocations: 0 / 1.056 GB, free: 8.336 MB / 0.8106 GB Notification: Performance of Templates: time 0.01775/0.8234, allocations: 9.65 MB / 1.065 GB, free: 14.79 MB / 0.8262 GB make -j1 -f Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.makefile (rm -f Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe ; mkfifo Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe ; head -c 1048576 < Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe >> ../files/Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.sim & ./Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayer2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayer2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_HeatTransfer_Examples_ConductorSingleLayer2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches