Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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.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_10_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_10_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.0009019/0.0009021, allocations: 87.11 kB / 15.06 MB, free: 1.09 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.0009721/0.0009722, allocations: 168.7 kB / 15.95 MB, free: 204 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.469/1.469, allocations: 223.3 MB / 240 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.893/2.893, allocations: 437.7 MB / 0.7117 GB, free: 7.125 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003885/0.0003887, allocations: 8 kB / 0.8722 GB, free: 3.738 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8036/0.8041, allocations: 153.8 MB / 1.022 GB, free: 48 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorMultiLayer2): time 0.00366/0.8078, allocations: 2.33 MB / 1.025 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.003762/0.8116, allocations: 2.594 MB / 1.027 GB, free: 11.1 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003298/0.8119, allocations: 7.938 kB / 1.027 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.001382/0.8133, allocations: 438.4 kB / 1.028 GB, free: 10.66 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0005614/0.8139, allocations: 231 kB / 1.028 GB, free: 10.44 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009319/0.8148, allocations: 295.2 kB / 1.028 GB, free: 10.15 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.001897/0.8168, allocations: 1.559 MB / 1.03 GB, free: 8.586 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002435/0.817, allocations: 119.6 kB / 1.03 GB, free: 8.465 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006991/0.8177, allocations: 438.8 kB / 1.03 GB, free: 8.035 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005533/0.8183, allocations: 402.6 kB / 1.031 GB, free: 7.641 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 5.647e-05/0.8184, allocations: 20 kB / 1.031 GB, free: 7.621 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 8.081e-05/0.8184, allocations: 24 kB / 1.031 GB, free: 7.598 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0002409/0.8187, allocations: 227.3 kB / 1.031 GB, free: 7.375 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001474/0.8188, allocations: 157.3 kB / 1.031 GB, free: 7.215 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0006076/0.8195, allocations: 0.7209 MB / 1.032 GB, free: 6.492 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 6.142e-06/0.8195, allocations: 4 kB / 1.032 GB, free: 6.488 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.743e-06/0.8195, allocations: 0 / 1.032 GB, free: 6.488 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.235e-05/0.8195, allocations: 0 / 1.032 GB, free: 6.488 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.001808/0.8213, allocations: 1.043 MB / 1.033 GB, free: 5.395 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.063e-05/0.8214, allocations: 8.562 kB / 1.033 GB, free: 5.387 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001255/0.8215, allocations: 75.06 kB / 1.033 GB, free: 5.312 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009129/0.8224, allocations: 0.6322 MB / 1.033 GB, free: 4.637 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.755e-05/0.8225, allocations: 28.56 kB / 1.033 GB, free: 4.609 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.2e-05/0.8225, allocations: 43.95 kB / 1.033 GB, free: 4.566 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005589/0.8231, allocations: 366.8 kB / 1.034 GB, free: 4.188 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.168e-05/0.8231, allocations: 3.938 kB / 1.034 GB, free: 4.184 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.992e-05/0.8232, allocations: 12 kB / 1.034 GB, free: 4.172 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.378e-06/0.8232, allocations: 8 kB / 1.034 GB, free: 4.164 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003807/0.8236, allocations: 237.5 kB / 1.034 GB, free: 3.934 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.00335/0.8269, allocations: 2.474 MB / 1.036 GB, free: 1.27 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009462/0.8279, allocations: 394.5 kB / 1.037 GB, free: 0.875 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002088/0.8281, allocations: 144.8 kB / 1.037 GB, free: 0.7305 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.75e-05/0.8281, allocations: 0 / 1.037 GB, free: 0.7305 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.679e-05/0.8282, allocations: 38.52 kB / 1.037 GB, free: 0.6836 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=18): time 3.898e-06/0.8282, allocations: 3.984 kB / 1.037 GB, free: 0.6797 MB / 0.7794 GB Notification: Performance of matching and sorting (n=18): time 0.0009848/0.8292, allocations: 0.5417 MB / 1.038 GB, free: 112 kB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.367e-05/0.8292, allocations: 55.34 kB / 1.038 GB, free: 44 kB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001181/0.8304, allocations: 0.9297 MB / 1.039 GB, free: 15.11 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 3.719e-05/0.8304, allocations: 33.7 kB / 1.039 GB, free: 15.07 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002526/0.8307, allocations: 300.5 kB / 1.039 GB, free: 14.77 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 7.694e-05/0.8308, allocations: 71.03 kB / 1.039 GB, free: 14.7 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.316e-05/0.8308, allocations: 8 kB / 1.039 GB, free: 14.69 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001678/0.831, allocations: 386.8 kB / 1.039 GB, free: 14.3 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003463/0.8313, allocations: 236.9 kB / 1.04 GB, free: 14.07 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005141/0.8319, allocations: 0.4975 MB / 1.04 GB, free: 13.45 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004458/0.8323, allocations: 317.2 kB / 1.04 GB, free: 13.14 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.698e-06/0.8323, allocations: 0 / 1.04 GB, free: 13.14 MB / 0.795 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001196/0.8335, allocations: 0.8235 MB / 1.041 GB, free: 12.3 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.482e-05/0.8336, allocations: 9.25 kB / 1.041 GB, free: 12.3 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.373e-05/0.8336, allocations: 8 kB / 1.041 GB, free: 12.29 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002171/0.8338, allocations: 61.33 kB / 1.041 GB, free: 12.23 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004585/0.8343, allocations: 143.8 kB / 1.041 GB, free: 12.09 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001208/0.8355, allocations: 1.444 MB / 1.043 GB, free: 10.51 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006508/0.8362, allocations: 123.2 kB / 1.043 GB, free: 10.39 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.339e-05/0.8362, allocations: 28 kB / 1.043 GB, free: 10.36 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.0003906/0.8366, allocations: 345.4 kB / 1.043 GB, free: 10.02 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.885e-05/0.8367, allocations: 67.25 kB / 1.043 GB, free: 9.949 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001116/0.8368, allocations: 66 kB / 1.043 GB, free: 9.879 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.396e-06/0.8369, allocations: 0 / 1.043 GB, free: 9.879 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.134e-06/0.8369, allocations: 7.938 kB / 1.043 GB, free: 9.871 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.8369, allocations: 3.984 kB / 1.043 GB, free: 9.867 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000626/0.8375, allocations: 0.579 MB / 1.044 GB, free: 9.238 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.857e-06/0.8375, allocations: 3.984 kB / 1.044 GB, free: 9.234 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000236/0.8378, allocations: 47.97 kB / 1.044 GB, free: 9.188 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001179/0.8379, allocations: 40.81 kB / 1.044 GB, free: 9.145 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.523e-05/0.8379, allocations: 8 kB / 1.044 GB, free: 9.137 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001006/0.8389, allocations: 1.424 MB / 1.045 GB, free: 7.578 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.839, allocations: 0 / 1.045 GB, free: 7.578 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007522/0.8397, allocations: 0.5748 MB / 1.046 GB, free: 6.984 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000276/0.84, allocations: 208.2 kB / 1.046 GB, free: 6.762 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.639e-05/0.8401, allocations: 11.98 kB / 1.046 GB, free: 6.75 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004055/0.8405, allocations: 43.92 kB / 1.046 GB, free: 6.707 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.528e-05/0.8406, allocations: 11.98 kB / 1.046 GB, free: 6.695 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.26e-05/0.8406, allocations: 4 kB / 1.046 GB, free: 6.691 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.000945/0.8416, allocations: 0.6551 MB / 1.047 GB, free: 6.043 MB / 0.795 GB Notification: Performance of sort global known variables: time 8.01e-07/0.8416, allocations: 0 / 1.047 GB, free: 6.043 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0007574/0.8423, allocations: 183.8 kB / 1.047 GB, free: 5.863 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.0002013/0.8425, allocations: 111.2 kB / 1.047 GB, free: 5.742 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.001028/0.8436, allocations: 0.5821 MB / 1.048 GB, free: 5.148 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 3.407e-06/0.8436, allocations: 0 / 1.048 GB, free: 5.148 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0003372/0.8439, allocations: 242.9 kB / 1.048 GB, free: 4.898 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009248/0.8449, allocations: 168.4 kB / 1.048 GB, free: 4.734 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002656/0.8475, allocations: 1.773 MB / 1.05 GB, free: 2.934 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007846/0.8483, allocations: 1.022 MB / 1.051 GB, free: 1.883 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0005029/0.8489, allocations: 184.5 kB / 1.051 GB, free: 1.703 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001328/0.849, allocations: 35.44 kB / 1.051 GB, free: 1.672 MB / 0.795 GB Notification: Performance of SimCode: time 1.674e-06/0.849, allocations: 0 / 1.051 GB, free: 1.672 MB / 0.795 GB Notification: Performance of Templates: time 0.01543/0.8644, allocations: 7.76 MB / 1.059 GB, free: 10.02 MB / 0.8106 GB make -j1 -f Buildings_10_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.makefile (rm -f Buildings_10_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe ; mkfifo Buildings_10_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe ; head -c 1048576 < Buildings_10_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe >> ../files/Buildings_10_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.sim & ./Buildings_10_Buildings.HeatTransfer.Examples.ConductorMultiLayer2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.HeatTransfer.Examples.ConductorMultiLayer2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_HeatTransfer_Examples_ConductorMultiLayer2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches