Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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.ConductorMultiLayer2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.T.1.|con.T.2.|con.port_a.T|con.port_b.T|con.T.3.|con.T.4.|con.T.5.",fileNamePrefix="Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer2") translateModel(Buildings.HeatTransfer.Examples.ConductorMultiLayer2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.T.1.|con.T.2.|con.port_a.T|con.port_b.T|con.T.3.|con.T.4.|con.T.5.",fileNamePrefix="Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009463/0.0009463, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.0009529/0.0009532, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.331/1.331, allocations: 223.2 MB / 239.9 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.563/2.563, allocations: 436.5 MB / 0.7104 GB, free: 7.93 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004118/0.0004118, allocations: 8 kB / 0.8707 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6509/0.6513, allocations: 153.6 MB / 1.021 GB, free: 1.133 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorMultiLayer2): time 0.002657/0.654, allocations: 2.213 MB / 1.023 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.003481/0.6575, allocations: 2.525 MB / 1.025 GB, free: 12.37 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002234/0.6578, allocations: 11.94 kB / 1.025 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.001235/0.659, allocations: 0.5103 MB / 1.026 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0003989/0.6594, allocations: 190.9 kB / 1.026 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007761/0.6602, allocations: 287.3 kB / 1.026 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.001105/0.6613, allocations: 0.8544 MB / 1.027 GB, free: 10.52 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001921/0.6615, allocations: 125.7 kB / 1.027 GB, free: 10.4 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004249/0.662, allocations: 291.1 kB / 1.028 GB, free: 10.11 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003697/0.6623, allocations: 287 kB / 1.028 GB, free: 9.832 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 5.001e-05/0.6624, allocations: 20 kB / 1.028 GB, free: 9.812 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 8.25e-05/0.6625, allocations: 20 kB / 1.028 GB, free: 9.793 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.000239/0.6627, allocations: 227.4 kB / 1.028 GB, free: 9.57 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001333/0.6629, allocations: 161.3 kB / 1.028 GB, free: 9.406 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0005746/0.6634, allocations: 0.7209 MB / 1.029 GB, free: 8.684 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.224e-06/0.6635, allocations: 0 / 1.029 GB, free: 8.684 MB / 0.7794 GB Notification: Performance of FrontEnd: time 9.82e-07/0.6635, allocations: 3.938 kB / 1.029 GB, free: 8.68 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 8.717e-06/0.6635, allocations: 0 / 1.029 GB, free: 8.68 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: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.001786/0.6653, allocations: 1.043 MB / 1.03 GB, free: 7.586 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.818e-05/0.6653, allocations: 11.98 kB / 1.03 GB, free: 7.574 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001185/0.6654, allocations: 75.06 kB / 1.03 GB, free: 7.5 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001022/0.6665, allocations: 0.6284 MB / 1.031 GB, free: 6.828 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.22e-05/0.6665, allocations: 24.56 kB / 1.031 GB, free: 6.805 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.364e-05/0.6666, allocations: 47.95 kB / 1.031 GB, free: 6.758 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005122/0.6671, allocations: 374.7 kB / 1.031 GB, free: 6.371 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/0.6671, allocations: 0 / 1.031 GB, free: 6.371 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.346e-05/0.6671, allocations: 4 kB / 1.031 GB, free: 6.367 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.093e-06/0.6672, allocations: 8 kB / 1.031 GB, free: 6.359 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003646/0.6675, allocations: 237.5 kB / 1.031 GB, free: 6.129 MB / 0.7794 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003347/0.6709, allocations: 2.478 MB / 1.034 GB, free: 3.461 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008987/0.6718, allocations: 402.5 kB / 1.034 GB, free: 3.059 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.4e-05/0.6718, allocations: 0 / 1.034 GB, free: 3.059 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.151e-05/0.6718, allocations: 38.56 kB / 1.034 GB, free: 3.012 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=18): time 1.032e-06/0.6719, allocations: 0 / 1.034 GB, free: 3.012 MB / 0.7794 GB Notification: Performance of matching and sorting (n=18): time 0.0008872/0.6727, allocations: 0.5395 MB / 1.035 GB, free: 2.445 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.924e-05/0.6728, allocations: 55.41 kB / 1.035 GB, free: 2.379 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001047/0.6738, allocations: 0.9297 MB / 1.036 GB, free: 1.441 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.961e-05/0.6739, allocations: 33.7 kB / 1.036 GB, free: 1.402 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002173/0.6741, allocations: 296.5 kB / 1.036 GB, free: 1.109 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 7.198e-05/0.6742, allocations: 74.98 kB / 1.036 GB, free: 1.035 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.949e-05/0.6742, allocations: 12 kB / 1.036 GB, free: 1.023 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001437/0.6744, allocations: 382.8 kB / 1.036 GB, free: 0.6406 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003402/0.6747, allocations: 232.9 kB / 1.037 GB, free: 420 kB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004645/0.6752, allocations: 0.5014 MB / 1.037 GB, free: 15.78 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004035/0.6756, allocations: 317.2 kB / 1.037 GB, free: 15.47 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.791e-06/0.6756, allocations: 4 kB / 1.037 GB, free: 15.47 MB / 0.795 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001126/0.6767, allocations: 0.8178 MB / 1.038 GB, free: 14.64 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.836e-05/0.6768, allocations: 8.812 kB / 1.038 GB, free: 14.63 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.703e-05/0.6768, allocations: 15.98 kB / 1.038 GB, free: 14.62 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001757/0.677, allocations: 56.77 kB / 1.038 GB, free: 14.56 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004458/0.6774, allocations: 139.8 kB / 1.038 GB, free: 14.42 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001064/0.6785, allocations: 1.451 MB / 1.04 GB, free: 12.84 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006839/0.6792, allocations: 119.3 kB / 1.04 GB, free: 12.72 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.668e-05/0.6792, allocations: 28 kB / 1.04 GB, free: 12.69 MB / 0.795 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * 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 (63): * Single equations (assignments): 62 * 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.0003498/0.6796, allocations: 353.5 kB / 1.04 GB, free: 12.34 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.797e-05/0.6797, allocations: 63.16 kB / 1.04 GB, free: 12.27 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001019/0.6798, allocations: 69.94 kB / 1.041 GB, free: 12.2 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.6798, allocations: 0 / 1.041 GB, free: 12.2 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.6798, allocations: 4 kB / 1.041 GB, free: 12.2 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.6798, allocations: 4 kB / 1.041 GB, free: 12.19 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006/0.6804, allocations: 0.5868 MB / 1.041 GB, free: 11.55 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.6804, allocations: 0 / 1.041 GB, free: 11.55 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002432/0.6807, allocations: 51.95 kB / 1.041 GB, free: 11.5 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001176/0.6808, allocations: 40.83 kB / 1.041 GB, free: 11.46 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.418e-05/0.6809, allocations: 11.98 kB / 1.041 GB, free: 11.45 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009735/0.6818, allocations: 1.424 MB / 1.043 GB, free: 9.891 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.6819, allocations: 0 / 1.043 GB, free: 9.891 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007115/0.6826, allocations: 0.5785 MB / 1.043 GB, free: 9.293 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002825/0.6829, allocations: 196.4 kB / 1.043 GB, free: 9.082 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.583e-05/0.6829, allocations: 8 kB / 1.043 GB, free: 9.074 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003958/0.6833, allocations: 55.77 kB / 1.043 GB, free: 9.02 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.752e-05/0.6834, allocations: 11.98 kB / 1.043 GB, free: 9.008 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.262e-05/0.6834, allocations: 4 kB / 1.043 GB, free: 9.004 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0007623/0.6842, allocations: 0.659 MB / 1.044 GB, free: 8.352 MB / 0.795 GB Notification: Performance of sort global known variables: time 3.31e-07/0.6842, allocations: 0 / 1.044 GB, free: 8.352 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0006015/0.6848, allocations: 179.8 kB / 1.044 GB, free: 8.176 MB / 0.795 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (con.lay[1].T[1],con.lay[1].T[2],con.lay[2].T[1],con.lay[2].T[2],con.lay[2].T[3]) * 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 (17): * Single equations (assignments): 16 * 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.000117/0.6849, allocations: 111.2 kB / 1.044 GB, free: 8.055 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0008026/0.6857, allocations: 0.5759 MB / 1.045 GB, free: 7.469 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.6858, allocations: 0.625 kB / 1.045 GB, free: 7.469 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0003074/0.6861, allocations: 252.1 kB / 1.045 GB, free: 7.211 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006611/0.6867, allocations: 168.7 kB / 1.045 GB, free: 7.047 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002019/0.6888, allocations: 1.765 MB / 1.047 GB, free: 5.254 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005272/0.6893, allocations: 1.022 MB / 1.048 GB, free: 4.203 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0003984/0.6897, allocations: 184.5 kB / 1.048 GB, free: 4.023 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001102/0.6898, allocations: 35.44 kB / 1.048 GB, free: 3.988 MB / 0.795 GB Notification: Performance of SimCode: time 3.61e-07/0.6898, allocations: 3.938 kB / 1.048 GB, free: 3.984 MB / 0.795 GB Notification: Performance of Templates: time 0.01217/0.702, allocations: 7.776 MB / 1.056 GB, free: 12.32 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.makefile (rm -f Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.sim & ./Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer2_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Examples_ConductorMultiLayer2.csv","../files/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches