Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer.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.ConductorMultiLayer,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.ConductorMultiLayer") translateModel(Buildings.HeatTransfer.Examples.ConductorMultiLayer,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.ConductorMultiLayer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009282/0.0009282, allocations: 99.55 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.0009409/0.000941, 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.362/1.362, allocations: 223.2 MB / 239.9 MB, free: 5.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.669/2.669, allocations: 436.5 MB / 0.7104 GB, free: 7.879 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003543/0.0003545, allocations: 8 kB / 0.8707 GB, free: 4.832 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6592/0.6596, allocations: 153.7 MB / 1.021 GB, free: 1.113 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorMultiLayer): time 0.002638/0.6622, allocations: 2.201 MB / 1.023 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.003431/0.6657, allocations: 2.548 MB / 1.025 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002174/0.6659, allocations: 4 kB / 1.025 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.001336/0.6673, allocations: 0.5025 MB / 1.026 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0004275/0.6677, allocations: 195.4 kB / 1.026 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008096/0.6685, allocations: 282.5 kB / 1.026 GB, free: 11.37 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.00115/0.6697, allocations: 0.8584 MB / 1.027 GB, free: 10.51 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002175/0.6699, allocations: 113.7 kB / 1.027 GB, free: 10.39 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004263/0.6704, allocations: 295.1 kB / 1.028 GB, free: 10.11 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003775/0.6708, allocations: 283 kB / 1.028 GB, free: 9.828 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 5.108e-05/0.6708, allocations: 20 kB / 1.028 GB, free: 9.809 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 6.947e-05/0.6709, allocations: 28 kB / 1.028 GB, free: 9.781 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.000259/0.6712, allocations: 227.4 kB / 1.028 GB, free: 9.559 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001425/0.6713, allocations: 161.3 kB / 1.028 GB, free: 9.395 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0005666/0.6719, allocations: 0.7131 MB / 1.029 GB, free: 8.68 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.327e-06/0.6719, allocations: 0 / 1.029 GB, free: 8.68 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.713e-06/0.6719, allocations: 0 / 1.029 GB, free: 8.68 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 9.458e-06/0.6719, 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.001901/0.6738, allocations: 1.043 MB / 1.03 GB, free: 7.586 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.898e-05/0.6739, allocations: 15.98 kB / 1.03 GB, free: 7.57 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001233/0.674, allocations: 75.06 kB / 1.03 GB, free: 7.496 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001023/0.675, allocations: 0.6245 MB / 1.031 GB, free: 6.828 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.59e-05/0.6751, allocations: 28.56 kB / 1.031 GB, free: 6.801 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.71e-05/0.6751, allocations: 43.95 kB / 1.031 GB, free: 6.758 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005502/0.6757, allocations: 366.8 kB / 1.031 GB, free: 6.379 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.321e-05/0.6757, allocations: 7.938 kB / 1.031 GB, free: 6.371 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.86e-05/0.6758, allocations: 8 kB / 1.031 GB, free: 6.363 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.106e-05/0.6758, allocations: 11.98 kB / 1.031 GB, free: 6.352 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003789/0.6762, allocations: 237.5 kB / 1.031 GB, free: 6.121 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.003533/0.6797, allocations: 2.47 MB / 1.034 GB, free: 3.461 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009469/0.6807, allocations: 414.3 kB / 1.034 GB, free: 3.047 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.523e-05/0.6807, allocations: 0 / 1.034 GB, free: 3.047 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.135e-05/0.6807, allocations: 30.56 kB / 1.034 GB, free: 3.008 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=18): time 1.162e-06/0.6807, allocations: 8 kB / 1.034 GB, free: 3 MB / 0.7794 GB Notification: Performance of matching and sorting (n=18): time 0.0009272/0.6817, allocations: 0.5358 MB / 1.035 GB, free: 2.438 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.421e-05/0.6817, allocations: 55.41 kB / 1.035 GB, free: 2.371 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001076/0.6828, allocations: 0.9297 MB / 1.036 GB, free: 1.434 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.726e-05/0.6828, allocations: 37.7 kB / 1.036 GB, free: 1.391 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002438/0.6831, allocations: 300.5 kB / 1.036 GB, free: 1.094 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 7.327e-05/0.6832, allocations: 70.98 kB / 1.036 GB, free: 1.023 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.169e-05/0.6832, allocations: 12 kB / 1.036 GB, free: 1.012 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001431/0.6833, allocations: 378.8 kB / 1.036 GB, free: 0.6328 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003225/0.6837, allocations: 236.9 kB / 1.037 GB, free: 408 kB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004655/0.6841, allocations: 0.4975 MB / 1.037 GB, free: 15.77 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003963/0.6846, allocations: 319.5 kB / 1.037 GB, free: 15.46 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.967e-06/0.6846, allocations: 0 / 1.037 GB, free: 15.46 MB / 0.795 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001112/0.6857, allocations: 0.8188 MB / 1.038 GB, free: 14.63 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.896e-05/0.6857, allocations: 8 kB / 1.038 GB, free: 14.62 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.187e-05/0.6857, allocations: 8 kB / 1.038 GB, free: 14.62 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001931/0.6859, allocations: 60.7 kB / 1.038 GB, free: 14.55 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004506/0.6864, allocations: 139.8 kB / 1.038 GB, free: 14.42 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001098/0.6875, allocations: 1.452 MB / 1.04 GB, free: 12.83 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000663/0.6882, allocations: 131.5 kB / 1.04 GB, free: 12.7 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.817e-05/0.6882, allocations: 28 kB / 1.04 GB, free: 12.68 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.0003587/0.6886, allocations: 346.7 kB / 1.04 GB, free: 12.33 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.77e-05/0.6887, allocations: 59.16 kB / 1.04 GB, free: 12.27 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001056/0.6888, allocations: 70 kB / 1.041 GB, free: 12.2 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.6888, allocations: 3.938 kB / 1.041 GB, free: 12.19 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.159e-06/0.6888, allocations: 4 kB / 1.041 GB, free: 12.19 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.6888, allocations: 0 / 1.041 GB, free: 12.19 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006205/0.6894, allocations: 0.5868 MB / 1.041 GB, free: 11.55 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.6895, allocations: 0 / 1.041 GB, free: 11.55 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002464/0.6897, allocations: 51.95 kB / 1.041 GB, free: 11.5 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001128/0.6898, allocations: 36.83 kB / 1.041 GB, free: 11.46 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.457e-05/0.6899, allocations: 11.98 kB / 1.041 GB, free: 11.45 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009823/0.6909, allocations: 1.424 MB / 1.043 GB, free: 9.891 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.6909, allocations: 0 / 1.043 GB, free: 9.891 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007326/0.6916, allocations: 0.5803 MB / 1.043 GB, free: 9.293 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002974/0.6919, allocations: 196.4 kB / 1.043 GB, free: 9.082 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.678e-05/0.692, allocations: 11.98 kB / 1.043 GB, free: 9.07 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003892/0.6924, allocations: 51.77 kB / 1.043 GB, free: 9.02 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.651e-05/0.6925, allocations: 19.92 kB / 1.043 GB, free: 9 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.129e-05/0.6925, allocations: 4 kB / 1.043 GB, free: 8.996 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0007823/0.6933, allocations: 0.6551 MB / 1.044 GB, free: 8.348 MB / 0.795 GB Notification: Performance of sort global known variables: time 3.01e-07/0.6933, allocations: 0 / 1.044 GB, free: 8.348 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.000627/0.6939, allocations: 183.8 kB / 1.044 GB, free: 8.168 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.0001367/0.694, allocations: 107.2 kB / 1.044 GB, free: 8.051 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0008444/0.6949, allocations: 0.5799 MB / 1.045 GB, free: 7.461 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.6949, allocations: 0 / 1.045 GB, free: 7.461 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0003189/0.6952, allocations: 246.5 kB / 1.045 GB, free: 7.207 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006741/0.6959, allocations: 163 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.002083/0.698, allocations: 1.777 MB / 1.047 GB, free: 5.246 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005478/0.6986, allocations: 1.03 MB / 1.048 GB, free: 4.188 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.000425/0.699, allocations: 184.5 kB / 1.048 GB, free: 4.008 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001111/0.6991, allocations: 35.44 kB / 1.048 GB, free: 3.973 MB / 0.795 GB Notification: Performance of SimCode: time 9.32e-07/0.6991, allocations: 0 / 1.048 GB, free: 3.973 MB / 0.795 GB Notification: Performance of Templates: time 0.01253/0.7117, allocations: 7.772 MB / 1.056 GB, free: 12.31 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer.makefile (rm -f Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer.sim & ./Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Examples_ConductorMultiLayer.csv","../files/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches