Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer.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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.ConductorSingleLayer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.T.1.|con.T.2.|con.port_a.T|con.port_b.T|con1.port_a.T|con1.port_b.T|con2.port_a.T|con2.port_b.T|cheEqu.y",fileNamePrefix="Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer") translateModel(Buildings.HeatTransfer.Examples.ConductorSingleLayer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.T.1.|con.T.2.|con.port_a.T|con.port_b.T|con1.port_a.T|con1.port_b.T|con2.port_a.T|con2.port_b.T|cheEqu.y",fileNamePrefix="Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001115/0.001115, allocations: 98.88 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.001539/0.001539, allocations: 185.4 kB / 16.92 MB, free: 6.707 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.394/1.394, 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 11.0.0-master/package.mo): time 2.722/2.722, allocations: 462.6 MB / 0.737 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003839/0.0003839, allocations: 8.469 kB / 0.9034 GB, free: 36.4 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2977/0.2981, allocations: 159.6 MB / 1.059 GB, free: 5.004 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayer): time 0.003863/0.302, allocations: 3.373 MB / 1.063 GB, free: 1.609 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.004044/0.3061, allocations: 2.505 MB / 1.065 GB, free: 15.1 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005079/0.3067, allocations: 15.88 kB / 1.065 GB, free: 15.08 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0008357/0.3075, allocations: 214.8 kB / 1.065 GB, free: 14.87 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.001134/0.3087, allocations: 474 kB / 1.066 GB, free: 14.41 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001251/0.3099, allocations: 467.1 kB / 1.066 GB, free: 13.95 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.00182/0.3118, allocations: 1.613 MB / 1.068 GB, free: 12.33 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002524/0.312, allocations: 124.8 kB / 1.068 GB, free: 12.21 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006818/0.3127, allocations: 378.5 kB / 1.068 GB, free: 11.84 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007875/0.3135, allocations: 498.1 kB / 1.069 GB, free: 11.35 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0001221/0.3136, allocations: 32 kB / 1.069 GB, free: 11.32 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001508/0.3138, allocations: 39.94 kB / 1.069 GB, free: 11.28 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0003314/0.3142, allocations: 315 kB / 1.069 GB, free: 10.97 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0005057/0.3147, allocations: 455.2 kB / 1.069 GB, free: 10.52 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0006247/0.3153, allocations: 0.6662 MB / 1.07 GB, free: 9.848 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.005e-06/0.3153, allocations: 0 / 1.07 GB, free: 9.848 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.433e-06/0.3153, allocations: 0 / 1.07 GB, free: 9.848 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 2.551e-05/0.3153, allocations: 0 / 1.07 GB, free: 9.848 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 80 * Number of variables: 80 Notification: Performance of Generate backend data structure: time 0.002023/0.3174, allocations: 1.129 MB / 1.071 GB, free: 8.668 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.765e-05/0.3174, allocations: 19.97 kB / 1.071 GB, free: 8.648 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001882/0.3176, allocations: 99.72 kB / 1.071 GB, free: 8.551 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001029/0.3187, allocations: 0.6403 MB / 1.072 GB, free: 7.867 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.587e-05/0.3187, allocations: 41.03 kB / 1.072 GB, free: 7.824 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.526e-05/0.3188, allocations: 56.38 kB / 1.072 GB, free: 7.77 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000616/0.3194, allocations: 406.9 kB / 1.072 GB, free: 7.34 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.637e-05/0.3194, allocations: 7.922 kB / 1.072 GB, free: 7.332 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.092e-05/0.3195, allocations: 12 kB / 1.072 GB, free: 7.32 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.136e-05/0.3195, allocations: 8 kB / 1.072 GB, free: 7.312 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004194/0.3199, allocations: 230.4 kB / 1.073 GB, free: 7.086 MB / 0.8262 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.003016/0.323, allocations: 2.517 MB / 1.075 GB, free: 4.375 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00125/0.3242, allocations: 495.1 kB / 1.076 GB, free: 3.883 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002393/0.3245, allocations: 153.2 kB / 1.076 GB, free: 3.73 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.755e-05/0.3245, allocations: 4.234 kB / 1.076 GB, free: 3.727 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.434e-05/0.3245, allocations: 38.78 kB / 1.076 GB, free: 3.68 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=28): time 1.663e-06/0.3245, allocations: 0 / 1.076 GB, free: 3.68 MB / 0.8262 GB Notification: Performance of matching and sorting (n=30): time 0.002076/0.3266, allocations: 1.214 MB / 1.077 GB, free: 2.391 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.274e-05/0.3267, allocations: 55.41 kB / 1.077 GB, free: 2.324 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001167/0.3278, allocations: 0.9192 MB / 1.078 GB, free: 1.395 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 4.036e-05/0.3279, allocations: 41.7 kB / 1.078 GB, free: 1.348 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002679/0.3282, allocations: 368.7 kB / 1.078 GB, free: 0.9805 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001099/0.3283, allocations: 114.4 kB / 1.078 GB, free: 0.8672 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000104/0.3284, allocations: 97.66 kB / 1.079 GB, free: 0.7656 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001671/0.3286, allocations: 394.8 kB / 1.079 GB, free: 380 kB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003654/0.3289, allocations: 229.8 kB / 1.079 GB, free: 152 kB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006287/0.3296, allocations: 0.6193 MB / 1.08 GB, free: 15.34 MB / 0.8419 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: con.T[4] = con.T_a_start + (con.T_b_start - con.T_a_start) * con.UA * (con.RNod[1] + con.RNod[2] + con.RNod[3]) (TB.T = con.T_a_start + (con.T_b_start - con.T_a_start) * con.UA * (con.RNod[1] + con.RNod[2] + con.RNod[3])) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: con2.T[2] = con2.T_a_start + (con2.T_b_start - con2.T_a_start) * con2.UA * (con2.RNod[1] + con2.RNod[2]) (TB1.T = con2.T_a_start + (con2.T_b_start - con2.T_a_start) * con2.UA * (con2.RNod[1] + con2.RNod[2])) Notification: Performance of analyzeInitialSystem (initialization): time 0.002941/0.3325, allocations: 1.791 MB / 1.082 GB, free: 13.32 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.896e-06/0.3326, allocations: 4 kB / 1.082 GB, free: 13.31 MB / 0.8419 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001484/0.3341, allocations: 0.9032 MB / 1.082 GB, free: 12.4 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.644e-05/0.3341, allocations: 12 kB / 1.082 GB, free: 12.39 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.83e-05/0.3341, allocations: 16.62 kB / 1.082 GB, free: 12.37 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001779/0.3343, allocations: 56.77 kB / 1.082 GB, free: 12.31 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006936/0.335, allocations: 211.6 kB / 1.083 GB, free: 12.11 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001151/0.3362, allocations: 1.365 MB / 1.084 GB, free: 10.6 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007746/0.337, allocations: 47.97 kB / 1.084 GB, free: 10.55 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.828e-05/0.337, allocations: 44 kB / 1.084 GB, free: 10.51 MB / 0.8419 GB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization sytem: con.T[4] = con.T_a_start + (con.T_b_start - con.T_a_start) * con.UA * (con.RNod[1] + con.RNod[2] + con.RNod[3]) con2.T[2] = con2.T_a_start + (con2.T_b_start - con2.T_a_start) * con2.UA * (con2.RNod[1] + con2.RNod[2]). Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 63 * 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 (97): * Single equations (assignments): 96 * 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.000376/0.3374, allocations: 296.4 kB / 1.084 GB, free: 10.21 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000138/0.3376, allocations: 78.97 kB / 1.084 GB, free: 10.14 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001445/0.3377, allocations: 80.52 kB / 1.085 GB, free: 10.06 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.142e-06/0.3377, allocations: 4 kB / 1.085 GB, free: 10.05 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.267e-05/0.3377, allocations: 3.938 kB / 1.085 GB, free: 10.05 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.731e-06/0.3378, allocations: 3.938 kB / 1.085 GB, free: 10.05 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001677/0.3394, allocations: 1.144 MB / 1.086 GB, free: 8.832 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.095e-06/0.3395, allocations: 0 / 1.086 GB, free: 8.832 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003896/0.3399, allocations: 92 kB / 1.086 GB, free: 8.742 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001162/0.34, allocations: 28.84 kB / 1.086 GB, free: 8.711 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.798e-05/0.34, allocations: 11.98 kB / 1.086 GB, free: 8.699 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00109/0.3411, allocations: 1.327 MB / 1.087 GB, free: 7.238 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.983e-06/0.3411, allocations: 0 / 1.087 GB, free: 7.238 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009052/0.342, allocations: 0.6792 MB / 1.088 GB, free: 6.527 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002786/0.3423, allocations: 192.1 kB / 1.088 GB, free: 6.32 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001056/0.3424, allocations: 15.98 kB / 1.088 GB, free: 6.305 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004614/0.3429, allocations: 23.92 kB / 1.088 GB, free: 6.281 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.277e-05/0.343, allocations: 23.97 kB / 1.088 GB, free: 6.258 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.511e-05/0.343, allocations: 4 kB / 1.088 GB, free: 6.254 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0008409/0.3439, allocations: 0.6278 MB / 1.089 GB, free: 5.629 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.4e-07/0.3439, allocations: 0 / 1.089 GB, free: 5.629 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0007516/0.3446, allocations: 204 kB / 1.089 GB, free: 5.43 MB / 0.8419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 6 (con.T[1],con.T[2],con.T[3],con1.T[1],con1.T[2],con2.T[1]) * 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 (29): * Single equations (assignments): 28 * 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.0001417/0.3448, allocations: 111.2 kB / 1.089 GB, free: 5.312 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001176/0.346, allocations: 0.6383 MB / 1.09 GB, free: 4.664 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.346, allocations: 4 kB / 1.09 GB, free: 4.66 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0003697/0.3463, allocations: 279.7 kB / 1.09 GB, free: 4.375 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001034/0.3474, allocations: 166 kB / 1.09 GB, free: 4.211 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002697/0.3501, allocations: 2.035 MB / 1.092 GB, free: 2.125 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006172/0.3507, allocations: 0.984 MB / 1.093 GB, free: 1.113 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001999/0.3509, allocations: 59.38 kB / 1.093 GB, free: 1.055 MB / 0.8419 GB Notification: Performance of SimCode: time 7.01e-07/0.351, allocations: 0 / 1.093 GB, free: 1.055 MB / 0.8419 GB Notification: Performance of Templates: time 0.017/0.368, allocations: 11.97 MB / 1.105 GB, free: 5.121 MB / 0.8575 GB make -j1 -f Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer.makefile (rm -f Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer.sim & ./Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Examples_ConductorSingleLayer.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches