Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.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.ConductorMultiLayer3,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.ConductorMultiLayer3") translateModel(Buildings.HeatTransfer.Examples.ConductorMultiLayer3,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.ConductorMultiLayer3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001169/0.001169, 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.001398/0.001398, 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.353/1.353, allocations: 223.2 MB / 239.9 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.521/2.521, allocations: 436.5 MB / 0.7104 GB, free: 7.938 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003374/0.0003374, allocations: 8 kB / 0.8707 GB, free: 4.871 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6833/0.6836, allocations: 153.6 MB / 1.021 GB, free: 1.18 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorMultiLayer3): time 0.002915/0.6866, allocations: 2.21 MB / 1.023 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.00371/0.6903, allocations: 2.537 MB / 1.025 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003122/0.6907, allocations: 7.938 kB / 1.025 GB, free: 12.4 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.001538/0.6922, allocations: 0.5064 MB / 1.026 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0005625/0.6928, allocations: 187.4 kB / 1.026 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009216/0.6938, allocations: 287.4 kB / 1.026 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.001232/0.695, allocations: 0.8573 MB / 1.027 GB, free: 10.57 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002628/0.6953, allocations: 109.7 kB / 1.027 GB, free: 10.46 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004739/0.6958, allocations: 299.1 kB / 1.028 GB, free: 10.17 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004195/0.6962, allocations: 283 kB / 1.028 GB, free: 9.891 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 5.132e-05/0.6962, allocations: 20 kB / 1.028 GB, free: 9.871 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 7.367e-05/0.6963, allocations: 20 kB / 1.028 GB, free: 9.852 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0002481/0.6966, allocations: 227.4 kB / 1.028 GB, free: 9.629 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001702/0.6968, allocations: 165.3 kB / 1.028 GB, free: 9.461 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0006483/0.6974, allocations: 0.717 MB / 1.029 GB, free: 8.742 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.6974, allocations: 0 / 1.029 GB, free: 8.742 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.184e-06/0.6974, allocations: 0 / 1.029 GB, free: 8.742 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 8.395e-06/0.6975, allocations: 0 / 1.029 GB, free: 8.742 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.002025/0.6995, allocations: 1.043 MB / 1.03 GB, free: 7.648 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.768e-05/0.6995, allocations: 11.98 kB / 1.03 GB, free: 7.637 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001466/0.6997, allocations: 75.06 kB / 1.03 GB, free: 7.562 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001197/0.7009, allocations: 0.6284 MB / 1.031 GB, free: 6.891 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.219e-05/0.7009, allocations: 24.56 kB / 1.031 GB, free: 6.867 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.447e-05/0.701, allocations: 43.95 kB / 1.031 GB, free: 6.824 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006192/0.7017, allocations: 374.7 kB / 1.031 GB, free: 6.438 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.899e-06/0.7017, allocations: 0 / 1.031 GB, free: 6.438 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.941e-05/0.7017, allocations: 8 kB / 1.031 GB, free: 6.43 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.869e-06/0.7017, allocations: 8 kB / 1.031 GB, free: 6.422 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00041/0.7021, allocations: 237.5 kB / 1.031 GB, free: 6.191 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.003972/0.7061, allocations: 2.486 MB / 1.034 GB, free: 3.516 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009528/0.7071, allocations: 398.5 kB / 1.034 GB, free: 3.117 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.358e-05/0.7071, allocations: 0 / 1.034 GB, free: 3.117 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.736e-05/0.7072, allocations: 34.56 kB / 1.034 GB, free: 3.074 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=18): time 1.402e-06/0.7072, allocations: 0 / 1.034 GB, free: 3.074 MB / 0.7794 GB Notification: Performance of matching and sorting (n=18): time 0.001082/0.7083, allocations: 0.5437 MB / 1.035 GB, free: 2.504 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.653e-05/0.7083, allocations: 51.41 kB / 1.035 GB, free: 2.441 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001179/0.7095, allocations: 0.9336 MB / 1.036 GB, free: 1.5 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.639e-05/0.7095, allocations: 33.7 kB / 1.036 GB, free: 1.461 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002294/0.7098, allocations: 296.5 kB / 1.036 GB, free: 1.168 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 7.788e-05/0.7099, allocations: 82.98 kB / 1.036 GB, free: 1.086 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.164e-05/0.7099, allocations: 8 kB / 1.036 GB, free: 1.078 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001657/0.7101, allocations: 378.8 kB / 1.036 GB, free: 0.6992 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003407/0.7104, allocations: 236.9 kB / 1.037 GB, free: 476 kB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005268/0.7109, allocations: 0.5014 MB / 1.037 GB, free: 15.84 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004173/0.7114, allocations: 313.2 kB / 1.037 GB, free: 15.53 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.603e-06/0.7114, allocations: 4 kB / 1.037 GB, free: 15.53 MB / 0.795 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001187/0.7126, allocations: 0.8149 MB / 1.038 GB, free: 14.7 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.907e-05/0.7126, allocations: 12.06 kB / 1.038 GB, free: 14.69 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.004e-05/0.7126, allocations: 19.98 kB / 1.038 GB, free: 14.67 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002305/0.7129, allocations: 56.77 kB / 1.038 GB, free: 14.61 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004831/0.7134, allocations: 139.8 kB / 1.038 GB, free: 14.48 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001272/0.7147, allocations: 1.451 MB / 1.04 GB, free: 12.89 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007474/0.7154, allocations: 123.3 kB / 1.04 GB, free: 12.77 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.786e-05/0.7155, allocations: 28 kB / 1.04 GB, free: 12.74 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.0004358/0.7159, allocations: 351.3 kB / 1.04 GB, free: 12.39 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.967e-05/0.716, allocations: 67.09 kB / 1.04 GB, free: 12.32 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000103/0.7161, allocations: 66 kB / 1.041 GB, free: 12.25 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.7161, allocations: 3.984 kB / 1.041 GB, free: 12.25 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.593e-06/0.7161, allocations: 4 kB / 1.041 GB, free: 12.25 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.7162, allocations: 0 / 1.041 GB, free: 12.25 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006864/0.7168, allocations: 0.5868 MB / 1.041 GB, free: 11.61 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.7169, allocations: 0 / 1.041 GB, free: 11.61 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002587/0.7171, allocations: 51.95 kB / 1.041 GB, free: 11.56 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001472/0.7173, allocations: 40.83 kB / 1.041 GB, free: 11.52 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.52e-05/0.7173, allocations: 7.984 kB / 1.041 GB, free: 11.51 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001108/0.7184, allocations: 1.424 MB / 1.043 GB, free: 9.949 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.7184, allocations: 0 / 1.043 GB, free: 9.949 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008046/0.7193, allocations: 0.5787 MB / 1.043 GB, free: 9.352 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003136/0.7196, allocations: 200.3 kB / 1.043 GB, free: 9.137 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.768e-05/0.7197, allocations: 8 kB / 1.043 GB, free: 9.129 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004102/0.7201, allocations: 51.77 kB / 1.043 GB, free: 9.078 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.943e-05/0.7202, allocations: 15.98 kB / 1.043 GB, free: 9.062 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.21e-05/0.7202, allocations: 4 kB / 1.043 GB, free: 9.059 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0009293/0.7211, allocations: 0.6551 MB / 1.044 GB, free: 8.41 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.81e-07/0.7211, allocations: 0 / 1.044 GB, free: 8.41 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0007107/0.7218, allocations: 183.8 kB / 1.044 GB, free: 8.23 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.0001409/0.722, allocations: 111.2 kB / 1.044 GB, free: 8.109 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.00102/0.723, allocations: 0.576 MB / 1.045 GB, free: 7.523 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.604e-06/0.723, allocations: 256 / 1.045 GB, free: 7.523 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0003235/0.7234, allocations: 250.5 kB / 1.045 GB, free: 7.266 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007211/0.7241, allocations: 166.7 kB / 1.045 GB, free: 7.102 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002365/0.7265, allocations: 1.774 MB / 1.047 GB, free: 5.301 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006983/0.7272, allocations: 1.022 MB / 1.048 GB, free: 4.25 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.000446/0.7276, allocations: 184.5 kB / 1.048 GB, free: 4.07 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001168/0.7278, allocations: 35.44 kB / 1.048 GB, free: 4.035 MB / 0.795 GB Notification: Performance of SimCode: time 5.31e-07/0.7278, allocations: 4 kB / 1.048 GB, free: 4.031 MB / 0.795 GB Notification: Performance of Templates: time 0.01423/0.742, allocations: 7.764 MB / 1.056 GB, free: 12.37 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.makefile (rm -f Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.sim & ./Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer3_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Examples_ConductorMultiLayer3.csv","../files/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches