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 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.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.001482/0.001482, allocations: 100.1 kB / 15.88 MB, free: 12 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.001705/0.001705, allocations: 196 kB / 16.79 MB, free: 6.809 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.346/1.346, allocations: 222.9 MB / 240.5 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.65/2.65, allocations: 461.8 MB / 0.7348 GB, free: 14.19 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001428/0.001428, allocations: 70.3 kB / 0.899 GB, free: 37.04 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3325/0.334, allocations: 157.4 MB / 1.053 GB, free: 8.324 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorMultiLayer): time 0.004147/0.3382, allocations: 2.791 MB / 1.055 GB, free: 5.508 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.004099/0.3423, allocations: 2.8 MB / 1.058 GB, free: 2.699 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003199/0.3426, allocations: 7.938 kB / 1.058 GB, free: 2.691 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.001432/0.3441, allocations: 462.3 kB / 1.059 GB, free: 2.238 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0005798/0.3447, allocations: 251 kB / 1.059 GB, free: 1.992 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008415/0.3456, allocations: 326.4 kB / 1.059 GB, free: 1.676 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.001856/0.3474, allocations: 1.719 MB / 1.061 GB, free: 15.95 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002136/0.3477, allocations: 121.7 kB / 1.061 GB, free: 15.83 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007173/0.3484, allocations: 422.7 kB / 1.061 GB, free: 15.42 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000656/0.3491, allocations: 394.6 kB / 1.062 GB, free: 15.03 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0001018/0.3492, allocations: 24 kB / 1.062 GB, free: 15.01 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001384/0.3493, allocations: 31.94 kB / 1.062 GB, free: 14.98 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0002572/0.3496, allocations: 231.3 kB / 1.062 GB, free: 14.75 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0003963/0.35, allocations: 334.2 kB / 1.062 GB, free: 14.42 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.000641/0.3506, allocations: 0.729 MB / 1.063 GB, free: 13.69 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.3506, allocations: 0 / 1.063 GB, free: 13.69 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.102e-06/0.3506, allocations: 0 / 1.063 GB, free: 13.69 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 2.399e-05/0.3507, allocations: 0 / 1.063 GB, free: 13.69 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: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.002202/0.3529, allocations: 1.152 MB / 1.064 GB, free: 12.49 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.831e-05/0.3529, allocations: 15.97 kB / 1.064 GB, free: 12.47 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001645/0.3531, allocations: 80 kB / 1.064 GB, free: 12.39 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009513/0.3541, allocations: 0.6486 MB / 1.065 GB, free: 11.7 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.657e-05/0.3541, allocations: 28.94 kB / 1.065 GB, free: 11.68 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.513e-05/0.3542, allocations: 40.38 kB / 1.065 GB, free: 11.64 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005724/0.3547, allocations: 378.8 kB / 1.065 GB, free: 11.24 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.071e-05/0.3548, allocations: 0 / 1.065 GB, free: 11.24 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.783e-05/0.3548, allocations: 12 kB / 1.065 GB, free: 11.23 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.384e-06/0.3548, allocations: 4 kB / 1.065 GB, free: 11.23 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003937/0.3552, allocations: 233.5 kB / 1.066 GB, free: 11 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.003537/0.3588, allocations: 2.455 MB / 1.068 GB, free: 8.355 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009578/0.3597, allocations: 406.5 kB / 1.068 GB, free: 7.949 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000212/0.3599, allocations: 138.3 kB / 1.068 GB, free: 7.812 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.91e-05/0.36, allocations: 4 kB / 1.068 GB, free: 7.809 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.497e-05/0.36, allocations: 38.56 kB / 1.069 GB, free: 7.762 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=18): time 1.452e-06/0.36, allocations: 3.938 kB / 1.069 GB, free: 7.758 MB / 0.8262 GB Notification: Performance of matching and sorting (n=18): time 0.0009554/0.361, allocations: 0.5261 MB / 1.069 GB, free: 7.203 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.365e-05/0.361, allocations: 59.41 kB / 1.069 GB, free: 7.133 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001154/0.3622, allocations: 0.9337 MB / 1.07 GB, free: 6.188 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 4.217e-05/0.3622, allocations: 37.7 kB / 1.07 GB, free: 6.145 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002451/0.3625, allocations: 304.4 kB / 1.07 GB, free: 5.844 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 7.546e-05/0.3626, allocations: 63.09 kB / 1.07 GB, free: 5.781 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000156/0.3627, allocations: 122.2 kB / 1.071 GB, free: 5.656 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001702/0.3629, allocations: 378.7 kB / 1.071 GB, free: 5.277 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003508/0.3633, allocations: 240.9 kB / 1.071 GB, free: 5.039 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005007/0.3638, allocations: 0.4975 MB / 1.072 GB, free: 4.414 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007974/0.3646, allocations: 0.701 MB / 1.072 GB, free: 3.586 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.064e-06/0.3646, allocations: 4 kB / 1.072 GB, free: 3.582 MB / 0.8262 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001191/0.3658, allocations: 0.8138 MB / 1.073 GB, free: 2.758 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.287e-05/0.3658, allocations: 13.56 kB / 1.073 GB, free: 2.746 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.445e-05/0.3658, allocations: 8 kB / 1.073 GB, free: 2.738 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001988/0.366, allocations: 60.75 kB / 1.073 GB, free: 2.676 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004625/0.3665, allocations: 135.8 kB / 1.073 GB, free: 2.543 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001139/0.3677, allocations: 1.44 MB / 1.075 GB, free: 0.9727 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006666/0.3683, allocations: 123.5 kB / 1.075 GB, free: 0.8516 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.17e-05/0.3684, allocations: 31.98 kB / 1.075 GB, free: 0.8203 MB / 0.8262 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.0003508/0.3687, allocations: 337.4 kB / 1.075 GB, free: 492 kB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001013/0.3689, allocations: 67.14 kB / 1.075 GB, free: 424 kB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001039/0.369, allocations: 69.94 kB / 1.075 GB, free: 340 kB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.899e-06/0.369, allocations: 7.938 kB / 1.075 GB, free: 332 kB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.369, allocations: 0 / 1.075 GB, free: 332 kB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.369, allocations: 0 / 1.075 GB, free: 332 kB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006575/0.3697, allocations: 0.5869 MB / 1.076 GB, free: 15.68 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.3697, allocations: 0 / 1.076 GB, free: 15.68 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002448/0.3699, allocations: 43.97 kB / 1.076 GB, free: 15.64 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001351/0.3701, allocations: 44.81 kB / 1.076 GB, free: 15.59 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.804e-05/0.3701, allocations: 8 kB / 1.076 GB, free: 15.59 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001068/0.3712, allocations: 1.42 MB / 1.077 GB, free: 14.04 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.3712, allocations: 0 / 1.077 GB, free: 14.04 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007348/0.3719, allocations: 0.5724 MB / 1.078 GB, free: 13.45 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002492/0.3722, allocations: 192.4 kB / 1.078 GB, free: 13.24 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.396e-05/0.3723, allocations: 11.98 kB / 1.078 GB, free: 13.23 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003869/0.3727, allocations: 51.77 kB / 1.078 GB, free: 13.18 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.961e-05/0.3727, allocations: 11.98 kB / 1.078 GB, free: 13.16 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.243e-05/0.3727, allocations: 4 kB / 1.078 GB, free: 13.16 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0008136/0.3736, allocations: 0.6668 MB / 1.079 GB, free: 12.5 MB / 0.8419 GB Notification: Performance of sort global known variables: time 5.61e-07/0.3736, allocations: 0 / 1.079 GB, free: 12.5 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0006089/0.3742, allocations: 183.8 kB / 1.079 GB, free: 12.32 MB / 0.8419 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.0001282/0.3743, allocations: 107.2 kB / 1.079 GB, free: 12.21 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0008686/0.3752, allocations: 0.5754 MB / 1.08 GB, free: 11.62 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.3752, allocations: 0 / 1.08 GB, free: 11.62 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0003101/0.3755, allocations: 243 kB / 1.08 GB, free: 11.37 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008348/0.3764, allocations: 165 kB / 1.08 GB, free: 11.21 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002329/0.3787, allocations: 1.746 MB / 1.082 GB, free: 9.438 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006254/0.3793, allocations: 1.003 MB / 1.083 GB, free: 8.406 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001349/0.3795, allocations: 39.44 kB / 1.083 GB, free: 8.367 MB / 0.8419 GB Notification: Performance of SimCode: time 3.31e-07/0.3795, allocations: 0 / 1.083 GB, free: 8.367 MB / 0.8419 GB Notification: Performance of Templates: time 0.01592/0.3954, allocations: 12.24 MB / 1.095 GB, free: 12.17 MB / 0.8575 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=480 -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