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.001421/0.001421, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001462/0.001463, allocations: 193 kB / 16.26 MB, free: 6.621 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.461/1.461, allocations: 222.9 MB / 239.9 MB, free: 4.441 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.815/2.815, allocations: 437 MB / 0.7101 GB, free: 5.273 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00194/0.00194, allocations: 63.89 kB / 0.8687 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7132/0.7152, allocations: 151.6 MB / 1.017 GB, free: 2.773 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayer2): time 0.005453/0.7207, allocations: 3.777 MB / 1.02 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.00432/0.725, allocations: 2.494 MB / 1.023 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000329/0.7254, allocations: 11.94 kB / 1.023 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0007538/0.7261, allocations: 226.8 kB / 1.023 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0009582/0.7271, allocations: 458 kB / 1.024 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.001298/0.7284, allocations: 0.4971 MB / 1.024 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.001554/0.73, allocations: 1.379 MB / 1.025 GB, free: 9.906 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002768/0.7303, allocations: 153.1 kB / 1.026 GB, free: 9.754 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005749/0.7309, allocations: 430.4 kB / 1.026 GB, free: 9.332 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007329/0.7316, allocations: 0.5411 MB / 1.026 GB, free: 8.789 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 9.83e-05/0.7317, allocations: 56 kB / 1.027 GB, free: 8.734 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001248/0.7319, allocations: 68 kB / 1.027 GB, free: 8.668 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0003319/0.7322, allocations: 342.9 kB / 1.027 GB, free: 8.332 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0004723/0.7327, allocations: 465.7 kB / 1.027 GB, free: 7.875 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.001096/0.7338, allocations: 0.9263 MB / 1.028 GB, free: 6.945 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.7338, allocations: 0 / 1.028 GB, free: 6.945 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.904e-06/0.7338, allocations: 0 / 1.028 GB, free: 6.945 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 9.818e-06/0.7338, allocations: 0 / 1.028 GB, free: 6.945 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.002354/0.7362, allocations: 1.272 MB / 1.03 GB, free: 5.621 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.183e-05/0.7362, allocations: 15.98 kB / 1.03 GB, free: 5.605 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001641/0.7364, allocations: 99.72 kB / 1.03 GB, free: 5.508 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001015/0.7374, allocations: 0.6482 MB / 1.03 GB, free: 4.816 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.84e-05/0.7375, allocations: 37.03 kB / 1.03 GB, free: 4.781 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.975e-05/0.7376, allocations: 60.28 kB / 1.03 GB, free: 4.723 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006794/0.7383, allocations: 418.9 kB / 1.031 GB, free: 4.277 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.433e-05/0.7383, allocations: 0 / 1.031 GB, free: 4.277 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.526e-05/0.7383, allocations: 12 kB / 1.031 GB, free: 4.266 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.21e-05/0.7383, allocations: 11.94 kB / 1.031 GB, free: 4.254 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000426/0.7388, allocations: 238.4 kB / 1.031 GB, free: 4.023 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00324/0.742, allocations: 2.494 MB / 1.033 GB, free: 1.348 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00154/0.7436, allocations: 0.5465 MB / 1.034 GB, free: 0.793 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002796/0.7439, allocations: 164.8 kB / 1.034 GB, free: 0.6289 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.714e-05/0.7439, allocations: 4 kB / 1.034 GB, free: 0.625 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.867e-05/0.7439, allocations: 34.56 kB / 1.034 GB, free: 0.582 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=30): time 1.733e-06/0.744, allocations: 0 / 1.034 GB, free: 0.582 MB / 0.7794 GB Notification: Performance of matching and sorting (n=30): time 0.001723/0.7457, allocations: 0.8936 MB / 1.035 GB, free: 15.62 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.261e-05/0.7457, allocations: 55.41 kB / 1.035 GB, free: 15.55 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001247/0.747, allocations: 0.927 MB / 1.036 GB, free: 14.62 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 4.799e-05/0.747, allocations: 37.7 kB / 1.036 GB, free: 14.57 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003108/0.7474, allocations: 364.9 kB / 1.036 GB, free: 14.21 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001385/0.7475, allocations: 118.2 kB / 1.037 GB, free: 14.09 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002267/0.7477, allocations: 170.6 kB / 1.037 GB, free: 13.92 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0002139/0.748, allocations: 394.7 kB / 1.037 GB, free: 13.53 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004168/0.7484, allocations: 241.8 kB / 1.037 GB, free: 13.29 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007481/0.7492, allocations: 0.6387 MB / 1.038 GB, free: 12.46 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001187/0.7503, allocations: 0.895 MB / 1.039 GB, free: 11.37 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.464e-06/0.7504, allocations: 4 kB / 1.039 GB, free: 11.36 MB / 0.795 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001739/0.7521, allocations: 1.014 MB / 1.04 GB, free: 10.33 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.66e-05/0.7521, allocations: 12 kB / 1.04 GB, free: 10.32 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.673e-05/0.7522, allocations: 16.41 kB / 1.04 GB, free: 10.3 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004333/0.7526, allocations: 130.4 kB / 1.04 GB, free: 10.17 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006615/0.7533, allocations: 191.7 kB / 1.04 GB, free: 9.98 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003854/0.7572, allocations: 4.481 MB / 1.044 GB, free: 5.078 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009469/0.7581, allocations: 111 kB / 1.045 GB, free: 4.969 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.758e-05/0.7582, allocations: 44 kB / 1.045 GB, free: 4.926 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.0003834/0.7586, allocations: 273.3 kB / 1.045 GB, free: 4.648 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001339/0.7587, allocations: 82.95 kB / 1.045 GB, free: 4.566 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001205/0.7588, allocations: 80.53 kB / 1.045 GB, free: 4.488 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/0.7588, allocations: 0 / 1.045 GB, free: 4.488 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.676e-06/0.7589, allocations: 7.938 kB / 1.045 GB, free: 4.48 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.102e-06/0.7589, allocations: 4 kB / 1.045 GB, free: 4.477 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008484/0.7597, allocations: 0.657 MB / 1.046 GB, free: 3.77 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.7597, allocations: 0 / 1.046 GB, free: 3.77 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003462/0.7601, allocations: 63.89 kB / 1.046 GB, free: 3.707 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003271/0.7604, allocations: 106.5 kB / 1.046 GB, free: 3.594 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3e-05/0.7605, allocations: 8 kB / 1.046 GB, free: 3.586 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003764/0.7642, allocations: 4.457 MB / 1.05 GB, free: 14.7 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.7643, allocations: 0 / 1.05 GB, free: 14.7 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001192/0.7655, allocations: 0.7369 MB / 1.051 GB, free: 13.95 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000318/0.7658, allocations: 211.9 kB / 1.051 GB, free: 13.72 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.573e-05/0.7659, allocations: 8 kB / 1.051 GB, free: 13.71 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004775/0.7664, allocations: 23.97 kB / 1.051 GB, free: 13.69 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.226e-05/0.7665, allocations: 31.91 kB / 1.051 GB, free: 13.66 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.787e-05/0.7665, allocations: 4 kB / 1.051 GB, free: 13.65 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0008994/0.7674, allocations: 0.6278 MB / 1.052 GB, free: 13.03 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.7e-07/0.7674, allocations: 0 / 1.052 GB, free: 13.03 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0009934/0.7684, allocations: 267.8 kB / 1.052 GB, free: 12.77 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.0001552/0.7686, allocations: 107.8 kB / 1.052 GB, free: 12.65 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.00158/0.7702, allocations: 0.9675 MB / 1.053 GB, free: 11.65 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.7702, allocations: 0 / 1.053 GB, free: 11.65 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0006651/0.7708, allocations: 0.5199 MB / 1.054 GB, free: 11.09 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008896/0.7717, allocations: 171.3 kB / 1.054 GB, free: 10.92 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002871/0.7746, allocations: 1.985 MB / 1.056 GB, free: 8.906 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006499/0.7753, allocations: 0.9839 MB / 1.057 GB, free: 7.895 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0004385/0.7757, allocations: 149.8 kB / 1.057 GB, free: 7.746 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001458/0.7759, allocations: 47.44 kB / 1.057 GB, free: 7.699 MB / 0.8106 GB Notification: Performance of SimCode: time 2.865e-06/0.7759, allocations: 0 / 1.057 GB, free: 7.699 MB / 0.8106 GB Notification: Performance of Templates: time 0.01896/0.7949, allocations: 10.09 MB / 1.067 GB, free: 13.72 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