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.00182/0.00182, allocations: 106.1 kB / 15.99 MB, free: 6.355 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.002042/0.002042, allocations: 189.5 kB / 16.91 MB, free: 6.18 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.397/1.397, allocations: 222.9 MB / 240.6 MB, free: 15.43 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.239/2.239, allocations: 390.2 MB / 0.665 GB, free: 0.9219 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.002622/0.002622, allocations: 65.78 kB / 0.8127 GB, free: 33.26 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2742/0.2769, allocations: 140.4 MB / 0.9498 GB, free: 9.254 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayer2): time 0.005161/0.2821, allocations: 3.763 MB / 0.9534 GB, free: 5.465 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.004425/0.2865, allocations: 2.498 MB / 0.9559 GB, free: 2.957 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005395/0.2871, allocations: 19.88 kB / 0.9559 GB, free: 2.938 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0008938/0.288, allocations: 222.8 kB / 0.9561 GB, free: 2.719 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.001207/0.2892, allocations: 462 kB / 0.9565 GB, free: 2.266 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001336/0.2906, allocations: 499.1 kB / 0.957 GB, free: 1.777 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.001706/0.2923, allocations: 1.387 MB / 0.9584 GB, free: 396 kB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002822/0.2926, allocations: 141.1 kB / 0.9585 GB, free: 256 kB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007324/0.2934, allocations: 438.4 kB / 0.9589 GB, free: 15.82 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007972/0.2942, allocations: 0.545 MB / 0.9595 GB, free: 15.27 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0001329/0.2943, allocations: 56 kB / 0.9595 GB, free: 15.22 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001833/0.2945, allocations: 64 kB / 0.9596 GB, free: 15.16 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.000323/0.2948, allocations: 343 kB / 0.9599 GB, free: 14.82 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0005467/0.2954, allocations: 461.7 kB / 0.9603 GB, free: 14.37 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.0007076/0.2961, allocations: 0.7249 MB / 0.961 GB, free: 13.64 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 4.087e-06/0.2961, allocations: 0 / 0.961 GB, free: 13.64 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.242e-06/0.2961, allocations: 4 kB / 0.961 GB, free: 13.64 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 2.927e-05/0.2962, allocations: 0 / 0.961 GB, free: 13.64 MB / 0.7481 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.002541/0.2987, allocations: 1.265 MB / 0.9623 GB, free: 12.32 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.029e-05/0.2988, allocations: 8.031 kB / 0.9623 GB, free: 12.31 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002264/0.299, allocations: 107.7 kB / 0.9624 GB, free: 12.2 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001078/0.3001, allocations: 0.6558 MB / 0.963 GB, free: 11.5 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.026e-05/0.3001, allocations: 37.03 kB / 0.9631 GB, free: 11.47 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.46e-05/0.3002, allocations: 60.28 kB / 0.9631 GB, free: 11.41 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006305/0.3008, allocations: 418.9 kB / 0.9635 GB, free: 10.97 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.26e-05/0.3009, allocations: 0 / 0.9635 GB, free: 10.97 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.22e-05/0.3009, allocations: 12 kB / 0.9635 GB, free: 10.96 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.308e-06/0.3009, allocations: 8 kB / 0.9635 GB, free: 10.95 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000406/0.3013, allocations: 242.4 kB / 0.9638 GB, free: 10.71 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003232/0.3046, allocations: 2.498 MB / 0.9662 GB, free: 8.031 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001469/0.3061, allocations: 0.5589 MB / 0.9668 GB, free: 7.469 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002599/0.3063, allocations: 164.7 kB / 0.9669 GB, free: 7.305 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 2.534e-05/0.3064, allocations: 4 kB / 0.9669 GB, free: 7.301 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.542e-05/0.3064, allocations: 38.56 kB / 0.967 GB, free: 7.254 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=30): time 1.833e-06/0.3064, allocations: 0 / 0.967 GB, free: 7.254 MB / 0.7481 GB Notification: Performance of matching and sorting (n=30): time 0.001629/0.308, allocations: 0.8813 MB / 0.9678 GB, free: 6.301 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.639e-05/0.3081, allocations: 59.39 kB / 0.9679 GB, free: 6.23 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001182/0.3093, allocations: 0.9231 MB / 0.9688 GB, free: 5.297 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 4.405e-05/0.3093, allocations: 41.7 kB / 0.9688 GB, free: 5.25 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.000291/0.3096, allocations: 372.8 kB / 0.9692 GB, free: 4.879 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001229/0.3098, allocations: 114.3 kB / 0.9693 GB, free: 4.766 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002082/0.31, allocations: 166.6 kB / 0.9694 GB, free: 4.598 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001752/0.3102, allocations: 398.7 kB / 0.9698 GB, free: 4.199 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003876/0.3106, allocations: 237.8 kB / 0.97 GB, free: 3.965 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006317/0.3112, allocations: 0.6388 MB / 0.9707 GB, free: 3.137 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001057/0.3123, allocations: 0.8953 MB / 0.9715 GB, free: 2.047 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.568e-06/0.3123, allocations: 4 kB / 0.9715 GB, free: 2.043 MB / 0.7481 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.00164/0.3139, allocations: 1.014 MB / 0.9725 GB, free: 1.012 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.444e-05/0.314, allocations: 12 kB / 0.9725 GB, free: 1 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.136e-05/0.314, allocations: 16 kB / 0.9726 GB, free: 0.9844 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004178/0.3144, allocations: 126.8 kB / 0.9727 GB, free: 0.8516 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006114/0.315, allocations: 191.7 kB / 0.9729 GB, free: 0.6641 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00337/0.3184, allocations: 4.473 MB / 0.9772 GB, free: 11.77 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009353/0.3194, allocations: 114.9 kB / 0.9773 GB, free: 11.65 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.165e-05/0.3194, allocations: 44 kB / 0.9774 GB, free: 11.61 MB / 0.7637 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.0003347/0.3198, allocations: 273.4 kB / 0.9776 GB, free: 11.33 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001639/0.3199, allocations: 79.16 kB / 0.9777 GB, free: 11.25 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001271/0.3201, allocations: 84.52 kB / 0.9778 GB, free: 11.17 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.41e-06/0.3201, allocations: 7.984 kB / 0.9778 GB, free: 11.16 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.884e-06/0.3201, allocations: 0 / 0.9778 GB, free: 11.16 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.588e-06/0.3201, allocations: 0 / 0.9778 GB, free: 11.16 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008077/0.3209, allocations: 0.6609 MB / 0.9785 GB, free: 10.45 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.3209, allocations: 0 / 0.9785 GB, free: 10.45 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003216/0.3213, allocations: 63.89 kB / 0.9785 GB, free: 10.39 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003101/0.3216, allocations: 98.5 kB / 0.9786 GB, free: 10.29 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.408e-05/0.3216, allocations: 15.98 kB / 0.9786 GB, free: 10.27 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003089/0.3247, allocations: 4.449 MB / 0.983 GB, free: 5.402 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.3247, allocations: 0 / 0.983 GB, free: 5.402 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001043/0.3258, allocations: 0.7359 MB / 0.9837 GB, free: 4.641 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002994/0.3261, allocations: 211.9 kB / 0.9839 GB, free: 4.414 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001114/0.3262, allocations: 11.94 kB / 0.9839 GB, free: 4.402 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004617/0.3267, allocations: 23.95 kB / 0.9839 GB, free: 4.379 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.282e-05/0.3268, allocations: 23.97 kB / 0.984 GB, free: 4.355 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.615e-05/0.3268, allocations: 8 kB / 0.984 GB, free: 4.348 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.0008343/0.3276, allocations: 0.6239 MB / 0.9846 GB, free: 3.727 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3276, allocations: 0 / 0.9846 GB, free: 3.727 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.0008492/0.3285, allocations: 271.7 kB / 0.9848 GB, free: 3.461 MB / 0.7637 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.0001343/0.3286, allocations: 112.1 kB / 0.9849 GB, free: 3.344 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.001374/0.33, allocations: 0.9718 MB / 0.9859 GB, free: 2.336 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.33, allocations: 0 / 0.9859 GB, free: 2.336 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.0005803/0.3306, allocations: 0.5235 MB / 0.9864 GB, free: 1.773 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008372/0.3315, allocations: 167.5 kB / 0.9866 GB, free: 1.609 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002741/0.3342, allocations: 2.018 MB / 0.9885 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005648/0.3348, allocations: 0.9839 MB / 0.9895 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001582/0.335, allocations: 47.44 kB / 0.9895 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of SimCode: time 4.51e-07/0.335, allocations: 7.938 kB / 0.9895 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of Templates: time 0.02117/0.3562, allocations: 17.58 MB / 1.007 GB, free: 12.93 MB / 0.795 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches