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.006251/0.006251, allocations: 99.64 kB / 15.73 MB, free: 6.039 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.001288/0.001288, allocations: 192.1 kB / 16.67 MB, free: 5.961 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.326/1.326, allocations: 222.9 MB / 240.4 MB, free: 15.06 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.444/2.444, allocations: 437 MB / 0.7105 GB, free: 4.395 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001195/0.001195, allocations: 59.91 kB / 1.018 GB, free: 9.438 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8664/0.8676, allocations: 151.6 MB / 1.167 GB, free: 3.836 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayer): time 0.005116/0.8728, allocations: 3.723 MB / 1.17 GB, free: 92 kB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.004567/0.8774, allocations: 2.506 MB / 1.173 GB, free: 13.58 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007753/0.8782, allocations: 23.88 kB / 1.173 GB, free: 13.55 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0008125/0.879, allocations: 247.1 kB / 1.173 GB, free: 13.32 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.001101/0.8802, allocations: 0.4937 MB / 1.173 GB, free: 12.82 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.00144/0.8816, allocations: 0.5309 MB / 1.174 GB, free: 12.29 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.001534/0.8832, allocations: 1.371 MB / 1.175 GB, free: 10.91 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000273/0.8835, allocations: 149.1 kB / 1.175 GB, free: 10.76 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007079/0.8842, allocations: 458.4 kB / 1.176 GB, free: 10.31 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007101/0.8849, allocations: 474.2 kB / 1.176 GB, free: 9.848 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0001052/0.885, allocations: 52 kB / 1.176 GB, free: 9.797 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001463/0.8852, allocations: 63.94 kB / 1.176 GB, free: 9.734 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0003654/0.8855, allocations: 359 kB / 1.177 GB, free: 9.383 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0004595/0.886, allocations: 449.7 kB / 1.177 GB, free: 8.941 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0009667/0.887, allocations: 0.9178 MB / 1.178 GB, free: 8.02 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.887, allocations: 0 / 1.178 GB, free: 8.02 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.282e-06/0.887, allocations: 0 / 1.178 GB, free: 8.02 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.282e-05/0.887, allocations: 0 / 1.178 GB, free: 8.02 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.002228/0.8893, allocations: 1.288 MB / 1.179 GB, free: 6.68 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.768e-05/0.8893, allocations: 12.88 kB / 1.179 GB, free: 6.668 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001552/0.8895, allocations: 108.3 kB / 1.179 GB, free: 6.562 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001062/0.8905, allocations: 0.6644 MB / 1.18 GB, free: 5.859 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.086e-05/0.8906, allocations: 37.03 kB / 1.18 GB, free: 5.824 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.07e-05/0.8907, allocations: 56.38 kB / 1.18 GB, free: 5.77 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005767/0.8913, allocations: 414.8 kB / 1.181 GB, free: 5.328 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.699e-05/0.8913, allocations: 7.938 kB / 1.181 GB, free: 5.32 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.982e-05/0.8913, allocations: 15.94 kB / 1.181 GB, free: 5.305 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.948e-06/0.8914, allocations: 8 kB / 1.181 GB, free: 5.297 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003842/0.8917, allocations: 222.4 kB / 1.181 GB, free: 5.082 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.002976/0.8947, allocations: 2.502 MB / 1.183 GB, free: 2.383 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001251/0.896, allocations: 483 kB / 1.184 GB, free: 1.902 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002522/0.8963, allocations: 165.2 kB / 1.184 GB, free: 1.738 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.199e-05/0.8963, allocations: 4.234 kB / 1.184 GB, free: 1.734 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.56e-05/0.8963, allocations: 34.8 kB / 1.184 GB, free: 1.691 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=28): time 1.823e-06/0.8963, allocations: 0 / 1.184 GB, free: 1.691 MB / 0.9044 GB Notification: Performance of matching and sorting (n=30): time 0.002079/0.8984, allocations: 1.22 MB / 1.185 GB, free: 404 kB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.182e-05/0.8985, allocations: 51.41 kB / 1.185 GB, free: 340 kB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001129/0.8996, allocations: 0.9272 MB / 1.186 GB, free: 15.39 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 4.211e-05/0.8997, allocations: 41.7 kB / 1.186 GB, free: 15.34 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002826/0.8999, allocations: 369.1 kB / 1.186 GB, free: 14.98 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 9.793e-05/0.9001, allocations: 119 kB / 1.187 GB, free: 14.87 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002003/0.9003, allocations: 170.6 kB / 1.187 GB, free: 14.69 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001758/0.9004, allocations: 394.7 kB / 1.187 GB, free: 14.3 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003541/0.9008, allocations: 229.8 kB / 1.187 GB, free: 14.07 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006014/0.9014, allocations: 0.6192 MB / 1.188 GB, free: 13.27 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.002838/0.9043, allocations: 1.765 MB / 1.19 GB, free: 11.27 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.796e-06/0.9043, allocations: 4 kB / 1.19 GB, free: 11.27 MB / 0.92 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001637/0.9059, allocations: 0.9041 MB / 1.191 GB, free: 10.36 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.784e-05/0.906, allocations: 12.22 kB / 1.191 GB, free: 10.34 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.588e-05/0.906, allocations: 16 kB / 1.191 GB, free: 10.33 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002213/0.9062, allocations: 44.84 kB / 1.191 GB, free: 10.28 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007038/0.907, allocations: 215.6 kB / 1.191 GB, free: 10.07 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00146/0.9084, allocations: 1.46 MB / 1.192 GB, free: 8.465 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000928/0.9094, allocations: 44.12 kB / 1.192 GB, free: 8.422 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.3e-05/0.9094, allocations: 48 kB / 1.192 GB, free: 8.375 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.0004479/0.9099, allocations: 293.3 kB / 1.193 GB, free: 8.078 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001424/0.91, allocations: 83.44 kB / 1.193 GB, free: 7.996 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000139/0.9102, allocations: 88.44 kB / 1.193 GB, free: 7.906 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.498e-06/0.9102, allocations: 11.88 kB / 1.193 GB, free: 7.895 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.855e-06/0.9102, allocations: 0 / 1.193 GB, free: 7.895 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.9102, allocations: 0 / 1.193 GB, free: 7.895 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001679/0.9119, allocations: 1.138 MB / 1.194 GB, free: 6.684 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/0.9119, allocations: 0 / 1.194 GB, free: 6.684 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003635/0.9123, allocations: 87.94 kB / 1.194 GB, free: 6.598 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001131/0.9124, allocations: 28.84 kB / 1.194 GB, free: 6.566 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.728e-05/0.9124, allocations: 15.98 kB / 1.194 GB, free: 6.551 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000998/0.9134, allocations: 1.433 MB / 1.195 GB, free: 4.98 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.9135, allocations: 0 / 1.195 GB, free: 4.98 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008395/0.9143, allocations: 0.6706 MB / 1.196 GB, free: 4.277 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002826/0.9146, allocations: 204.7 kB / 1.196 GB, free: 4.059 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.513e-05/0.9147, allocations: 12 kB / 1.196 GB, free: 4.047 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003753/0.9151, allocations: 15.98 kB / 1.196 GB, free: 4.031 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.186e-05/0.9151, allocations: 27.97 kB / 1.196 GB, free: 4.004 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.479e-05/0.9152, allocations: 4 kB / 1.196 GB, free: 4 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.000775/0.9159, allocations: 0.62 MB / 1.197 GB, free: 3.387 MB / 0.92 GB Notification: Performance of sort global known variables: time 2.4e-07/0.9159, allocations: 0 / 1.197 GB, free: 3.387 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0007384/0.9167, allocations: 208 kB / 1.197 GB, free: 3.184 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.0001372/0.9168, allocations: 119.1 kB / 1.197 GB, free: 3.059 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0011/0.9179, allocations: 0.635 MB / 1.198 GB, free: 2.414 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.918, allocations: 0 / 1.198 GB, free: 2.414 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0003646/0.9183, allocations: 273.5 kB / 1.198 GB, free: 2.137 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000806/0.9191, allocations: 176.5 kB / 1.198 GB, free: 1.965 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002225/0.9214, allocations: 1.631 MB / 1.2 GB, free: 296 kB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005727/0.922, allocations: 0.9877 MB / 1.201 GB, free: 15.27 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0003617/0.9223, allocations: 149.9 kB / 1.201 GB, free: 15.12 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001399/0.9225, allocations: 51.44 kB / 1.201 GB, free: 15.07 MB / 0.9356 GB Notification: Performance of SimCode: time 4.11e-07/0.9225, allocations: 0 / 1.201 GB, free: 15.07 MB / 0.9356 GB Notification: Performance of Templates: time 0.01629/0.9388, allocations: 9.096 MB / 1.21 GB, free: 6.09 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