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.007133/0.007133, allocations: 101.1 kB / 15.73 MB, free: 6.469 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.001492/0.001492, allocations: 193.8 kB / 16.67 MB, free: 6.379 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.444/1.444, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.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.423/2.423, allocations: 390.2 MB / 0.6648 GB, free: 180 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001217/0.001217, allocations: 69.41 kB / 0.9508 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2712/0.2724, allocations: 140.4 MB / 1.088 GB, free: 1.504 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayer2): time 0.004928/0.2774, allocations: 3.747 MB / 1.092 GB, free: 13.73 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.004149/0.2816, allocations: 2.494 MB / 1.094 GB, free: 11.22 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003575/0.282, allocations: 11.94 kB / 1.094 GB, free: 11.21 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0007517/0.2827, allocations: 258.3 kB / 1.094 GB, free: 10.96 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0009221/0.2837, allocations: 497.6 kB / 1.095 GB, free: 10.47 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0013/0.285, allocations: 0.5438 MB / 1.095 GB, free: 9.926 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001399/0.2864, allocations: 1.39 MB / 1.097 GB, free: 8.531 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000241/0.2867, allocations: 153 kB / 1.097 GB, free: 8.379 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005207/0.2872, allocations: 442.5 kB / 1.097 GB, free: 7.945 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005991/0.2878, allocations: 462.2 kB / 1.098 GB, free: 7.492 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001111/0.2879, allocations: 52 kB / 1.098 GB, free: 7.441 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001316/0.2881, allocations: 60 kB / 1.098 GB, free: 7.383 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0003698/0.2884, allocations: 374.9 kB / 1.098 GB, free: 7.016 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0003761/0.2888, allocations: 469.6 kB / 1.099 GB, free: 6.555 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0007972/0.2896, allocations: 0.9342 MB / 1.099 GB, free: 5.617 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.339e-06/0.2897, allocations: 0 / 1.099 GB, free: 5.617 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.543e-06/0.2897, allocations: 4 kB / 1.099 GB, free: 5.613 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.446e-05/0.2897, allocations: 0 / 1.099 GB, free: 5.613 MB / 0.8575 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.002141/0.2918, allocations: 1.265 MB / 1.101 GB, free: 4.297 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.277e-05/0.2919, allocations: 8.031 kB / 1.101 GB, free: 4.289 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001651/0.292, allocations: 103.7 kB / 1.101 GB, free: 4.188 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009548/0.293, allocations: 0.6714 MB / 1.101 GB, free: 3.473 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.51e-05/0.293, allocations: 44.97 kB / 1.101 GB, free: 3.43 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.248e-05/0.2931, allocations: 56.38 kB / 1.102 GB, free: 3.375 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005794/0.2937, allocations: 414.9 kB / 1.102 GB, free: 2.934 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.167e-05/0.2937, allocations: 0 / 1.102 GB, free: 2.934 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.217e-05/0.2938, allocations: 16 kB / 1.102 GB, free: 2.918 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.007e-06/0.2938, allocations: 8 kB / 1.102 GB, free: 2.91 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003883/0.2942, allocations: 234.4 kB / 1.102 GB, free: 2.684 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002772/0.297, allocations: 2.486 MB / 1.105 GB, free: 16 kB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001452/0.2984, allocations: 0.5576 MB / 1.105 GB, free: 15.45 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002449/0.2987, allocations: 160.8 kB / 1.105 GB, free: 15.29 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 2.097e-05/0.2987, allocations: 4 kB / 1.105 GB, free: 15.29 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.27e-05/0.2988, allocations: 38.55 kB / 1.105 GB, free: 15.24 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=30): time 1.653e-06/0.2988, allocations: 4 kB / 1.105 GB, free: 15.23 MB / 0.8731 GB Notification: Performance of matching and sorting (n=30): time 0.00157/0.3003, allocations: 0.8861 MB / 1.106 GB, free: 14.28 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.724e-05/0.3004, allocations: 59.41 kB / 1.106 GB, free: 14.21 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001087/0.3015, allocations: 0.9232 MB / 1.107 GB, free: 13.27 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 4.301e-05/0.3015, allocations: 41.7 kB / 1.107 GB, free: 13.23 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002652/0.3018, allocations: 364.8 kB / 1.108 GB, free: 12.86 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001045/0.3019, allocations: 118.3 kB / 1.108 GB, free: 12.75 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001868/0.3021, allocations: 170.6 kB / 1.108 GB, free: 12.57 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001589/0.3023, allocations: 394.7 kB / 1.108 GB, free: 12.18 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003768/0.3027, allocations: 249.8 kB / 1.108 GB, free: 11.93 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006034/0.3033, allocations: 0.6387 MB / 1.109 GB, free: 11.1 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009971/0.3043, allocations: 0.8954 MB / 1.11 GB, free: 10.01 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.535e-06/0.3043, allocations: 4 kB / 1.11 GB, free: 10.01 MB / 0.8731 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001748/0.306, allocations: 1.014 MB / 1.111 GB, free: 8.977 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 3.648e-05/0.3061, allocations: 12 kB / 1.111 GB, free: 8.965 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.337e-05/0.3061, allocations: 12 kB / 1.111 GB, free: 8.953 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004828/0.3066, allocations: 130.6 kB / 1.111 GB, free: 8.816 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006748/0.3073, allocations: 187.7 kB / 1.111 GB, free: 8.633 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003641/0.311, allocations: 4.477 MB / 1.116 GB, free: 3.73 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00104/0.312, allocations: 107 kB / 1.116 GB, free: 3.625 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.75e-05/0.3121, allocations: 44 kB / 1.116 GB, free: 3.582 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.0003593/0.3125, allocations: 278.5 kB / 1.116 GB, free: 3.301 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001134/0.3126, allocations: 78.97 kB / 1.116 GB, free: 3.223 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001212/0.3127, allocations: 76.53 kB / 1.116 GB, free: 3.148 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-06/0.3127, allocations: 4 kB / 1.116 GB, free: 3.145 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.065e-06/0.3127, allocations: 3.938 kB / 1.116 GB, free: 3.141 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.883e-06/0.3127, allocations: 7.984 kB / 1.116 GB, free: 3.133 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008211/0.3136, allocations: 0.653 MB / 1.117 GB, free: 2.43 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.3136, allocations: 4 kB / 1.117 GB, free: 2.426 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003282/0.3139, allocations: 63.88 kB / 1.117 GB, free: 2.363 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003102/0.3142, allocations: 106.5 kB / 1.117 GB, free: 2.25 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.137e-05/0.3143, allocations: 8 kB / 1.117 GB, free: 2.242 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003494/0.3178, allocations: 4.445 MB / 1.121 GB, free: 13.38 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.3178, allocations: 4.125 kB / 1.121 GB, free: 13.38 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001175/0.319, allocations: 0.7311 MB / 1.122 GB, free: 12.62 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002846/0.3193, allocations: 211.9 kB / 1.122 GB, free: 12.39 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.972e-05/0.3194, allocations: 12.19 kB / 1.122 GB, free: 12.38 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004309/0.3198, allocations: 19.97 kB / 1.122 GB, free: 12.36 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.259e-05/0.3199, allocations: 27.95 kB / 1.122 GB, free: 12.33 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.835e-05/0.3199, allocations: 8 kB / 1.122 GB, free: 12.32 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.000809/0.3207, allocations: 0.6239 MB / 1.123 GB, free: 11.7 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3207, allocations: 7.875 kB / 1.123 GB, free: 11.7 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0009194/0.3217, allocations: 271.7 kB / 1.123 GB, free: 11.43 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.0001786/0.3219, allocations: 107.2 kB / 1.123 GB, free: 11.31 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.001516/0.3234, allocations: 0.9208 MB / 1.124 GB, free: 10.36 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.3234, allocations: 4.062 kB / 1.124 GB, free: 10.35 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0007366/0.3241, allocations: 0.5167 MB / 1.125 GB, free: 9.797 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001013/0.3252, allocations: 175 kB / 1.125 GB, free: 9.629 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003435/0.3286, allocations: 1.72 MB / 1.127 GB, free: 7.875 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000771/0.3294, allocations: 0.9878 MB / 1.128 GB, free: 6.859 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0004654/0.3299, allocations: 153.8 kB / 1.128 GB, free: 6.707 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001555/0.33, allocations: 51.38 kB / 1.128 GB, free: 6.66 MB / 0.8887 GB Notification: Performance of SimCode: time 7.32e-07/0.3301, allocations: 0 / 1.128 GB, free: 6.66 MB / 0.8887 GB Notification: Performance of Templates: time 0.02166/0.3517, allocations: 10.46 MB / 1.138 GB, free: 12.32 MB / 0.9044 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