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.001111/0.00111, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.001423/0.001423, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.456/1.456, allocations: 223.3 MB / 240 MB, free: 5.441 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.551/2.551, allocations: 390.9 MB / 0.666 GB, free: 2.445 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003223/0.0003224, allocations: 11.98 kB / 0.8153 GB, free: 13.59 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7002/0.7006, allocations: 142.4 MB / 0.9544 GB, free: 7.742 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorMultiLayer2): time 0.002522/0.7032, allocations: 2.323 MB / 0.9567 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.003709/0.7069, allocations: 2.591 MB / 0.9592 GB, free: 3.863 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002852/0.7072, allocations: 3.469 kB / 0.9592 GB, free: 3.863 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001296/0.7085, allocations: 448.6 kB / 0.9596 GB, free: 3.598 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0004287/0.7089, allocations: 223.2 kB / 0.9599 GB, free: 3.426 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007552/0.7097, allocations: 294 kB / 0.9601 GB, free: 3.227 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.00186/0.7116, allocations: 1.557 MB / 0.9617 GB, free: 2.391 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002672/0.7119, allocations: 126.7 kB / 0.9618 GB, free: 2.328 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000788/0.7127, allocations: 444 kB / 0.9622 GB, free: 2.145 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005146/0.7132, allocations: 389 kB / 0.9626 GB, free: 1.938 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 5.769e-05/0.7132, allocations: 25.42 kB / 0.9626 GB, free: 1.934 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 8.882e-05/0.7133, allocations: 25.5 kB / 0.9626 GB, free: 1.93 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001872/0.7135, allocations: 236.1 kB / 0.9628 GB, free: 1.789 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001333/0.7137, allocations: 161.6 kB / 0.963 GB, free: 1.688 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0005592/0.7142, allocations: 0.7188 MB / 0.9637 GB, free: 1.23 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.658e-06/0.7143, allocations: 0 / 0.9637 GB, free: 1.23 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.823e-06/0.7143, allocations: 0 / 0.9637 GB, free: 1.23 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.416e-06/0.7143, allocations: 0 / 0.9637 GB, free: 1.23 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.001656/0.7159, allocations: 1.043 MB / 0.9647 GB, free: 452 kB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.555e-05/0.716, allocations: 9.281 kB / 0.9647 GB, free: 452 kB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001468/0.7161, allocations: 81.45 kB / 0.9648 GB, free: 408 kB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009311/0.7171, allocations: 0.6295 MB / 0.9654 GB, free: 15.92 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.504e-05/0.7171, allocations: 27 kB / 0.9655 GB, free: 15.91 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.511e-05/0.7172, allocations: 38.41 kB / 0.9655 GB, free: 15.89 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006405/0.7179, allocations: 375 kB / 0.9658 GB, free: 15.64 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/0.7179, allocations: 0.9375 kB / 0.9658 GB, free: 15.64 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.985e-05/0.7179, allocations: 11.03 kB / 0.9659 GB, free: 15.63 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.308e-05/0.7179, allocations: 9.672 kB / 0.9659 GB, free: 15.63 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004248/0.7184, allocations: 241.9 kB / 0.9661 GB, free: 15.52 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.003656/0.722, allocations: 2.469 MB / 0.9685 GB, free: 13.45 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001044/0.7231, allocations: 404.7 kB / 0.9689 GB, free: 13.26 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002293/0.7233, allocations: 137.9 kB / 0.969 GB, free: 13.19 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.027e-05/0.7234, allocations: 2.531 kB / 0.969 GB, free: 13.19 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.928e-05/0.7234, allocations: 35.88 kB / 0.9691 GB, free: 13.14 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=18): time 1.613e-06/0.7234, allocations: 0 / 0.9691 GB, free: 13.14 MB / 0.7325 GB Notification: Performance of matching and sorting (n=18): time 0.001049/0.7245, allocations: 0.5352 MB / 0.9696 GB, free: 12.81 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.952e-05/0.7245, allocations: 61.95 kB / 0.9696 GB, free: 12.74 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001273/0.7258, allocations: 0.9362 MB / 0.9706 GB, free: 12.21 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.413e-05/0.7258, allocations: 30.83 kB / 0.9706 GB, free: 12.17 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002662/0.7261, allocations: 301 kB / 0.9709 GB, free: 11.91 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 8.818e-05/0.7262, allocations: 67.97 kB / 0.9709 GB, free: 11.85 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.518e-05/0.7262, allocations: 10.06 kB / 0.9709 GB, free: 11.84 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001777/0.7264, allocations: 381 kB / 0.9713 GB, free: 11.48 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004053/0.7268, allocations: 236.6 kB / 0.9715 GB, free: 11.38 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005858/0.7274, allocations: 0.5041 MB / 0.972 GB, free: 10.89 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000494/0.7279, allocations: 311.8 kB / 0.9723 GB, free: 10.74 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.777e-06/0.728, allocations: 3.344 kB / 0.9723 GB, free: 10.74 MB / 0.7325 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001385/0.7294, allocations: 0.8208 MB / 0.9731 GB, free: 10.3 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.583e-05/0.7294, allocations: 12.83 kB / 0.9731 GB, free: 10.3 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.548e-05/0.7294, allocations: 10.31 kB / 0.9732 GB, free: 10.3 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002157/0.7296, allocations: 56.5 kB / 0.9732 GB, free: 10.27 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004713/0.7301, allocations: 143.5 kB / 0.9733 GB, free: 10.23 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001425/0.7316, allocations: 1.435 MB / 0.9747 GB, free: 8.82 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007769/0.7323, allocations: 127.8 kB / 0.9749 GB, free: 8.746 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.889e-05/0.7324, allocations: 27.38 kB / 0.9749 GB, free: 8.742 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004352/0.7328, allocations: 345.8 kB / 0.9752 GB, free: 8.492 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001034/0.733, allocations: 61.25 kB / 0.9753 GB, free: 8.457 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001197/0.7331, allocations: 71.8 kB / 0.9753 GB, free: 8.41 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.7331, allocations: 2.594 kB / 0.9754 GB, free: 8.41 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.7331, allocations: 4 kB / 0.9754 GB, free: 8.406 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.7331, allocations: 0 / 0.9754 GB, free: 8.406 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007301/0.7339, allocations: 0.5801 MB / 0.9759 GB, free: 7.938 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.7339, allocations: 0 / 0.9759 GB, free: 7.938 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002494/0.7341, allocations: 51.89 kB / 0.976 GB, free: 7.922 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001213/0.7343, allocations: 35.52 kB / 0.976 GB, free: 7.902 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.031e-05/0.7343, allocations: 11.64 kB / 0.976 GB, free: 7.895 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001188/0.7355, allocations: 1.421 MB / 0.9774 GB, free: 6.473 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.7355, allocations: 1.062 kB / 0.9774 GB, free: 6.473 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000874/0.7364, allocations: 0.5792 MB / 0.978 GB, free: 6.102 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002787/0.7367, allocations: 196.2 kB / 0.9782 GB, free: 5.938 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.686e-05/0.7368, allocations: 20 kB / 0.9782 GB, free: 5.922 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003824/0.7372, allocations: 51.77 kB / 0.9782 GB, free: 5.895 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.905e-05/0.7372, allocations: 13.77 kB / 0.9782 GB, free: 5.887 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.246e-05/0.7372, allocations: 3.312 kB / 0.9782 GB, free: 5.887 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001007/0.7383, allocations: 0.6564 MB / 0.9789 GB, free: 5.516 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.31e-07/0.7383, allocations: 0 / 0.9789 GB, free: 5.516 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0007511/0.739, allocations: 183.8 kB / 0.9791 GB, free: 5.336 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001324/0.7392, allocations: 111.1 kB / 0.9792 GB, free: 5.219 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0009082/0.7401, allocations: 0.5815 MB / 0.9797 GB, free: 4.625 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.499e-06/0.7401, allocations: 0 / 0.9797 GB, free: 4.625 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.000328/0.7404, allocations: 252.5 kB / 0.98 GB, free: 4.367 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000848/0.7413, allocations: 163.7 kB / 0.9801 GB, free: 4.207 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002348/0.7436, allocations: 1.773 MB / 0.9819 GB, free: 2.406 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000606/0.7443, allocations: 1.014 MB / 0.9829 GB, free: 1.363 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0004196/0.7447, allocations: 184.5 kB / 0.983 GB, free: 1.184 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001155/0.7448, allocations: 35.44 kB / 0.9831 GB, free: 1.148 MB / 0.7325 GB Notification: Performance of SimCode: time 4.71e-07/0.7448, allocations: 0 / 0.9831 GB, free: 1.148 MB / 0.7325 GB Notification: Performance of Templates: time 0.01341/0.7582, allocations: 7.771 MB / 0.9907 GB, free: 9.496 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches