Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer.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.ConductorMultiLayer,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.ConductorMultiLayer") translateModel(Buildings.HeatTransfer.Examples.ConductorMultiLayer,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.ConductorMultiLayer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00132/0.00132, allocations: 103 kB / 16.27 MB, free: 6.402 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.001578/0.001578, allocations: 191 kB / 17.2 MB, free: 5.969 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.382/1.382, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.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.212/2.212, allocations: 390.3 MB / 0.6653 GB, free: 0.7266 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001415/0.001415, allocations: 68.92 kB / 0.8132 GB, free: 32.92 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2623/0.2638, allocations: 140.4 MB / 0.9503 GB, free: 8.914 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorMultiLayer): time 0.004062/0.2679, allocations: 2.743 MB / 0.9529 GB, free: 6.145 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.00393/0.2718, allocations: 2.769 MB / 0.9556 GB, free: 3.363 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004445/0.2723, allocations: 7.938 kB / 0.9556 GB, free: 3.355 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001742/0.2741, allocations: 0.498 MB / 0.9561 GB, free: 2.855 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.000807/0.2749, allocations: 254.9 kB / 0.9564 GB, free: 2.605 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001179/0.2761, allocations: 395 kB / 0.9568 GB, free: 2.219 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.001758/0.2779, allocations: 1.528 MB / 0.9582 GB, free: 0.6875 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002407/0.2782, allocations: 134.3 kB / 0.9584 GB, free: 0.5547 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000702/0.2789, allocations: 474.8 kB / 0.9588 GB, free: 92 kB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007015/0.2796, allocations: 410.6 kB / 0.9592 GB, free: 15.69 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0001331/0.2797, allocations: 48 kB / 0.9593 GB, free: 15.64 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001646/0.2799, allocations: 59.94 kB / 0.9593 GB, free: 15.58 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0002932/0.2802, allocations: 267.2 kB / 0.9596 GB, free: 15.32 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.000486/0.2807, allocations: 374.2 kB / 0.9599 GB, free: 14.95 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.0008217/0.2815, allocations: 0.8918 MB / 0.9608 GB, free: 14.06 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.2816, allocations: 4 kB / 0.9608 GB, free: 14.05 MB / 0.7481 GB Notification: Performance of FrontEnd: time 3.407e-06/0.2816, allocations: 4 kB / 0.9608 GB, free: 14.05 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 2.406e-05/0.2816, allocations: 0 / 0.9608 GB, free: 14.05 MB / 0.7481 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.002177/0.2838, allocations: 1.144 MB / 0.9619 GB, free: 12.86 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.554e-05/0.2838, allocations: 12.03 kB / 0.9619 GB, free: 12.84 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001647/0.284, allocations: 76 kB / 0.962 GB, free: 12.77 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009739/0.285, allocations: 0.6525 MB / 0.9626 GB, free: 12.07 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.038e-05/0.285, allocations: 24.94 kB / 0.9627 GB, free: 12.05 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.081e-05/0.2851, allocations: 44.38 kB / 0.9627 GB, free: 12.01 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005486/0.2856, allocations: 378.8 kB / 0.9631 GB, free: 11.61 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.2857, allocations: 0 / 0.9631 GB, free: 11.61 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.89e-05/0.2857, allocations: 12 kB / 0.9631 GB, free: 11.6 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.679e-06/0.2857, allocations: 7.984 kB / 0.9631 GB, free: 11.59 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003885/0.2861, allocations: 241.5 kB / 0.9633 GB, free: 11.36 MB / 0.7481 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.003617/0.2897, allocations: 2.455 MB / 0.9657 GB, free: 8.715 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009841/0.2907, allocations: 394.5 kB / 0.9661 GB, free: 8.32 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000215/0.291, allocations: 144.7 kB / 0.9662 GB, free: 8.176 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 1.232e-05/0.291, allocations: 0 / 0.9662 GB, free: 8.176 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.492e-05/0.291, allocations: 34.55 kB / 0.9663 GB, free: 8.133 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=18): time 1.292e-06/0.291, allocations: 0 / 0.9663 GB, free: 8.133 MB / 0.7481 GB Notification: Performance of matching and sorting (n=18): time 0.0009902/0.292, allocations: 0.5401 MB / 0.9668 GB, free: 7.566 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.791e-05/0.2921, allocations: 51.41 kB / 0.9668 GB, free: 7.504 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001222/0.2933, allocations: 0.9337 MB / 0.9678 GB, free: 6.559 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 4.024e-05/0.2933, allocations: 33.7 kB / 0.9678 GB, free: 6.52 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002589/0.2936, allocations: 304.4 kB / 0.9681 GB, free: 6.215 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 8.233e-05/0.2937, allocations: 67.03 kB / 0.9681 GB, free: 6.148 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001682/0.2939, allocations: 130.1 kB / 0.9683 GB, free: 6.016 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001652/0.294, allocations: 386.7 kB / 0.9686 GB, free: 5.629 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003575/0.2944, allocations: 240.9 kB / 0.9689 GB, free: 5.391 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005072/0.2949, allocations: 0.4975 MB / 0.9694 GB, free: 4.766 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008401/0.2958, allocations: 0.6965 MB / 0.97 GB, free: 3.941 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.324e-06/0.2958, allocations: 4 kB / 0.97 GB, free: 3.938 MB / 0.7481 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001255/0.297, allocations: 0.8134 MB / 0.9708 GB, free: 3.113 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.196e-05/0.2971, allocations: 8 kB / 0.9708 GB, free: 3.105 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.796e-05/0.2971, allocations: 12 kB / 0.9708 GB, free: 3.094 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002055/0.2973, allocations: 61.33 kB / 0.9709 GB, free: 3.031 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004799/0.2978, allocations: 143.7 kB / 0.971 GB, free: 2.891 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001245/0.2991, allocations: 1.546 MB / 0.9726 GB, free: 1.207 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000725/0.2998, allocations: 123.2 kB / 0.9727 GB, free: 1.086 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.173e-05/0.2999, allocations: 28 kB / 0.9727 GB, free: 1.059 MB / 0.7481 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.0003803/0.3002, allocations: 345.5 kB / 0.973 GB, free: 0.7109 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001172/0.3004, allocations: 63.09 kB / 0.9731 GB, free: 0.6484 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001303/0.3005, allocations: 70 kB / 0.9732 GB, free: 0.5703 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.3005, allocations: 0 / 0.9732 GB, free: 0.5703 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.3005, allocations: 0 / 0.9732 GB, free: 0.5703 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.3005, allocations: 0 / 0.9732 GB, free: 0.5703 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006677/0.3012, allocations: 0.5791 MB / 0.9737 GB, free: 15.94 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.3012, allocations: 4 kB / 0.9737 GB, free: 15.94 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002624/0.3015, allocations: 51.89 kB / 0.9738 GB, free: 15.89 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001314/0.3016, allocations: 40.83 kB / 0.9738 GB, free: 15.84 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.801e-05/0.3017, allocations: 11.98 kB / 0.9738 GB, free: 15.83 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00116/0.3028, allocations: 1.519 MB / 0.9753 GB, free: 14.18 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/0.3028, allocations: 4 kB / 0.9753 GB, free: 14.17 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000775/0.3036, allocations: 0.5772 MB / 0.9759 GB, free: 13.58 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002673/0.3039, allocations: 188.4 kB / 0.9761 GB, free: 13.38 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.009e-05/0.304, allocations: 15.98 kB / 0.9761 GB, free: 13.36 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004076/0.3044, allocations: 43.86 kB / 0.9761 GB, free: 13.32 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.319e-05/0.3045, allocations: 11.98 kB / 0.9761 GB, free: 13.3 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.229e-05/0.3045, allocations: 4 kB / 0.9761 GB, free: 13.3 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.0008745/0.3054, allocations: 0.6629 MB / 0.9768 GB, free: 12.64 MB / 0.7637 GB Notification: Performance of sort global known variables: time 2.6e-07/0.3054, allocations: 0 / 0.9768 GB, free: 12.64 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.0006637/0.3061, allocations: 187.7 kB / 0.977 GB, free: 12.46 MB / 0.7637 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.0001446/0.3062, allocations: 119.1 kB / 0.9771 GB, free: 12.34 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.0009537/0.3072, allocations: 0.6002 MB / 0.9777 GB, free: 11.72 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.3072, allocations: 0 / 0.9777 GB, free: 11.72 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.000342/0.3075, allocations: 252.2 kB / 0.9779 GB, free: 11.46 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008179/0.3084, allocations: 166.9 kB / 0.9781 GB, free: 11.3 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002411/0.3108, allocations: 1.566 MB / 0.9796 GB, free: 9.703 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006472/0.3115, allocations: 0.9987 MB / 0.9806 GB, free: 8.676 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001685/0.3116, allocations: 35.44 kB / 0.9806 GB, free: 8.641 MB / 0.7637 GB Notification: Performance of SimCode: time 1.994e-06/0.3116, allocations: 4 kB / 0.9806 GB, free: 8.637 MB / 0.7637 GB Notification: Performance of Templates: time 0.01642/0.3281, allocations: 12.26 MB / 0.9926 GB, free: 12.42 MB / 0.7794 GB make -j1 -f Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer.makefile (rm -f Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer.sim & ./Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_HeatTransfer_Examples_ConductorMultiLayer.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches