Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.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_10_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_10_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.007488/0.007488, allocations: 99.95 kB / 15.73 MB, free: 6.059 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.001756/0.001756, allocations: 188.7 kB / 16.67 MB, free: 5.973 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.404/1.404, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.608/2.608, allocations: 437 MB / 0.7105 GB, free: 4.406 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001243/0.001243, allocations: 72.11 kB / 1.018 GB, free: 9.449 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.867/0.8683, allocations: 151.6 MB / 1.167 GB, free: 3.883 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayer): time 0.00451/0.8728, allocations: 3.73 MB / 1.17 GB, free: 128 kB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.003968/0.8768, allocations: 2.498 MB / 1.173 GB, free: 13.62 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003991/0.8772, allocations: 19.88 kB / 1.173 GB, free: 13.6 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0007527/0.8781, allocations: 251.1 kB / 1.173 GB, free: 13.36 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0009685/0.879, allocations: 0.4899 MB / 1.173 GB, free: 12.87 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.001295/0.8803, allocations: 0.5352 MB / 1.174 GB, free: 12.33 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.001534/0.8819, allocations: 1.371 MB / 1.175 GB, free: 10.96 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002502/0.8821, allocations: 149.1 kB / 1.175 GB, free: 10.8 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006027/0.8828, allocations: 442.4 kB / 1.176 GB, free: 10.37 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007263/0.8835, allocations: 474.2 kB / 1.176 GB, free: 9.906 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0001191/0.8836, allocations: 56 kB / 1.176 GB, free: 9.852 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001468/0.8838, allocations: 56 kB / 1.176 GB, free: 9.797 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0003764/0.8842, allocations: 358.9 kB / 1.177 GB, free: 9.445 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0004099/0.8846, allocations: 453.7 kB / 1.177 GB, free: 9 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.00092/0.8855, allocations: 0.9178 MB / 1.178 GB, free: 8.078 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.8855, allocations: 0 / 1.178 GB, free: 8.078 MB / 0.9044 GB Notification: Performance of FrontEnd: time 9.62e-07/0.8855, allocations: 0 / 1.178 GB, free: 8.078 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.543e-05/0.8855, allocations: 4 kB / 1.178 GB, free: 8.074 MB / 0.9044 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.002071/0.8876, allocations: 1.28 MB / 1.179 GB, free: 6.742 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.489e-05/0.8877, allocations: 16.58 kB / 1.179 GB, free: 6.727 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000151/0.8878, allocations: 104.3 kB / 1.179 GB, free: 6.625 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009498/0.8888, allocations: 0.6722 MB / 1.18 GB, free: 5.914 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.258e-05/0.8888, allocations: 41.03 kB / 1.18 GB, free: 5.875 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.799e-05/0.8889, allocations: 52.38 kB / 1.18 GB, free: 5.824 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005933/0.8895, allocations: 406.9 kB / 1.181 GB, free: 5.391 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.729e-05/0.8895, allocations: 7.984 kB / 1.181 GB, free: 5.383 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.42e-05/0.8896, allocations: 20 kB / 1.181 GB, free: 5.363 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.948e-06/0.8896, allocations: 11.94 kB / 1.181 GB, free: 5.352 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003831/0.89, allocations: 214.4 kB / 1.181 GB, free: 5.145 MB / 0.9044 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.002742/0.8927, allocations: 2.506 MB / 1.183 GB, free: 2.441 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001217/0.894, allocations: 487.1 kB / 1.184 GB, free: 1.957 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002421/0.8942, allocations: 157.2 kB / 1.184 GB, free: 1.801 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.343e-05/0.8943, allocations: 4.234 kB / 1.184 GB, free: 1.797 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.526e-05/0.8943, allocations: 34.8 kB / 1.184 GB, free: 1.754 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=28): time 1.583e-06/0.8943, allocations: 0 / 1.184 GB, free: 1.754 MB / 0.9044 GB Notification: Performance of matching and sorting (n=30): time 0.002005/0.8963, allocations: 1.225 MB / 1.185 GB, free: 464 kB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.95e-05/0.8964, allocations: 59.41 kB / 1.185 GB, free: 392 kB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001271/0.8977, allocations: 0.9116 MB / 1.186 GB, free: 15.46 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 4.046e-05/0.8977, allocations: 41.7 kB / 1.186 GB, free: 15.41 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.000349/0.8981, allocations: 373.2 kB / 1.186 GB, free: 15.05 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001136/0.8982, allocations: 111 kB / 1.187 GB, free: 14.94 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002283/0.8984, allocations: 170.6 kB / 1.187 GB, free: 14.76 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001988/0.8986, allocations: 402.7 kB / 1.187 GB, free: 14.36 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003621/0.899, allocations: 229.8 kB / 1.187 GB, free: 14.14 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006688/0.8997, allocations: 0.6154 MB / 1.188 GB, free: 13.33 MB / 0.92 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.003003/0.9027, allocations: 1.765 MB / 1.19 GB, free: 11.34 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.606e-06/0.9027, allocations: 4 kB / 1.19 GB, free: 11.34 MB / 0.92 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.00143/0.9041, allocations: 0.9081 MB / 1.191 GB, free: 10.42 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.724e-05/0.9042, allocations: 10.5 kB / 1.191 GB, free: 10.41 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.917e-05/0.9042, allocations: 20.09 kB / 1.191 GB, free: 10.39 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000206/0.9044, allocations: 48.83 kB / 1.191 GB, free: 10.34 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006658/0.9051, allocations: 211.6 kB / 1.191 GB, free: 10.13 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00131/0.9064, allocations: 1.468 MB / 1.192 GB, free: 8.52 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007325/0.9072, allocations: 39.92 kB / 1.192 GB, free: 8.48 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.581e-05/0.9072, allocations: 44.16 kB / 1.192 GB, free: 8.438 MB / 0.92 GB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization system: 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.0003717/0.9076, allocations: 308.1 kB / 1.193 GB, free: 8.129 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001189/0.9077, allocations: 83.44 kB / 1.193 GB, free: 8.047 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000125/0.9079, allocations: 80.47 kB / 1.193 GB, free: 7.965 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/0.9079, allocations: 4 kB / 1.193 GB, free: 7.961 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.463e-06/0.9079, allocations: 0 / 1.193 GB, free: 7.961 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.57e-06/0.9079, allocations: 3.984 kB / 1.193 GB, free: 7.957 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001641/0.9095, allocations: 1.142 MB / 1.194 GB, free: 6.742 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.9095, allocations: 0 / 1.194 GB, free: 6.742 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003757/0.9099, allocations: 91.88 kB / 1.194 GB, free: 6.652 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000121/0.9101, allocations: 36.95 kB / 1.194 GB, free: 6.613 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.495e-05/0.9101, allocations: 8 kB / 1.194 GB, free: 6.605 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001099/0.9112, allocations: 1.43 MB / 1.195 GB, free: 5.039 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.532e-06/0.9112, allocations: 0 / 1.195 GB, free: 5.039 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008321/0.912, allocations: 0.6706 MB / 1.196 GB, free: 4.336 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002402/0.9123, allocations: 204.5 kB / 1.196 GB, free: 4.117 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.213e-05/0.9124, allocations: 8 kB / 1.196 GB, free: 4.109 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003886/0.9128, allocations: 19.97 kB / 1.196 GB, free: 4.09 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.722e-05/0.9129, allocations: 23.98 kB / 1.196 GB, free: 4.066 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.708e-05/0.9129, allocations: 7.984 kB / 1.196 GB, free: 4.059 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0008309/0.9137, allocations: 0.62 MB / 1.197 GB, free: 3.445 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.9e-07/0.9137, allocations: 0 / 1.197 GB, free: 3.445 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0008302/0.9146, allocations: 208 kB / 1.197 GB, free: 3.242 MB / 0.92 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.0001725/0.9148, allocations: 115.1 kB / 1.197 GB, free: 3.121 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.001189/0.916, allocations: 0.6338 MB / 1.198 GB, free: 2.477 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 3.536e-06/0.916, allocations: 0 / 1.198 GB, free: 2.477 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0003501/0.9163, allocations: 274.6 kB / 1.198 GB, free: 2.199 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008999/0.9172, allocations: 180.7 kB / 1.198 GB, free: 2.023 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002434/0.9197, allocations: 1.638 MB / 1.2 GB, free: 348 kB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005582/0.9203, allocations: 0.9877 MB / 1.201 GB, free: 15.32 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0003744/0.9206, allocations: 153.8 kB / 1.201 GB, free: 15.17 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000139/0.9208, allocations: 51.44 kB / 1.201 GB, free: 15.12 MB / 0.9356 GB Notification: Performance of SimCode: time 2.274e-06/0.9208, allocations: 0 / 1.201 GB, free: 15.12 MB / 0.9356 GB Notification: Performance of Templates: time 0.01618/0.937, allocations: 9.095 MB / 1.21 GB, free: 6.137 MB / 0.9356 GB make -j1 -f Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayer.makefile (rm -f Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe ; mkfifo Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe ; head -c 1048576 < Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe >> ../files/Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayer.sim & ./Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayer_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_HeatTransfer_Examples_ConductorSingleLayer.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches