Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.HeatTransfer.Examples.ConductorSingleLayer,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_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer") translateModel(Buildings.HeatTransfer.Examples.ConductorSingleLayer,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_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.501/2.501, allocations: 390.5 MB / 398 MB, free: 10.98 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001106/0.001106, allocations: 176.6 kB / 491.2 MB, free: 1.621 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.59/1.59, allocations: 221.5 MB / 0.7868 GB, free: 13.22 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008614/0.0008613, allocations: 91.83 kB / 0.9269 GB, free: 13.72 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.661e-05/1.679e-05, allocations: 4 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2622/0.2622, allocations: 143 MB / 1.212 GB, free: 39.52 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9404/1.203, allocations: 158.9 MB / 1.367 GB, free: 17.39 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003018/1.203, allocations: 77.2 kB / 1.368 GB, free: 17.39 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.06394/1.267, allocations: 18.32 MB / 1.385 GB, free: 29.53 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.523e-06/1.267, allocations: 0 / 1.385 GB, free: 29.53 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 0.0001293/1.267, allocations: 23.47 kB / 1.385 GB, free: 29.52 MB / 0.8386 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.002118/1.269, allocations: 0.9135 MB / 1.386 GB, free: 28.86 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.594e-05/1.269, allocations: 7.688 kB / 1.386 GB, free: 28.86 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005541/1.27, allocations: 103.9 kB / 1.386 GB, free: 28.81 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002765/1.273, allocations: 1.064 MB / 1.387 GB, free: 28.32 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.937e-05/1.273, allocations: 11.16 kB / 1.388 GB, free: 28.32 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001173/1.273, allocations: 33.97 kB / 1.388 GB, free: 28.32 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003805/1.273, allocations: 181.9 kB / 1.388 GB, free: 28.3 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005026/1.274, allocations: 345.1 kB / 1.388 GB, free: 28.14 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.595e-05/1.274, allocations: 7.781 kB / 1.388 GB, free: 28.13 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.66e-05/1.274, allocations: 0 / 1.388 GB, free: 28.13 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.929e-06/1.274, allocations: 7.844 kB / 1.388 GB, free: 28.13 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003082/1.277, allocations: 2.207 MB / 1.39 GB, free: 26.52 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001111/1.278, allocations: 470.9 kB / 1.391 GB, free: 26.43 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001815/1.278, allocations: 143 kB / 1.391 GB, free: 26.4 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.343e-05/1.278, allocations: 4.078 kB / 1.391 GB, free: 26.4 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.037e-05/1.278, allocations: 33.92 kB / 1.391 GB, free: 26.36 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=28): time 2.535e-06/1.278, allocations: 0 / 1.391 GB, free: 26.36 MB / 0.8386 GB Notification: Performance of matching and sorting (n=30): time 0.001716/1.28, allocations: 0.9208 MB / 1.392 GB, free: 25.86 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.699e-05/1.28, allocations: 55.25 kB / 1.392 GB, free: 25.79 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001097/1.281, allocations: 0.7448 MB / 1.393 GB, free: 25.58 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 3.818e-05/1.281, allocations: 25.7 kB / 1.393 GB, free: 25.55 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002594/1.282, allocations: 361.1 kB / 1.393 GB, free: 25.38 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001085/1.282, allocations: 105.6 kB / 1.393 GB, free: 25.3 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.392e-05/1.282, allocations: 0 / 1.393 GB, free: 25.3 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001735/1.282, allocations: 398.7 kB / 1.393 GB, free: 24.95 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002798/1.282, allocations: 202.1 kB / 1.394 GB, free: 24.93 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003923/1.283, allocations: 0.5784 MB / 1.394 GB, free: 24.37 MB / 0.8386 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: con2.T[2] = con2.T_a_start + (con2.T_b_start - con2.T_a_start) * con2.UA * (con2.RNod[1] + con2.RNod[2]) (TB1.T = con2.T_a_start + (con2.T_b_start - con2.T_a_start) * con2.UA * (con2.RNod[1] + con2.RNod[2])) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: con.T[4] = con.T_a_start + (con.T_b_start - con.T_a_start) * con.UA * (con.RNod[2] + con.RNod[3]) (TB.T = con.T_a_start + (con.T_b_start - con.T_a_start) * con.UA * (con.RNod[2] + con.RNod[3])) Notification: Performance of analyzeInitialSystem (initialization): time 0.001895/1.284, allocations: 0.9892 MB / 1.395 GB, free: 23.96 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.131e-05/1.284, allocations: 3.844 kB / 1.395 GB, free: 23.96 MB / 0.8386 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001186/1.286, allocations: 0.7675 MB / 1.396 GB, free: 23.7 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.373e-05/1.286, allocations: 11.41 kB / 1.396 GB, free: 23.7 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.319e-05/1.286, allocations: 11.69 kB / 1.396 GB, free: 23.7 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001937/1.286, allocations: 51.14 kB / 1.396 GB, free: 23.69 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006366/1.287, allocations: 208.4 kB / 1.396 GB, free: 23.64 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001097/1.288, allocations: 1.329 MB / 1.397 GB, free: 22.37 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001105/1.289, allocations: 59.31 kB / 1.397 GB, free: 22.34 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.808e-05/1.289, allocations: 42.28 kB / 1.398 GB, free: 22.34 MB / 0.8386 GB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization sytem: con2.T[2] = con2.T_a_start + (con2.T_b_start - con2.T_a_start) * con2.UA * (con2.RNod[1] + con2.RNod[2]) con.T[4] = con.T_a_start + (con.T_b_start - con.T_a_start) * con.UA * (con.RNod[2] + con.RNod[3]). 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (97): * Single equations (assignments): 96 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002014/1.289, allocations: 158.8 kB / 1.398 GB, free: 22.2 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001748/1.289, allocations: 77.81 kB / 1.398 GB, free: 22.16 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001868/1.289, allocations: 76.94 kB / 1.398 GB, free: 22.13 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/1.29, allocations: 0 / 1.398 GB, free: 22.13 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/1.29, allocations: 7.812 kB / 1.398 GB, free: 22.13 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.83e-06/1.29, allocations: 3.953 kB / 1.398 GB, free: 22.12 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00164/1.291, allocations: 1.104 MB / 1.399 GB, free: 21.55 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.24e-06/1.291, allocations: 7.922 kB / 1.399 GB, free: 21.54 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003688/1.292, allocations: 85.44 kB / 1.399 GB, free: 21.52 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001167/1.292, allocations: 43.34 kB / 1.399 GB, free: 21.5 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.031e-05/1.292, allocations: 3.906 kB / 1.399 GB, free: 21.5 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009595/1.293, allocations: 1.295 MB / 1.4 GB, free: 20.24 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.557e-06/1.293, allocations: 3.844 kB / 1.4 GB, free: 20.24 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007654/1.293, allocations: 0.6606 MB / 1.401 GB, free: 19.88 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003308/1.294, allocations: 209.1 kB / 1.401 GB, free: 19.72 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001511/1.294, allocations: 7.844 kB / 1.401 GB, free: 19.72 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006228/1.295, allocations: 39.28 kB / 1.401 GB, free: 19.7 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.496e-05/1.295, allocations: 23.28 kB / 1.401 GB, free: 19.68 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.646e-05/1.295, allocations: 7.688 kB / 1.401 GB, free: 19.68 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0007229/1.295, allocations: 0.5494 MB / 1.402 GB, free: 19.54 MB / 0.8386 GB Notification: Performance of sort global known variables: time 3e-07/1.295, allocations: 0 / 1.402 GB, free: 19.54 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0009297/1.296, allocations: 196.7 kB / 1.402 GB, free: 19.53 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 6 (con.T[1],con.T[2],con.T[3],con1.T[1],con1.T[2],con2.T[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (29): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002736/1.297, allocations: 164.8 kB / 1.402 GB, free: 19.42 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0009736/1.298, allocations: 0.5687 MB / 1.403 GB, free: 19.23 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 4.738e-06/1.298, allocations: 7.844 kB / 1.403 GB, free: 19.22 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0002984/1.298, allocations: 254.3 kB / 1.403 GB, free: 19.09 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007806/1.299, allocations: 143.2 kB / 1.403 GB, free: 19.05 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002037/1.301, allocations: 1.263 MB / 1.404 GB, free: 18.3 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006478/1.301, allocations: 0.9981 MB / 1.405 GB, free: 17.46 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0004524/1.302, allocations: 154.4 kB / 1.405 GB, free: 17.4 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001457/1.302, allocations: 53.86 kB / 1.405 GB, free: 17.39 MB / 0.8386 GB Notification: Performance of SimCode: time 3.1e-07/1.302, allocations: 0 / 1.405 GB, free: 17.39 MB / 0.8386 GB Notification: Performance of Templates: time 0.01505/1.317, allocations: 7.541 MB / 1.413 GB, free: 10.16 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer.makefile (rm -f Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer.sim & ./Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Examples_ConductorSingleLayer.csv","../files/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches