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.001663/0.001663, allocations: 102.4 kB / 16.35 MB, free: 5.875 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.001995/0.001995, allocations: 191 kB / 17.29 MB, free: 5.516 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.365/1.365, allocations: 222.9 MB / 241 MB, free: 14.98 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.478/2.478, allocations: 442.6 MB / 0.7165 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001304/0.001304, allocations: 66.75 kB / 0.8773 GB, free: 10.98 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3215/0.3228, allocations: 153 MB / 1.027 GB, free: 2.055 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorMultiLayer2): time 0.003857/0.3267, allocations: 2.739 MB / 1.029 GB, free: 15.3 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.003681/0.3304, allocations: 2.789 MB / 1.032 GB, free: 12.5 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002033/0.3307, allocations: 11.94 kB / 1.032 GB, free: 12.48 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.001378/0.332, allocations: 498 kB / 1.033 GB, free: 12 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0005058/0.3326, allocations: 258.8 kB / 1.033 GB, free: 11.74 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009567/0.3336, allocations: 403 kB / 1.033 GB, free: 11.35 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.001611/0.3352, allocations: 1.524 MB / 1.035 GB, free: 9.824 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002262/0.3355, allocations: 138.3 kB / 1.035 GB, free: 9.684 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005782/0.336, allocations: 478.7 kB / 1.035 GB, free: 9.215 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004981/0.3366, allocations: 394.6 kB / 1.036 GB, free: 8.828 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 6.974e-05/0.3366, allocations: 44 kB / 1.036 GB, free: 8.785 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001155/0.3368, allocations: 52 kB / 1.036 GB, free: 8.734 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.000298/0.3371, allocations: 267.3 kB / 1.036 GB, free: 8.473 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0003416/0.3374, allocations: 378.2 kB / 1.036 GB, free: 8.102 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0007435/0.3382, allocations: 0.9074 MB / 1.037 GB, free: 7.191 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.3382, allocations: 0 / 1.037 GB, free: 7.191 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.124e-06/0.3382, allocations: 0 / 1.037 GB, free: 7.191 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.256e-05/0.3382, allocations: 4 kB / 1.037 GB, free: 7.188 MB / 0.8106 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.001957/0.3402, allocations: 1.144 MB / 1.038 GB, free: 5.992 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.639e-05/0.3402, allocations: 8.031 kB / 1.038 GB, free: 5.984 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001224/0.3403, allocations: 80 kB / 1.038 GB, free: 5.906 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001074/0.3414, allocations: 0.6759 MB / 1.039 GB, free: 5.188 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.605e-05/0.3414, allocations: 24.94 kB / 1.039 GB, free: 5.164 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.879e-05/0.3415, allocations: 40.38 kB / 1.039 GB, free: 5.125 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005498/0.3421, allocations: 378.9 kB / 1.04 GB, free: 4.73 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.305e-05/0.3421, allocations: 3.938 kB / 1.04 GB, free: 4.727 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.986e-05/0.3421, allocations: 12 kB / 1.04 GB, free: 4.715 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.596e-06/0.3421, allocations: 4 kB / 1.04 GB, free: 4.711 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003908/0.3425, allocations: 241.5 kB / 1.04 GB, free: 4.477 MB / 0.8106 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.003473/0.346, allocations: 2.451 MB / 1.042 GB, free: 1.836 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000938/0.347, allocations: 402.4 kB / 1.043 GB, free: 1.434 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002077/0.3472, allocations: 140.7 kB / 1.043 GB, free: 1.293 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.952e-05/0.3472, allocations: 4 kB / 1.043 GB, free: 1.289 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.244e-05/0.3472, allocations: 34.88 kB / 1.043 GB, free: 1.246 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=18): time 1.333e-06/0.3473, allocations: 3.938 kB / 1.043 GB, free: 1.242 MB / 0.8106 GB Notification: Performance of matching and sorting (n=18): time 0.0009638/0.3482, allocations: 0.536 MB / 1.043 GB, free: 0.6797 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.499e-05/0.3483, allocations: 55.41 kB / 1.043 GB, free: 0.6133 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001162/0.3494, allocations: 0.9376 MB / 1.044 GB, free: 15.66 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.628e-05/0.3495, allocations: 29.7 kB / 1.044 GB, free: 15.63 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002846/0.3498, allocations: 304.4 kB / 1.045 GB, free: 15.33 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 7.677e-05/0.3499, allocations: 70.95 kB / 1.045 GB, free: 15.26 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001489/0.35, allocations: 122.2 kB / 1.045 GB, free: 15.13 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001741/0.3502, allocations: 382.7 kB / 1.045 GB, free: 14.75 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003334/0.3505, allocations: 240.9 kB / 1.045 GB, free: 14.52 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005045/0.3511, allocations: 0.4975 MB / 1.046 GB, free: 13.89 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007794/0.3518, allocations: 0.7007 MB / 1.047 GB, free: 13.06 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.981e-06/0.3519, allocations: 4 kB / 1.047 GB, free: 13.06 MB / 0.8262 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001148/0.353, allocations: 0.8162 MB / 1.047 GB, free: 12.23 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.143e-05/0.353, allocations: 8 kB / 1.047 GB, free: 12.23 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.329e-05/0.3531, allocations: 12 kB / 1.047 GB, free: 12.21 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002147/0.3533, allocations: 52.77 kB / 1.047 GB, free: 12.16 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004432/0.3537, allocations: 139.8 kB / 1.048 GB, free: 12.02 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001236/0.355, allocations: 1.539 MB / 1.049 GB, free: 10.34 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006374/0.3556, allocations: 127.2 kB / 1.049 GB, free: 10.22 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.618e-05/0.3557, allocations: 28 kB / 1.049 GB, free: 10.19 MB / 0.8262 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003726/0.3561, allocations: 337.5 kB / 1.049 GB, free: 9.852 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001013/0.3562, allocations: 63.19 kB / 1.05 GB, free: 9.789 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001047/0.3563, allocations: 66 kB / 1.05 GB, free: 9.723 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-06/0.3563, allocations: 0 / 1.05 GB, free: 9.723 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.3563, allocations: 0 / 1.05 GB, free: 9.723 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/0.3563, allocations: 12 kB / 1.05 GB, free: 9.711 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006545/0.357, allocations: 0.5791 MB / 1.05 GB, free: 9.082 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.806e-06/0.357, allocations: 4 kB / 1.05 GB, free: 9.078 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000239/0.3572, allocations: 51.89 kB / 1.05 GB, free: 9.027 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001143/0.3573, allocations: 40.81 kB / 1.05 GB, free: 8.984 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.553e-05/0.3574, allocations: 11.98 kB / 1.05 GB, free: 8.973 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001104/0.3585, allocations: 1.519 MB / 1.052 GB, free: 7.309 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.3585, allocations: 4.156 kB / 1.052 GB, free: 7.305 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007167/0.3592, allocations: 0.572 MB / 1.052 GB, free: 6.715 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003101/0.3595, allocations: 200.3 kB / 1.053 GB, free: 6.5 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.143e-05/0.3596, allocations: 11.94 kB / 1.053 GB, free: 6.488 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003699/0.36, allocations: 47.8 kB / 1.053 GB, free: 6.441 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.922e-05/0.3601, allocations: 19.97 kB / 1.053 GB, free: 6.422 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.015e-05/0.3601, allocations: 4 kB / 1.053 GB, free: 6.418 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0007893/0.3609, allocations: 0.6668 MB / 1.053 GB, free: 5.758 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.9e-07/0.3609, allocations: 0 / 1.053 GB, free: 5.758 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0005942/0.3615, allocations: 179.8 kB / 1.053 GB, free: 5.582 MB / 0.8262 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001187/0.3616, allocations: 103.2 kB / 1.054 GB, free: 5.469 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0008558/0.3625, allocations: 0.5743 MB / 1.054 GB, free: 4.883 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.938e-06/0.3625, allocations: 4.375 kB / 1.054 GB, free: 4.879 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0003045/0.3628, allocations: 250.5 kB / 1.054 GB, free: 4.621 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007447/0.3635, allocations: 170.9 kB / 1.055 GB, free: 4.453 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001965/0.3655, allocations: 1.513 MB / 1.056 GB, free: 2.91 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005697/0.3661, allocations: 1.007 MB / 1.057 GB, free: 1.875 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.000344/0.3664, allocations: 176.5 kB / 1.057 GB, free: 1.703 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001211/0.3666, allocations: 43.42 kB / 1.057 GB, free: 1.664 MB / 0.8262 GB Notification: Performance of SimCode: time 2.2e-07/0.3666, allocations: 0 / 1.057 GB, free: 1.664 MB / 0.8262 GB Notification: Performance of Templates: time 0.01382/0.3804, allocations: 8.435 MB / 1.065 GB, free: 9.348 MB / 0.8419 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 -s cvode -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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches