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.009652/0.009652, allocations: 100.1 kB / 15.73 MB, free: 6.043 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.001868/0.001868, allocations: 196.3 kB / 16.68 MB, free: 5.961 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.436/1.436, allocations: 222.9 MB / 240.4 MB, free: 15.14 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.334/2.334, allocations: 390.2 MB / 0.6648 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001456/0.001456, allocations: 67.89 kB / 0.9508 GB, free: 7.645 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8494/0.8509, allocations: 140.4 MB / 1.088 GB, free: 5.52 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayer2): time 0.004377/0.8553, allocations: 3.723 MB / 1.092 GB, free: 2.875 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.004213/0.8595, allocations: 2.506 MB / 1.094 GB, free: 1.168 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004169/0.8599, allocations: 17.28 kB / 1.094 GB, free: 1.16 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0006962/0.8607, allocations: 253.7 kB / 1.094 GB, free: 1.027 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001109/0.8618, allocations: 0.4983 MB / 1.095 GB, free: 0.7461 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.00155/0.8634, allocations: 0.5253 MB / 1.095 GB, free: 0.5195 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001958/0.8653, allocations: 1.397 MB / 1.097 GB, free: 15.93 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002932/0.8657, allocations: 153.9 kB / 1.097 GB, free: 15.86 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007/0.8664, allocations: 425.6 kB / 1.097 GB, free: 15.69 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006456/0.867, allocations: 465.3 kB / 1.098 GB, free: 15.5 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0001029/0.8671, allocations: 54.28 kB / 1.098 GB, free: 15.5 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001466/0.8673, allocations: 56.62 kB / 1.098 GB, free: 15.5 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0004342/0.8677, allocations: 377.3 kB / 1.098 GB, free: 15.36 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0004839/0.8682, allocations: 472.3 kB / 1.099 GB, free: 15.09 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.001066/0.8693, allocations: 0.9384 MB / 1.099 GB, free: 14.73 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.8693, allocations: 0 / 1.099 GB, free: 14.73 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.383e-06/0.8693, allocations: 1.031 kB / 1.099 GB, free: 14.73 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 1.691e-05/0.8693, allocations: 0 / 1.099 GB, free: 14.73 MB / 0.8731 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.002416/0.8718, allocations: 1.264 MB / 1.101 GB, free: 13.89 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.633e-05/0.8718, allocations: 10.27 kB / 1.101 GB, free: 13.89 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001755/0.872, allocations: 102.4 kB / 1.101 GB, free: 13.84 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001102/0.8731, allocations: 0.673 MB / 1.101 GB, free: 13.4 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.581e-05/0.8731, allocations: 37.25 kB / 1.101 GB, free: 13.38 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.585e-05/0.8732, allocations: 70.38 kB / 1.102 GB, free: 13.35 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006379/0.8739, allocations: 407.3 kB / 1.102 GB, free: 13.13 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.311e-05/0.8739, allocations: 4.469 kB / 1.102 GB, free: 13.13 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.473e-05/0.874, allocations: 19.97 kB / 1.102 GB, free: 13.11 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.721e-05/0.874, allocations: 8.25 kB / 1.102 GB, free: 13.11 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005053/0.8745, allocations: 236.5 kB / 1.102 GB, free: 13.04 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003129/0.8776, allocations: 2.487 MB / 1.105 GB, free: 11.2 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001421/0.8791, allocations: 0.5487 MB / 1.105 GB, free: 11.04 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002676/0.8793, allocations: 167.2 kB / 1.105 GB, free: 10.97 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 2.1e-05/0.8794, allocations: 3.062 kB / 1.105 GB, free: 10.97 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.347e-05/0.8794, allocations: 33.3 kB / 1.105 GB, free: 10.93 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=30): time 1.633e-06/0.8794, allocations: 0 / 1.105 GB, free: 10.93 MB / 0.8731 GB Notification: Performance of matching and sorting (n=30): time 0.001664/0.8811, allocations: 0.8912 MB / 1.106 GB, free: 10.39 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.866e-05/0.8811, allocations: 59.06 kB / 1.106 GB, free: 10.33 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001235/0.8824, allocations: 0.9276 MB / 1.107 GB, free: 9.949 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 5.039e-05/0.8824, allocations: 40.86 kB / 1.107 GB, free: 9.906 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002723/0.8827, allocations: 361.9 kB / 1.108 GB, free: 9.621 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001337/0.8829, allocations: 120.5 kB / 1.108 GB, free: 9.527 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002183/0.8831, allocations: 171.4 kB / 1.108 GB, free: 9.445 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001675/0.8833, allocations: 395.8 kB / 1.108 GB, free: 9.098 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004097/0.8837, allocations: 241.5 kB / 1.108 GB, free: 9.031 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006259/0.8843, allocations: 0.6419 MB / 1.109 GB, free: 8.418 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009893/0.8853, allocations: 0.8897 MB / 1.11 GB, free: 7.668 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.244e-06/0.8853, allocations: 7.812 kB / 1.11 GB, free: 7.664 MB / 0.8731 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001613/0.8869, allocations: 1.016 MB / 1.111 GB, free: 7.25 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.518e-05/0.887, allocations: 11.28 kB / 1.111 GB, free: 7.25 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.886e-05/0.887, allocations: 14.53 kB / 1.111 GB, free: 7.25 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004104/0.8874, allocations: 122 kB / 1.111 GB, free: 7.207 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007158/0.8881, allocations: 197.5 kB / 1.111 GB, free: 7.18 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003269/0.8914, allocations: 4.472 MB / 1.116 GB, free: 2.828 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001053/0.8925, allocations: 110.3 kB / 1.116 GB, free: 2.77 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.75e-05/0.8926, allocations: 39.56 kB / 1.116 GB, free: 2.766 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.0003495/0.8929, allocations: 273.6 kB / 1.116 GB, free: 2.57 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001408/0.8931, allocations: 79.31 kB / 1.116 GB, free: 2.527 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001349/0.8932, allocations: 80.3 kB / 1.116 GB, free: 2.48 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.8932, allocations: 3.562 kB / 1.116 GB, free: 2.48 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.649e-06/0.8932, allocations: 1.344 kB / 1.116 GB, free: 2.48 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.943e-06/0.8932, allocations: 6.141 kB / 1.116 GB, free: 2.477 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008495/0.8941, allocations: 0.6627 MB / 1.117 GB, free: 2.121 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.8941, allocations: 0 / 1.117 GB, free: 2.121 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003132/0.8944, allocations: 66.44 kB / 1.117 GB, free: 2.113 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003026/0.8947, allocations: 107.2 kB / 1.117 GB, free: 2.066 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.112e-05/0.8948, allocations: 9.609 kB / 1.117 GB, free: 2.062 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003294/0.8981, allocations: 4.442 MB / 1.121 GB, free: 13.73 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.809e-06/0.8981, allocations: 0.6562 kB / 1.121 GB, free: 13.73 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001217/0.8993, allocations: 0.7416 MB / 1.122 GB, free: 13.34 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003967/0.8997, allocations: 211 kB / 1.122 GB, free: 13.18 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.759e-05/0.8998, allocations: 9.906 kB / 1.122 GB, free: 13.17 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004788/0.9003, allocations: 19.33 kB / 1.122 GB, free: 13.17 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.011e-05/0.9004, allocations: 24.39 kB / 1.122 GB, free: 13.16 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.029e-05/0.9004, allocations: 5.469 kB / 1.122 GB, free: 13.16 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.001097/0.9015, allocations: 0.6285 MB / 1.123 GB, free: 12.91 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9016, allocations: 0 / 1.123 GB, free: 12.91 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.001081/0.9026, allocations: 263.8 kB / 1.123 GB, free: 12.88 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.0001506/0.9028, allocations: 109.8 kB / 1.123 GB, free: 12.79 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.001407/0.9042, allocations: 0.9278 MB / 1.124 GB, free: 12.26 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.9042, allocations: 0 / 1.124 GB, free: 12.26 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0006005/0.9048, allocations: 0.5154 MB / 1.125 GB, free: 11.87 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009378/0.9058, allocations: 177.9 kB / 1.125 GB, free: 11.79 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002574/0.9084, allocations: 1.72 MB / 1.127 GB, free: 10.77 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006372/0.909, allocations: 0.9879 MB / 1.128 GB, free: 10.05 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0004216/0.9094, allocations: 147.5 kB / 1.128 GB, free: 10.03 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001434/0.9096, allocations: 46.92 kB / 1.128 GB, free: 10.02 MB / 0.8887 GB Notification: Performance of SimCode: time 4.3e-07/0.9096, allocations: 0 / 1.128 GB, free: 10.02 MB / 0.8887 GB Notification: Performance of Templates: time 0.02014/0.9298, allocations: 10.22 MB / 1.138 GB, free: 9.402 MB / 0.8887 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