Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.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_9_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_9_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.0008554/0.0008552, allocations: 97.78 kB / 16.02 MB, free: 76 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.001078/0.001078, allocations: 187.3 kB / 16.92 MB, free: 6.75 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.381/1.381, allocations: 223.3 MB / 241 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.337/2.337, allocations: 390.9 MB / 0.667 GB, free: 2.387 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003716/0.0003714, allocations: 11.98 kB / 0.8166 GB, free: 13.25 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6304/0.6308, allocations: 142.4 MB / 0.9557 GB, free: 7.996 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorMultiLayer2): time 0.002399/0.6333, allocations: 2.422 MB / 0.9581 GB, free: 6.078 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.003054/0.6363, allocations: 2.761 MB / 0.9608 GB, free: 3.895 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001975/0.6365, allocations: 4.125 kB / 0.9608 GB, free: 3.895 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001177/0.6377, allocations: 461.2 kB / 0.9612 GB, free: 3.621 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0004346/0.6382, allocations: 240.8 kB / 0.9614 GB, free: 3.43 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007329/0.6389, allocations: 336.3 kB / 0.9617 GB, free: 3.195 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001578/0.6405, allocations: 1.717 MB / 0.9634 GB, free: 2.359 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002083/0.6407, allocations: 127.2 kB / 0.9635 GB, free: 2.301 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005661/0.6413, allocations: 400.8 kB / 0.9639 GB, free: 2.129 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004775/0.6418, allocations: 395 kB / 0.9643 GB, free: 1.906 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 5.673e-05/0.6419, allocations: 20.69 kB / 0.9643 GB, free: 1.906 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 8.864e-05/0.642, allocations: 23.09 kB / 0.9643 GB, free: 1.906 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.000209/0.6422, allocations: 225.7 kB / 0.9646 GB, free: 1.77 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.000315/0.6425, allocations: 362.5 kB / 0.9649 GB, free: 1.523 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0005142/0.643, allocations: 0.7188 MB / 0.9656 GB, free: 1.066 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.643, allocations: 1.031 kB / 0.9656 GB, free: 1.066 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.262e-06/0.643, allocations: 0 / 0.9656 GB, free: 1.066 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.897e-06/0.643, allocations: 0 / 0.9656 GB, free: 1.066 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.001668/0.6447, allocations: 1.033 MB / 0.9666 GB, free: 288 kB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.81e-05/0.6448, allocations: 8.906 kB / 0.9666 GB, free: 288 kB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001291/0.6449, allocations: 78.5 kB / 0.9667 GB, free: 248 kB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009501/0.6459, allocations: 0.6422 MB / 0.9673 GB, free: 15.75 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.471e-05/0.6459, allocations: 39.38 kB / 0.9674 GB, free: 15.73 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.593e-05/0.646, allocations: 46.78 kB / 0.9674 GB, free: 15.71 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005857/0.6466, allocations: 372.8 kB / 0.9678 GB, free: 15.46 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.898e-06/0.6466, allocations: 1.25 kB / 0.9678 GB, free: 15.46 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.165e-05/0.6466, allocations: 10.56 kB / 0.9678 GB, free: 15.45 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.155e-05/0.6467, allocations: 9.781 kB / 0.9678 GB, free: 15.45 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004082/0.6471, allocations: 239 kB / 0.968 GB, free: 15.34 MB / 0.7325 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.003557/0.6506, allocations: 2.473 MB / 0.9704 GB, free: 13.27 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009928/0.6516, allocations: 405.5 kB / 0.9708 GB, free: 13.07 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002314/0.6519, allocations: 147.5 kB / 0.971 GB, free: 13 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.515e-05/0.6519, allocations: 2 kB / 0.971 GB, free: 13 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.211e-05/0.6519, allocations: 31.66 kB / 0.971 GB, free: 12.96 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=18): time 1.523e-06/0.652, allocations: 0 / 0.971 GB, free: 12.96 MB / 0.7325 GB Notification: Performance of matching and sorting (n=18): time 0.001053/0.653, allocations: 0.5365 MB / 0.9715 GB, free: 12.62 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.189e-05/0.6531, allocations: 57.41 kB / 0.9716 GB, free: 12.55 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001291/0.6544, allocations: 0.9454 MB / 0.9725 GB, free: 12.02 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.896e-05/0.6544, allocations: 36.2 kB / 0.9725 GB, free: 11.98 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002645/0.6547, allocations: 296.4 kB / 0.9728 GB, free: 11.72 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001007/0.6548, allocations: 76.02 kB / 0.9729 GB, free: 11.66 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.011e-05/0.6549, allocations: 65.34 kB / 0.9729 GB, free: 11.61 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001665/0.6551, allocations: 388.9 kB / 0.9733 GB, free: 11.25 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003856/0.6555, allocations: 242.8 kB / 0.9735 GB, free: 11.13 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005584/0.656, allocations: 0.4972 MB / 0.974 GB, free: 10.66 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008586/0.6569, allocations: 0.7014 MB / 0.9747 GB, free: 10.07 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.021e-06/0.6569, allocations: 2.938 kB / 0.9747 GB, free: 10.07 MB / 0.7325 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.00125/0.6582, allocations: 0.8199 MB / 0.9755 GB, free: 9.637 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.195e-05/0.6582, allocations: 12.5 kB / 0.9755 GB, free: 9.633 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.5e-05/0.6582, allocations: 9.406 kB / 0.9755 GB, free: 9.633 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002065/0.6584, allocations: 47.73 kB / 0.9756 GB, free: 9.613 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004691/0.6589, allocations: 144.4 kB / 0.9757 GB, free: 9.574 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00118/0.6601, allocations: 1.439 MB / 0.9771 GB, free: 8.152 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007652/0.6609, allocations: 123.9 kB / 0.9772 GB, free: 8.082 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.332e-05/0.6609, allocations: 32.09 kB / 0.9773 GB, free: 8.074 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.0004208/0.6614, allocations: 332.6 kB / 0.9776 GB, free: 7.836 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001035/0.6615, allocations: 62.62 kB / 0.9777 GB, free: 7.801 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001241/0.6616, allocations: 71.44 kB / 0.9777 GB, free: 7.754 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.631e-06/0.6616, allocations: 5 kB / 0.9777 GB, free: 7.75 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.6616, allocations: 1.5 kB / 0.9777 GB, free: 7.75 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.62e-06/0.6616, allocations: 3.984 kB / 0.9777 GB, free: 7.746 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007273/0.6624, allocations: 0.5752 MB / 0.9783 GB, free: 7.281 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.809e-06/0.6624, allocations: 9.578 kB / 0.9783 GB, free: 7.273 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002515/0.6626, allocations: 46.41 kB / 0.9783 GB, free: 7.262 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000126/0.6628, allocations: 44.91 kB / 0.9784 GB, free: 7.234 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.625e-05/0.6628, allocations: 11.94 kB / 0.9784 GB, free: 7.227 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001077/0.6639, allocations: 1.421 MB / 0.9798 GB, free: 5.805 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.522e-06/0.6639, allocations: 0 / 0.9798 GB, free: 5.805 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007936/0.6647, allocations: 0.5746 MB / 0.9804 GB, free: 5.238 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002747/0.665, allocations: 208.2 kB / 0.9806 GB, free: 5.016 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.628e-05/0.6651, allocations: 7.984 kB / 0.9806 GB, free: 5.008 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004058/0.6655, allocations: 51.86 kB / 0.9806 GB, free: 4.957 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.801e-05/0.6656, allocations: 11.98 kB / 0.9806 GB, free: 4.945 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.218e-05/0.6656, allocations: 11.94 kB / 0.9806 GB, free: 4.934 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0008703/0.6664, allocations: 0.6629 MB / 0.9813 GB, free: 4.277 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.31e-07/0.6665, allocations: 0 / 0.9813 GB, free: 4.277 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0006763/0.6671, allocations: 183.8 kB / 0.9815 GB, free: 4.098 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.0001262/0.6673, allocations: 99.23 kB / 0.9815 GB, free: 3.992 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0008846/0.6682, allocations: 0.5877 MB / 0.9821 GB, free: 3.391 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.6682, allocations: 4.062 kB / 0.9821 GB, free: 3.387 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0003236/0.6685, allocations: 252.1 kB / 0.9824 GB, free: 3.129 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008679/0.6694, allocations: 162.8 kB / 0.9825 GB, free: 2.969 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002375/0.6718, allocations: 1.844 MB / 0.9843 GB, free: 1.09 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006013/0.6724, allocations: 1.003 MB / 0.9853 GB, free: 60 kB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001374/0.6725, allocations: 35.44 kB / 0.9853 GB, free: 24 kB / 0.7325 GB Notification: Performance of SimCode: time 2.51e-07/0.6725, allocations: 0 / 0.9853 GB, free: 24 kB / 0.7325 GB Notification: Performance of Templates: time 0.01568/0.6882, allocations: 12.18 MB / 0.9972 GB, free: 3.891 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.makefile (rm -f Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.sim & ./Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_HeatTransfer_Examples_ConductorMultiLayer2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches