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.002095/0.002095, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.00235/0.00235, allocations: 196.8 kB / 16.14 MB, free: 6.711 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.54/1.54, allocations: 222.9 MB / 239.8 MB, free: 4.602 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.838/2.838, allocations: 437 MB / 0.7099 GB, free: 5.285 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001922/0.001922, allocations: 68.03 kB / 0.8685 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7265/0.7284, allocations: 151.6 MB / 1.017 GB, free: 2.84 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayer2): time 0.005136/0.7336, allocations: 3.769 MB / 1.02 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.004496/0.7381, allocations: 2.529 MB / 1.023 GB, free: 12.51 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003991/0.7386, allocations: 15.88 kB / 1.023 GB, free: 12.49 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0007743/0.7393, allocations: 222.8 kB / 1.023 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.001064/0.7405, allocations: 477.9 kB / 1.023 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.001335/0.7418, allocations: 472.4 kB / 1.024 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.001763/0.7436, allocations: 1.624 MB / 1.025 GB, free: 9.715 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002337/0.7438, allocations: 124.8 kB / 1.026 GB, free: 9.59 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000535/0.7444, allocations: 382.5 kB / 1.026 GB, free: 9.215 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006739/0.745, allocations: 0.5215 MB / 1.026 GB, free: 8.691 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 8.692e-05/0.7451, allocations: 36 kB / 1.027 GB, free: 8.656 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001425/0.7453, allocations: 40 kB / 1.027 GB, free: 8.617 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0003286/0.7456, allocations: 319 kB / 1.027 GB, free: 8.305 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0004423/0.7461, allocations: 441.6 kB / 1.027 GB, free: 7.871 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0009004/0.747, allocations: 0.899 MB / 1.028 GB, free: 6.969 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.747, allocations: 0 / 1.028 GB, free: 6.969 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.382e-06/0.747, allocations: 0 / 1.028 GB, free: 6.969 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.264e-05/0.747, allocations: 4 kB / 1.028 GB, free: 6.965 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.002513/0.7495, allocations: 1.269 MB / 1.029 GB, free: 5.645 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.744e-05/0.7496, allocations: 19.92 kB / 1.029 GB, free: 5.625 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001676/0.7498, allocations: 99.72 kB / 1.03 GB, free: 5.527 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001043/0.7508, allocations: 0.6443 MB / 1.03 GB, free: 4.84 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.295e-05/0.7509, allocations: 41.03 kB / 1.03 GB, free: 4.801 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000101/0.751, allocations: 64.22 kB / 1.03 GB, free: 4.738 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006902/0.7517, allocations: 414.8 kB / 1.031 GB, free: 4.297 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.561e-05/0.7517, allocations: 4 kB / 1.031 GB, free: 4.293 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.399e-05/0.7517, allocations: 16 kB / 1.031 GB, free: 4.277 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.261e-05/0.7518, allocations: 8 kB / 1.031 GB, free: 4.27 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004274/0.7522, allocations: 230.4 kB / 1.031 GB, free: 4.047 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003376/0.7556, allocations: 2.502 MB / 1.033 GB, free: 1.363 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001542/0.7571, allocations: 0.5455 MB / 1.034 GB, free: 0.8086 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002714/0.7574, allocations: 160.8 kB / 1.034 GB, free: 0.6484 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.481e-05/0.7575, allocations: 4 kB / 1.034 GB, free: 0.6445 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.441e-05/0.7575, allocations: 38.56 kB / 1.034 GB, free: 0.5977 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=30): time 1.853e-06/0.7575, allocations: 0 / 1.034 GB, free: 0.5977 MB / 0.7794 GB Notification: Performance of matching and sorting (n=30): time 0.001755/0.7593, allocations: 0.8968 MB / 1.035 GB, free: 15.63 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.764e-05/0.7593, allocations: 55.41 kB / 1.035 GB, free: 15.56 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001299/0.7606, allocations: 0.927 MB / 1.036 GB, free: 14.63 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 4.332e-05/0.7607, allocations: 37.7 kB / 1.036 GB, free: 14.59 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003281/0.761, allocations: 356.9 kB / 1.036 GB, free: 14.23 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.000123/0.7612, allocations: 122.3 kB / 1.036 GB, free: 14.11 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002235/0.7614, allocations: 174.6 kB / 1.037 GB, free: 13.93 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0002145/0.7616, allocations: 390.7 kB / 1.037 GB, free: 13.54 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004279/0.762, allocations: 245.8 kB / 1.037 GB, free: 13.3 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007288/0.7628, allocations: 0.6387 MB / 1.038 GB, free: 12.47 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001142/0.7639, allocations: 0.8989 MB / 1.039 GB, free: 11.38 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.037e-06/0.7639, allocations: 4 kB / 1.039 GB, free: 11.37 MB / 0.795 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001681/0.7656, allocations: 1.014 MB / 1.04 GB, free: 10.34 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.542e-05/0.7657, allocations: 12 kB / 1.04 GB, free: 10.33 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.876e-05/0.7657, allocations: 12 kB / 1.04 GB, free: 10.32 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000413/0.7661, allocations: 134.6 kB / 1.04 GB, free: 10.18 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006311/0.7668, allocations: 187.7 kB / 1.04 GB, free: 9.992 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003634/0.7704, allocations: 4.149 MB / 1.044 GB, free: 5.441 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008668/0.7713, allocations: 123 kB / 1.044 GB, free: 5.32 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.42e-05/0.7713, allocations: 40 kB / 1.044 GB, free: 5.281 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.0003613/0.7717, allocations: 277.8 kB / 1.044 GB, free: 5 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001311/0.7718, allocations: 78.97 kB / 1.045 GB, free: 4.922 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001231/0.772, allocations: 76.53 kB / 1.045 GB, free: 4.848 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.907e-06/0.772, allocations: 8 kB / 1.045 GB, free: 4.84 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.666e-06/0.772, allocations: 3.938 kB / 1.045 GB, free: 4.836 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.2e-06/0.772, allocations: 3.984 kB / 1.045 GB, free: 4.832 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008062/0.7728, allocations: 0.6492 MB / 1.045 GB, free: 4.133 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.7728, allocations: 3.938 kB / 1.045 GB, free: 4.129 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003367/0.7732, allocations: 63.94 kB / 1.045 GB, free: 4.066 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003088/0.7735, allocations: 106.4 kB / 1.045 GB, free: 3.953 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.091e-05/0.7735, allocations: 8 kB / 1.045 GB, free: 3.945 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003618/0.7772, allocations: 4.142 MB / 1.049 GB, free: 15.4 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.7772, allocations: 0 / 1.049 GB, free: 15.4 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001159/0.7783, allocations: 0.7413 MB / 1.05 GB, free: 14.64 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002971/0.7786, allocations: 203.9 kB / 1.05 GB, free: 14.42 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.246e-05/0.7787, allocations: 12 kB / 1.05 GB, free: 14.41 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004513/0.7792, allocations: 27.97 kB / 1.05 GB, free: 14.38 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.931e-05/0.7793, allocations: 23.89 kB / 1.05 GB, free: 14.36 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.107e-05/0.7793, allocations: 12 kB / 1.05 GB, free: 14.34 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0008983/0.7802, allocations: 0.6161 MB / 1.051 GB, free: 13.73 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.61e-07/0.7802, allocations: 0 / 1.051 GB, free: 13.73 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0008769/0.7811, allocations: 267.8 kB / 1.051 GB, free: 13.47 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.0001591/0.7813, allocations: 115.3 kB / 1.051 GB, free: 13.35 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.00144/0.7827, allocations: 0.9166 MB / 1.052 GB, free: 12.39 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.417e-06/0.7827, allocations: 320 / 1.052 GB, free: 12.39 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0006647/0.7834, allocations: 0.5311 MB / 1.053 GB, free: 11.82 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009405/0.7844, allocations: 171.1 kB / 1.053 GB, free: 11.65 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002921/0.7873, allocations: 1.963 MB / 1.055 GB, free: 9.66 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007144/0.788, allocations: 0.9917 MB / 1.056 GB, free: 8.641 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0004219/0.7885, allocations: 145.9 kB / 1.056 GB, free: 8.496 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000149/0.7886, allocations: 43.44 kB / 1.056 GB, free: 8.453 MB / 0.8106 GB Notification: Performance of SimCode: time 3.2e-07/0.7886, allocations: 0 / 1.056 GB, free: 8.453 MB / 0.8106 GB Notification: Performance of Templates: time 0.01922/0.8078, allocations: 9.655 MB / 1.066 GB, free: 14.91 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=400 -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