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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.00625/0.006251, allocations: 101.5 kB / 15.73 MB, free: 5.98 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.001242/0.001243, allocations: 190.5 kB / 16.67 MB, free: 5.918 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.441/1.441, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.784/2.784, allocations: 461.9 MB / 0.7347 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001504/0.001504, allocations: 67.83 kB / 1.054 GB, free: 7.168 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3366/0.3381, allocations: 157.4 MB / 1.208 GB, free: 9.672 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorMultiLayer2): time 0.004807/0.343, allocations: 2.744 MB / 1.21 GB, free: 6.902 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.004245/0.3472, allocations: 2.78 MB / 1.213 GB, free: 4.113 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004453/0.3477, allocations: 11.94 kB / 1.213 GB, free: 4.102 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.001682/0.3494, allocations: 498 kB / 1.214 GB, free: 3.613 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0007091/0.3502, allocations: 253.8 kB / 1.214 GB, free: 3.367 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001178/0.3513, allocations: 410.9 kB / 1.214 GB, free: 2.965 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.001947/0.3533, allocations: 1.528 MB / 1.216 GB, free: 1.434 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002803/0.3536, allocations: 146.3 kB / 1.216 GB, free: 1.285 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008541/0.3545, allocations: 474.8 kB / 1.216 GB, free: 0.8203 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006907/0.3552, allocations: 386.6 kB / 1.217 GB, free: 452 kB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001538/0.3553, allocations: 44 kB / 1.217 GB, free: 408 kB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001945/0.3555, allocations: 59.94 kB / 1.217 GB, free: 348 kB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0003277/0.3559, allocations: 275.2 kB / 1.217 GB, free: 72 kB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0005541/0.3564, allocations: 366.4 kB / 1.217 GB, free: 15.71 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0009654/0.3574, allocations: 0.9151 MB / 1.218 GB, free: 14.79 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.229e-06/0.3574, allocations: 3.938 kB / 1.218 GB, free: 14.79 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.683e-06/0.3574, allocations: 0 / 1.218 GB, free: 14.79 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 2.929e-05/0.3575, allocations: 0 / 1.218 GB, free: 14.79 MB / 0.9825 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.002415/0.3599, allocations: 1.148 MB / 1.219 GB, free: 13.59 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.349e-05/0.3599, allocations: 12.62 kB / 1.219 GB, free: 13.58 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001731/0.3601, allocations: 76.09 kB / 1.219 GB, free: 13.5 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00108/0.3612, allocations: 0.6682 MB / 1.22 GB, free: 12.79 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.917e-05/0.3612, allocations: 32.92 kB / 1.22 GB, free: 12.76 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.414e-05/0.3613, allocations: 40.38 kB / 1.22 GB, free: 12.72 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005534/0.3619, allocations: 374.8 kB / 1.221 GB, free: 12.34 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.296e-05/0.3619, allocations: 0 / 1.221 GB, free: 12.34 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.984e-05/0.3619, allocations: 12 kB / 1.221 GB, free: 12.32 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.266e-06/0.362, allocations: 4 kB / 1.221 GB, free: 12.32 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003971/0.3624, allocations: 241.5 kB / 1.221 GB, free: 12.08 MB / 0.9825 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.00357/0.3659, allocations: 2.455 MB / 1.223 GB, free: 9.438 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009569/0.3669, allocations: 402.5 kB / 1.224 GB, free: 9.035 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002044/0.3671, allocations: 132.7 kB / 1.224 GB, free: 8.902 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.092e-05/0.3672, allocations: 3.984 kB / 1.224 GB, free: 8.898 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.774e-05/0.3672, allocations: 42.5 kB / 1.224 GB, free: 8.848 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=18): time 1.342e-06/0.3672, allocations: 0 / 1.224 GB, free: 8.848 MB / 0.9825 GB Notification: Performance of matching and sorting (n=18): time 0.0009816/0.3682, allocations: 0.5277 MB / 1.224 GB, free: 8.293 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.81e-05/0.3682, allocations: 55.41 kB / 1.224 GB, free: 8.227 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001198/0.3694, allocations: 0.9375 MB / 1.225 GB, free: 7.281 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.787e-05/0.3695, allocations: 33.7 kB / 1.225 GB, free: 7.242 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.000265/0.3698, allocations: 300.5 kB / 1.226 GB, free: 6.945 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 8.686e-05/0.3699, allocations: 74.94 kB / 1.226 GB, free: 6.871 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001713/0.37, allocations: 130.1 kB / 1.226 GB, free: 6.738 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001762/0.3702, allocations: 382.7 kB / 1.226 GB, free: 6.355 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003479/0.3706, allocations: 240.9 kB / 1.226 GB, free: 6.121 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005087/0.3711, allocations: 0.5014 MB / 1.227 GB, free: 5.488 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008212/0.3719, allocations: 0.6952 MB / 1.228 GB, free: 4.664 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.307e-06/0.3719, allocations: 7.938 kB / 1.228 GB, free: 4.656 MB / 0.9825 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001183/0.3731, allocations: 0.8119 MB / 1.228 GB, free: 3.836 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.284e-05/0.3732, allocations: 8 kB / 1.228 GB, free: 3.828 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.616e-05/0.3732, allocations: 12 kB / 1.228 GB, free: 3.816 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000217/0.3734, allocations: 56.84 kB / 1.228 GB, free: 3.758 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000435/0.3739, allocations: 135.7 kB / 1.229 GB, free: 3.625 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001191/0.3751, allocations: 1.543 MB / 1.23 GB, free: 1.945 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006403/0.3757, allocations: 123.2 kB / 1.23 GB, free: 1.824 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.841e-05/0.3758, allocations: 28 kB / 1.23 GB, free: 1.797 MB / 0.9825 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.000348/0.3761, allocations: 337.6 kB / 1.23 GB, free: 1.457 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001067/0.3762, allocations: 63.19 kB / 1.231 GB, free: 1.395 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001153/0.3763, allocations: 70 kB / 1.231 GB, free: 1.32 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.3763, allocations: 0 / 1.231 GB, free: 1.32 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.3764, allocations: 4 kB / 1.231 GB, free: 1.316 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.621e-06/0.3764, allocations: 3.984 kB / 1.231 GB, free: 1.312 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006575/0.377, allocations: 0.5752 MB / 1.231 GB, free: 0.6875 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.896e-06/0.377, allocations: 0 / 1.231 GB, free: 0.6875 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002342/0.3773, allocations: 55.83 kB / 1.231 GB, free: 0.6328 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001181/0.3774, allocations: 44.81 kB / 1.231 GB, free: 0.5859 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.631e-05/0.3774, allocations: 8 kB / 1.231 GB, free: 0.5781 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001182/0.3786, allocations: 1.531 MB / 1.233 GB, free: 14.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.3786, allocations: 0 / 1.233 GB, free: 14.9 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00071/0.3794, allocations: 0.5708 MB / 1.233 GB, free: 14.31 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000256/0.3796, allocations: 196.4 kB / 1.234 GB, free: 14.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.677e-05/0.3797, allocations: 11.98 kB / 1.234 GB, free: 14.09 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003631/0.3801, allocations: 43.86 kB / 1.234 GB, free: 14.05 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.322e-05/0.3801, allocations: 19.92 kB / 1.234 GB, free: 14.03 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.021e-05/0.3802, allocations: 3.938 kB / 1.234 GB, free: 14.02 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0008578/0.381, allocations: 0.6629 MB / 1.234 GB, free: 13.37 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.71e-07/0.381, allocations: 0 / 1.234 GB, free: 13.37 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0006685/0.3817, allocations: 187.8 kB / 1.234 GB, free: 13.18 MB / 0.9981 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.0001695/0.3819, allocations: 103.2 kB / 1.235 GB, free: 13.07 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.000945/0.3828, allocations: 0.5754 MB / 1.235 GB, free: 12.49 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/0.3829, allocations: 1.875 kB / 1.235 GB, free: 12.49 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.000323/0.3832, allocations: 246.5 kB / 1.235 GB, free: 12.23 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008293/0.384, allocations: 182 kB / 1.235 GB, free: 12.06 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002269/0.3863, allocations: 1.512 MB / 1.237 GB, free: 10.52 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006118/0.3869, allocations: 1.007 MB / 1.238 GB, free: 9.484 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.000391/0.3873, allocations: 180.5 kB / 1.238 GB, free: 9.309 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001419/0.3875, allocations: 39.44 kB / 1.238 GB, free: 9.27 MB / 0.9981 GB Notification: Performance of SimCode: time 5.01e-07/0.3875, allocations: 0 / 1.238 GB, free: 9.27 MB / 0.9981 GB Notification: Performance of Templates: time 0.01516/0.4027, allocations: 8.521 MB / 1.246 GB, free: 0.8633 MB / 0.9981 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches