Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_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_latest_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.001463/0.001463, allocations: 104.8 kB / 15.99 MB, free: 5.891 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.001487/0.001487, allocations: 190.2 kB / 16.91 MB, free: 5.746 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.391/1.391, allocations: 222.9 MB / 240.6 MB, free: 4.508 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.833/2.833, allocations: 482.4 MB / 0.755 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001839/0.001839, allocations: 64.77 kB / 0.924 GB, free: 29.54 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2869/0.2887, allocations: 162.2 MB / 1.082 GB, free: 13.61 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorMultiLayer): time 0.004199/0.293, allocations: 2.774 MB / 1.085 GB, free: 10.81 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.003947/0.2969, allocations: 2.769 MB / 1.088 GB, free: 8.035 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001785/0.2971, allocations: 11.94 kB / 1.088 GB, free: 8.023 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.001291/0.2984, allocations: 466.2 kB / 1.088 GB, free: 7.566 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0005016/0.299, allocations: 239 kB / 1.089 GB, free: 7.332 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008736/0.2998, allocations: 370.6 kB / 1.089 GB, free: 6.973 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.001756/0.3016, allocations: 1.552 MB / 1.09 GB, free: 5.414 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002301/0.3018, allocations: 134.2 kB / 1.091 GB, free: 5.277 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006475/0.3025, allocations: 490.8 kB / 1.091 GB, free: 4.797 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005927/0.3031, allocations: 438.5 kB / 1.091 GB, free: 4.367 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 7.619e-05/0.3032, allocations: 48 kB / 1.091 GB, free: 4.32 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001082/0.3033, allocations: 52 kB / 1.091 GB, free: 4.27 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0002722/0.3036, allocations: 267.3 kB / 1.092 GB, free: 4.008 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0003598/0.304, allocations: 370.2 kB / 1.092 GB, free: 3.645 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0007071/0.3047, allocations: 0.7485 MB / 1.093 GB, free: 2.895 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 2.675e-06/0.3047, allocations: 0 / 1.093 GB, free: 2.895 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.112e-06/0.3047, allocations: 0 / 1.093 GB, free: 2.895 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 9.177e-06/0.3047, allocations: 0 / 1.093 GB, free: 2.895 MB / 0.8419 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.002075/0.3068, allocations: 1.152 MB / 1.094 GB, free: 1.691 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.325e-05/0.3068, allocations: 11.97 kB / 1.094 GB, free: 1.68 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001278/0.307, allocations: 76.09 kB / 1.094 GB, free: 1.605 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009448/0.3079, allocations: 0.6525 MB / 1.095 GB, free: 0.9102 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.703e-05/0.3079, allocations: 36.91 kB / 1.095 GB, free: 0.875 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.869e-05/0.308, allocations: 36.38 kB / 1.095 GB, free: 0.8398 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005719/0.3086, allocations: 374.8 kB / 1.095 GB, free: 464 kB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.167e-05/0.3086, allocations: 0 / 1.095 GB, free: 464 kB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.877e-05/0.3087, allocations: 16 kB / 1.095 GB, free: 448 kB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.408e-06/0.3087, allocations: 8 kB / 1.095 GB, free: 440 kB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003933/0.3091, allocations: 229.5 kB / 1.095 GB, free: 212 kB / 0.8419 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.003642/0.3127, allocations: 2.455 MB / 1.098 GB, free: 13.56 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00101/0.3137, allocations: 398.5 kB / 1.098 GB, free: 13.16 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002194/0.314, allocations: 144.7 kB / 1.098 GB, free: 13.02 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.77e-05/0.314, allocations: 0 / 1.098 GB, free: 13.02 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.835e-05/0.314, allocations: 38.55 kB / 1.098 GB, free: 12.97 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=18): time 1.082e-06/0.314, allocations: 0 / 1.098 GB, free: 12.97 MB / 0.8575 GB Notification: Performance of matching and sorting (n=18): time 0.0009854/0.315, allocations: 0.5353 MB / 1.099 GB, free: 12.41 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.694e-05/0.3151, allocations: 51.41 kB / 1.099 GB, free: 12.34 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001196/0.3163, allocations: 0.9375 MB / 1.1 GB, free: 11.39 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.781e-05/0.3163, allocations: 33.7 kB / 1.1 GB, free: 11.36 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002727/0.3166, allocations: 296.5 kB / 1.1 GB, free: 11.06 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 8.191e-05/0.3167, allocations: 70.94 kB / 1.1 GB, free: 10.99 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001734/0.3169, allocations: 134.1 kB / 1.1 GB, free: 10.86 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0002003/0.3171, allocations: 382.7 kB / 1.101 GB, free: 10.47 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003621/0.3175, allocations: 236.9 kB / 1.101 GB, free: 10.24 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005746/0.318, allocations: 0.5013 MB / 1.101 GB, free: 9.609 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008856/0.3189, allocations: 0.7048 MB / 1.102 GB, free: 8.777 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.152e-06/0.3189, allocations: 4 kB / 1.102 GB, free: 8.773 MB / 0.8575 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001232/0.3202, allocations: 0.8132 MB / 1.103 GB, free: 7.949 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.842e-05/0.3202, allocations: 8 kB / 1.103 GB, free: 7.941 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.311e-05/0.3202, allocations: 12.78 kB / 1.103 GB, free: 7.93 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002017/0.3204, allocations: 48.83 kB / 1.103 GB, free: 7.879 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000474/0.3209, allocations: 143.8 kB / 1.103 GB, free: 7.738 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001372/0.3223, allocations: 1.542 MB / 1.105 GB, free: 6.059 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000659/0.323, allocations: 123.2 kB / 1.105 GB, free: 5.938 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.032e-05/0.323, allocations: 28.09 kB / 1.105 GB, free: 5.91 MB / 0.8575 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.0003716/0.3234, allocations: 345.4 kB / 1.105 GB, free: 5.562 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001057/0.3235, allocations: 63.19 kB / 1.105 GB, free: 5.5 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001124/0.3236, allocations: 66 kB / 1.105 GB, free: 5.426 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.3236, allocations: 4 kB / 1.105 GB, free: 5.422 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.3236, allocations: 3.938 kB / 1.105 GB, free: 5.418 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.3237, allocations: 3.984 kB / 1.105 GB, free: 5.414 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006927/0.3244, allocations: 0.5791 MB / 1.106 GB, free: 4.785 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.3244, allocations: 4 kB / 1.106 GB, free: 4.781 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002587/0.3246, allocations: 51.89 kB / 1.106 GB, free: 4.73 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001257/0.3248, allocations: 44.81 kB / 1.106 GB, free: 4.684 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.388e-05/0.3248, allocations: 8 kB / 1.106 GB, free: 4.676 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001233/0.326, allocations: 1.515 MB / 1.107 GB, free: 3.02 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.326, allocations: 3.984 kB / 1.107 GB, free: 3.016 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000809/0.3269, allocations: 0.5793 MB / 1.108 GB, free: 2.418 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002603/0.3271, allocations: 192.4 kB / 1.108 GB, free: 2.211 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.659e-05/0.3272, allocations: 11.98 kB / 1.108 GB, free: 2.199 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003941/0.3276, allocations: 55.8 kB / 1.108 GB, free: 2.145 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.763e-05/0.3277, allocations: 7.984 kB / 1.108 GB, free: 2.137 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.507e-05/0.3277, allocations: 12 kB / 1.108 GB, free: 2.125 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0008579/0.3286, allocations: 0.659 MB / 1.109 GB, free: 1.473 MB / 0.8575 GB Notification: Performance of sort global known variables: time 3.51e-07/0.3286, allocations: 0 / 1.109 GB, free: 1.473 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0006069/0.3292, allocations: 187.8 kB / 1.109 GB, free: 1.289 MB / 0.8575 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.0001257/0.3293, allocations: 103.2 kB / 1.109 GB, free: 1.18 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0009425/0.3303, allocations: 0.6003 MB / 1.11 GB, free: 0.5703 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 4.048e-06/0.3303, allocations: 0 / 1.11 GB, free: 0.5703 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0003412/0.3306, allocations: 251.9 kB / 1.11 GB, free: 320 kB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007993/0.3314, allocations: 161.8 kB / 1.11 GB, free: 160 kB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002377/0.3338, allocations: 1.755 MB / 1.112 GB, free: 14.37 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006664/0.3345, allocations: 1.003 MB / 1.113 GB, free: 13.34 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001374/0.3346, allocations: 43.38 kB / 1.113 GB, free: 13.3 MB / 0.8731 GB Notification: Performance of SimCode: time 4e-07/0.3347, allocations: 0 / 1.113 GB, free: 13.3 MB / 0.8731 GB Notification: Performance of Templates: time 0.01603/0.3507, allocations: 12.25 MB / 1.125 GB, free: 1.086 MB / 0.8731 GB make -j1 -f Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer.makefile (rm -f Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer.sim & ./Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Examples_ConductorMultiLayer.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches