Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.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_9_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_9_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.001576/0.001577, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002022/0.002022, allocations: 196.1 kB / 16.14 MB, free: 6.711 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.398/1.398, allocations: 222.9 MB / 239.8 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.315/2.315, allocations: 390.2 MB / 0.6642 GB, free: 0.5781 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001994/0.001994, allocations: 71.88 kB / 0.8118 GB, free: 14.87 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6658/0.6678, allocations: 140.3 MB / 0.9489 GB, free: 9.348 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorMultiLayer3): time 0.003119/0.6709, allocations: 2.783 MB / 0.9516 GB, free: 7.156 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002891/0.6738, allocations: 2.804 MB / 0.9544 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001591/0.674, allocations: 8.969 kB / 0.9544 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001137/0.6752, allocations: 460 kB / 0.9548 GB, free: 4.66 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0003765/0.6756, allocations: 242.1 kB / 0.955 GB, free: 4.469 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006298/0.6762, allocations: 339.1 kB / 0.9554 GB, free: 4.234 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.00143/0.6776, allocations: 1.715 MB / 0.957 GB, free: 3.402 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001845/0.6778, allocations: 133.7 kB / 0.9572 GB, free: 3.336 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000543/0.6784, allocations: 404.6 kB / 0.9575 GB, free: 3.164 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004563/0.6789, allocations: 399.1 kB / 0.9579 GB, free: 2.938 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 6.651e-05/0.6789, allocations: 23.97 kB / 0.9579 GB, free: 2.938 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001008/0.679, allocations: 24.38 kB / 0.958 GB, free: 2.938 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0002033/0.6793, allocations: 238.1 kB / 0.9582 GB, free: 2.789 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0002875/0.6795, allocations: 330.3 kB / 0.9585 GB, free: 2.582 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0006249/0.6802, allocations: 0.8838 MB / 0.9594 GB, free: 2.008 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.6802, allocations: 5.062 kB / 0.9594 GB, free: 2.004 MB / 0.7169 GB Notification: Performance of FrontEnd: time 7.52e-07/0.6802, allocations: 0 / 0.9594 GB, free: 2.004 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 9.759e-06/0.6802, allocations: 0 / 0.9594 GB, free: 2.004 MB / 0.7169 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.001795/0.682, allocations: 1.144 MB / 0.9605 GB, free: 1.141 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.326e-05/0.6821, allocations: 9.5 kB / 0.9605 GB, free: 1.141 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001194/0.6822, allocations: 77.75 kB / 0.9606 GB, free: 1.102 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007698/0.683, allocations: 0.6454 MB / 0.9612 GB, free: 0.6094 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.376e-05/0.683, allocations: 28 kB / 0.9612 GB, free: 0.5977 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.759e-05/0.6831, allocations: 46.06 kB / 0.9613 GB, free: 0.5781 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004891/0.6836, allocations: 376.1 kB / 0.9616 GB, free: 332 kB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.092e-05/0.6836, allocations: 0 / 0.9616 GB, free: 332 kB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.569e-05/0.6836, allocations: 10.47 kB / 0.9617 GB, free: 324 kB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.975e-06/0.6836, allocations: 6.5 kB / 0.9617 GB, free: 324 kB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003602/0.684, allocations: 234.9 kB / 0.9619 GB, free: 212 kB / 0.7169 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.003865/0.6879, allocations: 2.46 MB / 0.9643 GB, free: 14.13 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00103/0.6889, allocations: 398.5 kB / 0.9647 GB, free: 13.94 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002261/0.6891, allocations: 145.6 kB / 0.9648 GB, free: 13.86 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.765e-05/0.6892, allocations: 2.031 kB / 0.9648 GB, free: 13.86 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.696e-05/0.6892, allocations: 31.53 kB / 0.9648 GB, free: 13.82 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=18): time 1.723e-06/0.6892, allocations: 0.7188 kB / 0.9648 GB, free: 13.82 MB / 0.7325 GB Notification: Performance of matching and sorting (n=18): time 0.000976/0.6902, allocations: 0.529 MB / 0.9654 GB, free: 13.49 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.383e-05/0.6902, allocations: 57.5 kB / 0.9654 GB, free: 13.42 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001168/0.6914, allocations: 0.9388 MB / 0.9663 GB, free: 12.89 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.556e-05/0.6915, allocations: 35.02 kB / 0.9664 GB, free: 12.86 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002237/0.6917, allocations: 301.2 kB / 0.9666 GB, free: 12.59 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 7.406e-05/0.6918, allocations: 68.41 kB / 0.9667 GB, free: 12.54 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001543/0.6919, allocations: 123 kB / 0.9668 GB, free: 12.46 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001595/0.6921, allocations: 384.3 kB / 0.9672 GB, free: 12.1 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003335/0.6924, allocations: 243.8 kB / 0.9674 GB, free: 11.98 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004982/0.6929, allocations: 0.5077 MB / 0.9679 GB, free: 11.5 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007861/0.6937, allocations: 0.6951 MB / 0.9686 GB, free: 10.91 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.002e-06/0.6938, allocations: 6.469 kB / 0.9686 GB, free: 10.91 MB / 0.7325 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001156/0.6949, allocations: 0.8116 MB / 0.9694 GB, free: 10.48 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.975e-05/0.6949, allocations: 9.031 kB / 0.9694 GB, free: 10.48 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.273e-05/0.695, allocations: 9.531 kB / 0.9694 GB, free: 10.48 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000199/0.6952, allocations: 51.81 kB / 0.9695 GB, free: 10.46 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004445/0.6956, allocations: 146.9 kB / 0.9696 GB, free: 10.41 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001115/0.6967, allocations: 1.439 MB / 0.971 GB, free: 8.992 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007232/0.6975, allocations: 128.6 kB / 0.9711 GB, free: 8.918 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.502e-05/0.6975, allocations: 26.28 kB / 0.9712 GB, free: 8.914 MB / 0.7325 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.0003622/0.6979, allocations: 337.3 kB / 0.9715 GB, free: 8.672 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001028/0.698, allocations: 66.77 kB / 0.9715 GB, free: 8.633 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001085/0.6981, allocations: 70.88 kB / 0.9716 GB, free: 8.586 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.889e-06/0.6981, allocations: 10.84 kB / 0.9716 GB, free: 8.578 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.212e-06/0.6981, allocations: 0 / 0.9716 GB, free: 8.578 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.6982, allocations: 0 / 0.9716 GB, free: 8.578 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006771/0.6988, allocations: 0.5753 MB / 0.9722 GB, free: 8.113 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.6988, allocations: 1.25 kB / 0.9722 GB, free: 8.113 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000257/0.6991, allocations: 45.58 kB / 0.9722 GB, free: 8.102 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001213/0.6992, allocations: 44.95 kB / 0.9723 GB, free: 8.074 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.62e-05/0.6993, allocations: 7.156 kB / 0.9723 GB, free: 8.07 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001121/0.7004, allocations: 1.417 MB / 0.9737 GB, free: 6.652 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.7004, allocations: 1.219 kB / 0.9737 GB, free: 6.652 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007502/0.7012, allocations: 0.5709 MB / 0.9742 GB, free: 6.285 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002355/0.7014, allocations: 203.7 kB / 0.9744 GB, free: 6.113 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.672e-05/0.7015, allocations: 3.875 kB / 0.9744 GB, free: 6.113 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000398/0.7019, allocations: 47.98 kB / 0.9745 GB, free: 6.09 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.065e-05/0.702, allocations: 16.86 kB / 0.9745 GB, free: 6.078 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.653e-05/0.702, allocations: 7.844 kB / 0.9745 GB, free: 6.074 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0008026/0.7028, allocations: 0.6599 MB / 0.9751 GB, free: 5.707 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.6e-07/0.7028, allocations: 0 / 0.9751 GB, free: 5.707 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0006499/0.7035, allocations: 187.4 kB / 0.9753 GB, free: 5.684 MB / 0.7325 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.0001458/0.7036, allocations: 110.1 kB / 0.9754 GB, free: 5.586 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0008938/0.7045, allocations: 0.5722 MB / 0.976 GB, free: 5.258 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.7045, allocations: 4.125 kB / 0.976 GB, free: 5.254 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0003265/0.7049, allocations: 252.3 kB / 0.9762 GB, free: 5.074 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000833/0.7057, allocations: 169.9 kB / 0.9764 GB, free: 4.988 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002104/0.7078, allocations: 1.7 MB / 0.978 GB, free: 3.305 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005638/0.7084, allocations: 1.003 MB / 0.979 GB, free: 2.273 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0004011/0.7088, allocations: 188.5 kB / 0.9792 GB, free: 2.09 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001157/0.7089, allocations: 35.44 kB / 0.9792 GB, free: 2.055 MB / 0.7325 GB Notification: Performance of SimCode: time 2.9e-07/0.7089, allocations: 0 / 0.9792 GB, free: 2.055 MB / 0.7325 GB Notification: Performance of Templates: time 0.01269/0.7216, allocations: 8.099 MB / 0.9871 GB, free: 10.07 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.makefile (rm -f Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.sim & ./Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer3_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_HeatTransfer_Examples_ConductorMultiLayer3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches