Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.ConductorSingleLayer2,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_9_Buildings.HeatTransfer.Examples.ConductorSingleLayer2") translateModel(Buildings.HeatTransfer.Examples.ConductorSingleLayer2,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_9_Buildings.HeatTransfer.Examples.ConductorSingleLayer2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001174/0.001174, allocations: 101.7 kB / 16.4 MB, free: 6.406 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.00124/0.00124, allocations: 192.2 kB / 17.35 MB, free: 5.695 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.344/1.344, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.266/2.266, allocations: 390.3 MB / 0.6655 GB, free: 0.6172 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001455/0.001455, allocations: 67.89 kB / 0.9515 GB, free: 7.648 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8367/0.8382, allocations: 140.4 MB / 1.089 GB, free: 5.523 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayer2): time 0.004317/0.8425, allocations: 3.736 MB / 1.092 GB, free: 2.867 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.004013/0.8466, allocations: 2.49 MB / 1.095 GB, free: 1.176 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005849/0.8472, allocations: 17.62 kB / 1.095 GB, free: 1.168 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0008446/0.848, allocations: 261.4 kB / 1.095 GB, free: 1.027 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001312/0.8494, allocations: 0.4916 MB / 1.095 GB, free: 0.7539 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001613/0.851, allocations: 0.5401 MB / 1.096 GB, free: 0.5156 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.002022/0.8531, allocations: 1.391 MB / 1.097 GB, free: 15.94 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002989/0.8534, allocations: 158.2 kB / 1.097 GB, free: 15.86 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008151/0.8542, allocations: 433.9 kB / 1.098 GB, free: 15.69 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000721/0.8549, allocations: 461.2 kB / 1.098 GB, free: 15.5 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0001059/0.855, allocations: 56.09 kB / 1.098 GB, free: 15.5 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001512/0.8552, allocations: 56.09 kB / 1.098 GB, free: 15.5 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0004769/0.8557, allocations: 376.6 kB / 1.099 GB, free: 15.37 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0005023/0.8562, allocations: 472.4 kB / 1.099 GB, free: 15.1 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.001101/0.8573, allocations: 0.938 MB / 1.1 GB, free: 14.73 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 4.429e-06/0.8573, allocations: 0 / 1.1 GB, free: 14.73 MB / 0.8731 GB Notification: Performance of FrontEnd: time 3.967e-06/0.8573, allocations: 1.188 kB / 1.1 GB, free: 14.73 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 1.502e-05/0.8574, allocations: 3.938 kB / 1.1 GB, free: 14.73 MB / 0.8731 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.002433/0.8598, allocations: 1.269 MB / 1.101 GB, free: 13.89 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.778e-05/0.8598, allocations: 9.969 kB / 1.101 GB, free: 13.89 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001816/0.86, allocations: 106.2 kB / 1.101 GB, free: 13.83 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001098/0.8611, allocations: 0.6687 MB / 1.102 GB, free: 13.39 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.053e-05/0.8612, allocations: 41.91 kB / 1.102 GB, free: 13.38 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.839e-05/0.8613, allocations: 56.91 kB / 1.102 GB, free: 13.36 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006992/0.862, allocations: 412.6 kB / 1.103 GB, free: 13.13 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.366e-05/0.862, allocations: 0.5 kB / 1.103 GB, free: 13.13 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.671e-05/0.8621, allocations: 16.09 kB / 1.103 GB, free: 13.12 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.36e-05/0.8621, allocations: 8.406 kB / 1.103 GB, free: 13.12 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005457/0.8626, allocations: 232 kB / 1.103 GB, free: 13.05 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003428/0.8661, allocations: 2.49 MB / 1.105 GB, free: 11.2 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001452/0.8675, allocations: 0.5533 MB / 1.106 GB, free: 11.04 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002683/0.8678, allocations: 161.9 kB / 1.106 GB, free: 10.98 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 2.066e-05/0.8679, allocations: 3.938 kB / 1.106 GB, free: 10.98 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.429e-05/0.8679, allocations: 35.97 kB / 1.106 GB, free: 10.94 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=30): time 4.989e-06/0.8679, allocations: 4 kB / 1.106 GB, free: 10.93 MB / 0.8731 GB Notification: Performance of matching and sorting (n=30): time 0.001727/0.8696, allocations: 0.8919 MB / 1.107 GB, free: 10.39 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.372e-05/0.8697, allocations: 58.84 kB / 1.107 GB, free: 10.33 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001414/0.8711, allocations: 0.9247 MB / 1.108 GB, free: 9.953 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 8.734e-05/0.8712, allocations: 40.23 kB / 1.108 GB, free: 9.91 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.000379/0.8716, allocations: 365.7 kB / 1.108 GB, free: 9.621 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002216/0.8718, allocations: 115.8 kB / 1.108 GB, free: 9.531 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002871/0.8721, allocations: 172.7 kB / 1.109 GB, free: 9.449 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0002305/0.8723, allocations: 391.4 kB / 1.109 GB, free: 9.105 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005905/0.8729, allocations: 245.1 kB / 1.109 GB, free: 9.035 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000914/0.8739, allocations: 0.6378 MB / 1.11 GB, free: 8.426 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00133/0.8752, allocations: 0.8937 MB / 1.111 GB, free: 7.672 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.198e-05/0.8752, allocations: 4.484 kB / 1.111 GB, free: 7.672 MB / 0.8731 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002011/0.8772, allocations: 1.016 MB / 1.112 GB, free: 7.258 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.767e-05/0.8773, allocations: 10.91 kB / 1.112 GB, free: 7.258 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.308e-05/0.8773, allocations: 13.44 kB / 1.112 GB, free: 7.258 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004695/0.8778, allocations: 132.1 kB / 1.112 GB, free: 7.207 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007737/0.8786, allocations: 185.3 kB / 1.112 GB, free: 7.191 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003327/0.8819, allocations: 4.485 MB / 1.116 GB, free: 2.828 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001179/0.8831, allocations: 109.8 kB / 1.116 GB, free: 2.77 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.003e-05/0.8832, allocations: 43.03 kB / 1.116 GB, free: 2.762 MB / 0.8731 GB 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 (93): * Single equations (assignments): 90 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,3,100.0%), (1,3,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003945/0.8836, allocations: 277.3 kB / 1.117 GB, free: 2.566 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001618/0.8838, allocations: 83.19 kB / 1.117 GB, free: 2.52 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001385/0.8839, allocations: 79.83 kB / 1.117 GB, free: 2.473 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.009e-06/0.8839, allocations: 4.625 kB / 1.117 GB, free: 2.473 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.088e-05/0.8839, allocations: 1.031 kB / 1.117 GB, free: 2.473 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/0.8839, allocations: 1.312 kB / 1.117 GB, free: 2.473 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008685/0.8848, allocations: 0.6586 MB / 1.118 GB, free: 2.121 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.8848, allocations: 4 kB / 1.118 GB, free: 2.117 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003408/0.8852, allocations: 67.08 kB / 1.118 GB, free: 2.109 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003255/0.8855, allocations: 99.61 kB / 1.118 GB, free: 2.07 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.227e-05/0.8855, allocations: 13.72 kB / 1.118 GB, free: 2.062 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003147/0.8887, allocations: 4.453 MB / 1.122 GB, free: 13.71 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.913e-06/0.8887, allocations: 5.125 kB / 1.122 GB, free: 13.71 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001236/0.89, allocations: 0.7296 MB / 1.123 GB, free: 13.34 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000376/0.8904, allocations: 207.5 kB / 1.123 GB, free: 13.18 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001045/0.8905, allocations: 16.67 kB / 1.123 GB, free: 13.16 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004722/0.8909, allocations: 18.17 kB / 1.123 GB, free: 13.16 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.087e-05/0.891, allocations: 27.45 kB / 1.123 GB, free: 13.16 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.057e-05/0.8911, allocations: 8.562 kB / 1.123 GB, free: 13.15 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0009542/0.892, allocations: 0.6212 MB / 1.124 GB, free: 12.91 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.6e-07/0.892, allocations: 0 / 1.124 GB, free: 12.91 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.001048/0.8931, allocations: 267.2 kB / 1.124 GB, free: 12.88 MB / 0.8887 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (con.T[1],con.T[2],con.T[3],con.T[4],con1.T[1],con1.T[2],con2.T[1],con2.T[2]) * 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 (23): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,3,100.0%), (1,3,100.0%), (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.0001661/0.8933, allocations: 109 kB / 1.124 GB, free: 12.78 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.001538/0.8948, allocations: 0.9228 MB / 1.125 GB, free: 12.26 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.8948, allocations: 0 / 1.125 GB, free: 12.26 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0006199/0.8955, allocations: 0.5185 MB / 1.125 GB, free: 11.86 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009548/0.8964, allocations: 171.1 kB / 1.126 GB, free: 11.79 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00286/0.8993, allocations: 1.773 MB / 1.127 GB, free: 10.73 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006506/0.9, allocations: 0.9913 MB / 1.128 GB, free: 10 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002418/0.9002, allocations: 47.95 kB / 1.128 GB, free: 9.996 MB / 0.8887 GB Notification: Performance of SimCode: time 8.51e-07/0.9002, allocations: 0 / 1.128 GB, free: 9.996 MB / 0.8887 GB Notification: Performance of Templates: time 0.02718/0.9274, allocations: 17.65 MB / 1.146 GB, free: 5.047 MB / 0.8887 GB make -j1 -f Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.makefile (rm -f Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.sim & ./Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayer2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayer2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_HeatTransfer_Examples_ConductorSingleLayer2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches