Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.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_10_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_10_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.001572/0.001572, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001598/0.001598, allocations: 198.2 kB / 16.53 MB, free: 6.664 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.531/1.531, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.795/2.795, allocations: 437 MB / 0.7104 GB, free: 5.109 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001903/0.001903, allocations: 63.91 kB / 0.8692 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7332/0.7351, allocations: 151.6 MB / 1.017 GB, free: 2.488 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorMultiLayer): time 0.005358/0.7405, allocations: 2.735 MB / 1.02 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.005131/0.7457, allocations: 2.787 MB / 1.023 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004691/0.7462, allocations: 11.94 kB / 1.023 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.001844/0.748, allocations: 494 kB / 1.023 GB, free: 12.44 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0008058/0.7489, allocations: 250.9 kB / 1.023 GB, free: 12.19 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.00117/0.7501, allocations: 406.8 kB / 1.024 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.002194/0.7523, allocations: 1.524 MB / 1.025 GB, free: 10.27 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003355/0.7527, allocations: 142.3 kB / 1.025 GB, free: 10.12 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009269/0.7536, allocations: 470.8 kB / 1.026 GB, free: 9.66 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008617/0.7545, allocations: 410.5 kB / 1.026 GB, free: 9.258 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0001475/0.7546, allocations: 48 kB / 1.026 GB, free: 9.211 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001838/0.7548, allocations: 56 kB / 1.026 GB, free: 9.156 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0003572/0.7552, allocations: 263.2 kB / 1.027 GB, free: 8.898 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0006991/0.7559, allocations: 370.2 kB / 1.027 GB, free: 8.535 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.001167/0.7571, allocations: 0.9034 MB / 1.028 GB, free: 7.629 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.7571, allocations: 0 / 1.028 GB, free: 7.629 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.735e-06/0.7571, allocations: 4 kB / 1.028 GB, free: 7.625 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.263e-05/0.7571, allocations: 0 / 1.028 GB, free: 7.625 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.002704/0.7599, allocations: 1.152 MB / 1.029 GB, free: 6.422 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.291e-05/0.7599, allocations: 8.031 kB / 1.029 GB, free: 6.414 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002117/0.7601, allocations: 80 kB / 1.029 GB, free: 6.336 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001271/0.7614, allocations: 0.6448 MB / 1.03 GB, free: 5.648 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.657e-05/0.7614, allocations: 28.94 kB / 1.03 GB, free: 5.621 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.975e-05/0.7615, allocations: 36.38 kB / 1.03 GB, free: 5.586 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006649/0.7622, allocations: 378.8 kB / 1.03 GB, free: 5.195 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.704e-05/0.7622, allocations: 4 kB / 1.03 GB, free: 5.191 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.121e-05/0.7623, allocations: 8 kB / 1.03 GB, free: 5.184 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.087e-05/0.7623, allocations: 8 kB / 1.03 GB, free: 5.176 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004603/0.7628, allocations: 237.5 kB / 1.03 GB, free: 4.945 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.004173/0.7669, allocations: 2.463 MB / 1.033 GB, free: 2.293 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001079/0.768, allocations: 390.5 kB / 1.033 GB, free: 1.902 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002478/0.7683, allocations: 146.3 kB / 1.033 GB, free: 1.758 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.077e-05/0.7683, allocations: 0 / 1.033 GB, free: 1.758 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.147e-05/0.7684, allocations: 38.56 kB / 1.033 GB, free: 1.711 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=18): time 1.643e-06/0.7684, allocations: 0 / 1.033 GB, free: 1.711 MB / 0.7794 GB Notification: Performance of matching and sorting (n=18): time 0.001182/0.7696, allocations: 0.5339 MB / 1.034 GB, free: 1.148 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.033e-05/0.7696, allocations: 59.41 kB / 1.034 GB, free: 1.078 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001468/0.7711, allocations: 0.9337 MB / 1.035 GB, free: 140 kB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 4.047e-05/0.7711, allocations: 33.7 kB / 1.035 GB, free: 100 kB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003025/0.7715, allocations: 304.4 kB / 1.035 GB, free: 15.8 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 9.111e-05/0.7716, allocations: 63.11 kB / 1.035 GB, free: 15.73 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001834/0.7717, allocations: 130.1 kB / 1.035 GB, free: 15.6 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0002204/0.772, allocations: 382.7 kB / 1.036 GB, free: 15.22 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003933/0.7724, allocations: 240.9 kB / 1.036 GB, free: 14.98 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006198/0.773, allocations: 0.5052 MB / 1.036 GB, free: 14.35 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00106/0.7741, allocations: 0.6991 MB / 1.037 GB, free: 13.52 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.135e-05/0.7741, allocations: 4 kB / 1.037 GB, free: 13.52 MB / 0.795 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001457/0.7756, allocations: 0.8119 MB / 1.038 GB, free: 12.7 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.455e-05/0.7756, allocations: 13.25 kB / 1.038 GB, free: 12.68 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.551e-05/0.7756, allocations: 11.94 kB / 1.038 GB, free: 12.67 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000215/0.7758, allocations: 53.23 kB / 1.038 GB, free: 12.62 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004731/0.7763, allocations: 139.8 kB / 1.038 GB, free: 12.48 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001484/0.7778, allocations: 1.55 MB / 1.04 GB, free: 10.79 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007034/0.7785, allocations: 119.2 kB / 1.04 GB, free: 10.68 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.722e-05/0.7786, allocations: 28 kB / 1.04 GB, free: 10.65 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 (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.0004346/0.779, allocations: 345.3 kB / 1.04 GB, free: 10.3 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001265/0.7792, allocations: 67.09 kB / 1.04 GB, free: 10.23 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000129/0.7793, allocations: 70.06 kB / 1.04 GB, free: 10.16 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.389e-05/0.7793, allocations: 4 kB / 1.04 GB, free: 10.15 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.7793, allocations: 0 / 1.04 GB, free: 10.15 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.7793, allocations: 0 / 1.04 GB, free: 10.15 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007236/0.7801, allocations: 0.5752 MB / 1.041 GB, free: 9.527 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.7801, allocations: 0 / 1.041 GB, free: 9.527 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002619/0.7803, allocations: 55.89 kB / 1.041 GB, free: 9.473 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001354/0.7805, allocations: 40.77 kB / 1.041 GB, free: 9.43 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.888e-05/0.7805, allocations: 11.98 kB / 1.041 GB, free: 9.418 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001342/0.7819, allocations: 1.519 MB / 1.042 GB, free: 7.762 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.067e-06/0.7819, allocations: 3.938 kB / 1.042 GB, free: 7.758 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008409/0.7828, allocations: 0.5628 MB / 1.043 GB, free: 7.176 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002969/0.7831, allocations: 204.4 kB / 1.043 GB, free: 6.957 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.824e-05/0.7832, allocations: 8 kB / 1.043 GB, free: 6.949 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003928/0.7836, allocations: 43.86 kB / 1.043 GB, free: 6.906 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.218e-05/0.7836, allocations: 19.97 kB / 1.043 GB, free: 6.887 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.327e-05/0.7837, allocations: 4 kB / 1.043 GB, free: 6.883 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.001002/0.7847, allocations: 0.659 MB / 1.044 GB, free: 6.23 MB / 0.795 GB Notification: Performance of sort global known variables: time 2.11e-07/0.7847, allocations: 0 / 1.044 GB, free: 6.23 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0006838/0.7854, allocations: 187.8 kB / 1.044 GB, free: 6.047 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 (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.0001553/0.7855, allocations: 116.2 kB / 1.044 GB, free: 5.922 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.001015/0.7865, allocations: 0.5891 MB / 1.045 GB, free: 5.32 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.7866, allocations: 0 / 1.045 GB, free: 5.32 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0003528/0.7869, allocations: 252 kB / 1.045 GB, free: 5.062 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008122/0.7877, allocations: 178.5 kB / 1.045 GB, free: 4.891 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002425/0.7902, allocations: 1.521 MB / 1.047 GB, free: 3.34 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007468/0.7909, allocations: 1.022 MB / 1.048 GB, free: 2.289 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0004368/0.7914, allocations: 180.5 kB / 1.048 GB, free: 2.113 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000118/0.7915, allocations: 35.44 kB / 1.048 GB, free: 2.082 MB / 0.795 GB Notification: Performance of SimCode: time 6.42e-07/0.7915, allocations: 0 / 1.048 GB, free: 2.082 MB / 0.795 GB Notification: Performance of Templates: time 0.01654/0.808, allocations: 8.421 MB / 1.056 GB, free: 9.773 MB / 0.8106 GB make -j1 -f Buildings_10_Buildings.HeatTransfer.Examples.ConductorMultiLayer.makefile (rm -f Buildings_10_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe ; mkfifo Buildings_10_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe ; head -c 1048576 < Buildings_10_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe >> ../files/Buildings_10_Buildings.HeatTransfer.Examples.ConductorMultiLayer.sim & ./Buildings_10_Buildings.HeatTransfer.Examples.ConductorMultiLayer -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.HeatTransfer.Examples.ConductorMultiLayer_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_HeatTransfer_Examples_ConductorMultiLayer.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.HeatTransfer.Examples.ConductorMultiLayer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches