Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.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_10_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_10_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.001097/0.001097, allocations: 91.84 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.001214/0.001214, 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.479/1.479, allocations: 223.3 MB / 240 MB, free: 5.297 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.768/2.768, allocations: 437.7 MB / 0.7117 GB, free: 7.066 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004393/0.0004397, allocations: 12 kB / 0.8722 GB, free: 3.668 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8568/0.8573, allocations: 153.8 MB / 1.022 GB, free: 15.97 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorMultiLayer3): time 0.00276/0.8601, allocations: 2.334 MB / 1.025 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.003668/0.8638, allocations: 2.587 MB / 1.027 GB, free: 11.03 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002516/0.8641, allocations: 7.938 kB / 1.027 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.001263/0.8654, allocations: 442.4 kB / 1.028 GB, free: 10.59 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0004932/0.8659, allocations: 223 kB / 1.028 GB, free: 10.37 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008281/0.8667, allocations: 295.4 kB / 1.028 GB, free: 10.08 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.001807/0.8685, allocations: 1.555 MB / 1.03 GB, free: 8.52 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002078/0.8687, allocations: 113.7 kB / 1.03 GB, free: 8.402 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006413/0.8694, allocations: 450.8 kB / 1.03 GB, free: 7.961 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005311/0.8699, allocations: 382.7 kB / 1.031 GB, free: 7.586 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 5.415e-05/0.87, allocations: 23.94 kB / 1.031 GB, free: 7.562 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 8.419e-05/0.8701, allocations: 24 kB / 1.031 GB, free: 7.539 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0002508/0.8704, allocations: 239.2 kB / 1.031 GB, free: 7.305 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001427/0.8705, allocations: 157.4 kB / 1.031 GB, free: 7.145 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0006197/0.8711, allocations: 0.7209 MB / 1.032 GB, free: 6.422 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.8711, allocations: 0 / 1.032 GB, free: 6.422 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.864e-06/0.8712, allocations: 0 / 1.032 GB, free: 6.422 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 9.047e-06/0.8712, allocations: 0 / 1.032 GB, free: 6.422 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.001757/0.8729, allocations: 1.039 MB / 1.033 GB, free: 5.332 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.958e-05/0.873, allocations: 12.55 kB / 1.033 GB, free: 5.32 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001228/0.8731, allocations: 79.06 kB / 1.033 GB, free: 5.242 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008928/0.874, allocations: 0.6323 MB / 1.033 GB, free: 4.566 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.51e-05/0.874, allocations: 24.56 kB / 1.033 GB, free: 4.543 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.925e-05/0.8741, allocations: 43.95 kB / 1.033 GB, free: 4.5 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005431/0.8747, allocations: 370.7 kB / 1.034 GB, free: 4.117 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.097e-05/0.8747, allocations: 4 kB / 1.034 GB, free: 4.113 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.898e-05/0.8747, allocations: 12 kB / 1.034 GB, free: 4.102 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.638e-06/0.8747, allocations: 7.984 kB / 1.034 GB, free: 4.094 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003862/0.8751, allocations: 237.5 kB / 1.034 GB, free: 3.863 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.003381/0.8785, allocations: 2.467 MB / 1.036 GB, free: 1.207 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009704/0.8795, allocations: 402.4 kB / 1.037 GB, free: 0.8047 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002067/0.8797, allocations: 144.8 kB / 1.037 GB, free: 0.6602 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.693e-05/0.8798, allocations: 0 / 1.037 GB, free: 0.6602 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.997e-05/0.8798, allocations: 42.52 kB / 1.037 GB, free: 0.6094 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=18): time 1.273e-06/0.8798, allocations: 3.938 kB / 1.037 GB, free: 0.6055 MB / 0.7794 GB Notification: Performance of matching and sorting (n=18): time 0.0009382/0.8807, allocations: 0.5352 MB / 1.038 GB, free: 44 kB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.298e-05/0.8808, allocations: 55.41 kB / 1.038 GB, free: 15.98 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001163/0.882, allocations: 0.9297 MB / 1.039 GB, free: 15.04 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 3.335e-05/0.882, allocations: 37.7 kB / 1.039 GB, free: 15 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002545/0.8823, allocations: 292.5 kB / 1.039 GB, free: 14.71 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 7.752e-05/0.8824, allocations: 75.02 kB / 1.039 GB, free: 14.63 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.245e-05/0.8824, allocations: 12 kB / 1.039 GB, free: 14.62 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.000161/0.8826, allocations: 382.8 kB / 1.039 GB, free: 14.24 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003396/0.8829, allocations: 240.9 kB / 1.039 GB, free: 14 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005159/0.8834, allocations: 0.4936 MB / 1.04 GB, free: 13.38 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004297/0.8839, allocations: 321.6 kB / 1.04 GB, free: 13.07 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.8839, allocations: 0 / 1.04 GB, free: 13.07 MB / 0.795 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001164/0.8851, allocations: 0.8171 MB / 1.041 GB, free: 12.24 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.992e-05/0.8851, allocations: 8 kB / 1.041 GB, free: 12.23 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.269e-05/0.8851, allocations: 12.7 kB / 1.041 GB, free: 12.22 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002092/0.8853, allocations: 56.77 kB / 1.041 GB, free: 12.16 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004626/0.8858, allocations: 143.7 kB / 1.041 GB, free: 12.02 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001254/0.8871, allocations: 1.44 MB / 1.043 GB, free: 10.45 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006519/0.8877, allocations: 127.2 kB / 1.043 GB, free: 10.32 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.811e-05/0.8878, allocations: 28 kB / 1.043 GB, free: 10.3 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 (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.0004557/0.8882, allocations: 353.4 kB / 1.043 GB, free: 9.941 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.785e-05/0.8883, allocations: 63.16 kB / 1.043 GB, free: 9.879 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001164/0.8885, allocations: 66 kB / 1.043 GB, free: 9.809 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/0.8885, allocations: 0 / 1.043 GB, free: 9.809 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.806e-06/0.8885, allocations: 4 kB / 1.043 GB, free: 9.805 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.8885, allocations: 0 / 1.043 GB, free: 9.805 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006724/0.8892, allocations: 0.5868 MB / 1.044 GB, free: 9.168 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.8892, allocations: 0 / 1.044 GB, free: 9.168 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002403/0.8894, allocations: 51.89 kB / 1.044 GB, free: 9.117 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001221/0.8896, allocations: 44.83 kB / 1.044 GB, free: 9.07 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.857e-05/0.8896, allocations: 11.98 kB / 1.044 GB, free: 9.059 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001012/0.8906, allocations: 1.409 MB / 1.045 GB, free: 7.516 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/0.8906, allocations: 3.938 kB / 1.045 GB, free: 7.512 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007388/0.8914, allocations: 0.5788 MB / 1.046 GB, free: 6.914 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002788/0.8917, allocations: 200.2 kB / 1.046 GB, free: 6.699 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.922e-05/0.8918, allocations: 11.98 kB / 1.046 GB, free: 6.688 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003703/0.8921, allocations: 47.92 kB / 1.046 GB, free: 6.641 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.589e-05/0.8922, allocations: 7.984 kB / 1.046 GB, free: 6.633 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.196e-05/0.8922, allocations: 4 kB / 1.046 GB, free: 6.629 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0008778/0.8931, allocations: 0.659 MB / 1.047 GB, free: 5.977 MB / 0.795 GB Notification: Performance of sort global known variables: time 3.31e-07/0.8931, allocations: 4 kB / 1.047 GB, free: 5.973 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0006894/0.8938, allocations: 183.8 kB / 1.047 GB, free: 5.793 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 (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.0001514/0.894, allocations: 107 kB / 1.047 GB, free: 5.68 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0009629/0.8949, allocations: 0.5835 MB / 1.048 GB, free: 5.086 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.8949, allocations: 0 / 1.048 GB, free: 5.086 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0003251/0.8953, allocations: 257.1 kB / 1.048 GB, free: 4.824 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008498/0.8961, allocations: 158.8 kB / 1.048 GB, free: 4.668 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002205/0.8984, allocations: 1.785 MB / 1.05 GB, free: 2.855 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005888/0.899, allocations: 1.01 MB / 1.051 GB, free: 1.816 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0004336/0.8994, allocations: 184.5 kB / 1.051 GB, free: 1.637 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001389/0.8995, allocations: 39.38 kB / 1.051 GB, free: 1.602 MB / 0.795 GB Notification: Performance of SimCode: time 7.71e-07/0.8996, allocations: 0 / 1.051 GB, free: 1.602 MB / 0.795 GB Notification: Performance of Templates: time 0.01444/0.914, allocations: 7.769 MB / 1.059 GB, free: 9.945 MB / 0.8106 GB make -j1 -f Buildings_10_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.makefile (rm -f Buildings_10_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.pipe ; mkfifo Buildings_10_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.pipe ; head -c 1048576 < Buildings_10_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.pipe >> ../files/Buildings_10_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.sim & ./Buildings_10_Buildings.HeatTransfer.Examples.ConductorMultiLayer3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.HeatTransfer.Examples.ConductorMultiLayer3_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_HeatTransfer_Examples_ConductorMultiLayer3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches