Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.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_9_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_9_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.001695/0.001695, 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.001997/0.001997, allocations: 198.4 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.366/1.366, allocations: 222.9 MB / 240.5 MB, free: 4.574 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.355/2.355, allocations: 390.2 MB / 0.6649 GB, free: 0.6367 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001333/0.001333, allocations: 67.91 kB / 0.8125 GB, free: 14.91 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5819/0.5833, allocations: 140.4 MB / 0.9496 GB, free: 9.074 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayer): time 0.003875/0.5872, allocations: 3.735 MB / 0.9532 GB, free: 6.129 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.003302/0.5905, allocations: 2.547 MB / 0.9557 GB, free: 4.102 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003312/0.5909, allocations: 12.03 kB / 0.9557 GB, free: 4.098 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.000626/0.5915, allocations: 223.3 kB / 0.9559 GB, free: 3.941 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0007352/0.5923, allocations: 464.9 kB / 0.9564 GB, free: 3.559 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009524/0.5932, allocations: 474.3 kB / 0.9568 GB, free: 3.227 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001265/0.5945, allocations: 1.604 MB / 0.9584 GB, free: 2.371 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002133/0.5947, allocations: 136.4 kB / 0.9585 GB, free: 2.293 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004699/0.5952, allocations: 399.6 kB / 0.9589 GB, free: 2.09 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000539/0.5958, allocations: 499.7 kB / 0.9594 GB, free: 1.801 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 8.621e-05/0.5959, allocations: 38.25 kB / 0.9594 GB, free: 1.797 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001336/0.596, allocations: 35.91 kB / 0.9595 GB, free: 1.797 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0002776/0.5963, allocations: 323.6 kB / 0.9598 GB, free: 1.594 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0003508/0.5966, allocations: 428.7 kB / 0.9602 GB, free: 1.328 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0004498/0.5971, allocations: 0.6936 MB / 0.9608 GB, free: 0.8555 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.5971, allocations: 5.188 kB / 0.9609 GB, free: 0.8516 MB / 0.7169 GB Notification: Performance of FrontEnd: time 8.01e-07/0.5971, allocations: 0 / 0.9609 GB, free: 0.8516 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 9.167e-06/0.5971, allocations: 0 / 0.9609 GB, free: 0.8516 MB / 0.7169 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.001898/0.599, allocations: 1.24 MB / 0.9621 GB, free: 15.91 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.409e-05/0.5991, allocations: 13.12 kB / 0.9621 GB, free: 15.9 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001508/0.5992, allocations: 107.3 kB / 0.9622 GB, free: 15.85 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009264/0.6002, allocations: 0.6373 MB / 0.9628 GB, free: 15.34 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.431e-05/0.6002, allocations: 41.59 kB / 0.9628 GB, free: 15.32 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.905e-05/0.6003, allocations: 57.44 kB / 0.9629 GB, free: 15.3 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005962/0.6009, allocations: 403.8 kB / 0.9633 GB, free: 15.02 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.313e-05/0.6009, allocations: 1.406 kB / 0.9633 GB, free: 15.02 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.175e-05/0.601, allocations: 14.5 kB / 0.9633 GB, free: 15.01 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.042e-05/0.601, allocations: 9.031 kB / 0.9633 GB, free: 15.01 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000398/0.6014, allocations: 219.3 kB / 0.9635 GB, free: 14.91 MB / 0.7325 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.002876/0.6043, allocations: 2.512 MB / 0.966 GB, free: 12.65 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001269/0.6056, allocations: 488.2 kB / 0.9664 GB, free: 12.43 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002502/0.6058, allocations: 157.1 kB / 0.9666 GB, free: 12.36 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.278e-05/0.6059, allocations: 6.984 kB / 0.9666 GB, free: 12.35 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.787e-05/0.6059, allocations: 37.05 kB / 0.9666 GB, free: 12.31 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=28): time 1.693e-06/0.6059, allocations: 0 / 0.9666 GB, free: 12.31 MB / 0.7325 GB Notification: Performance of matching and sorting (n=30): time 0.002049/0.608, allocations: 1.206 MB / 0.9678 GB, free: 11.47 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.667e-05/0.608, allocations: 54.06 kB / 0.9679 GB, free: 11.41 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001132/0.6092, allocations: 0.9208 MB / 0.9688 GB, free: 10.89 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.674e-05/0.6092, allocations: 40.39 kB / 0.9688 GB, free: 10.85 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002729/0.6095, allocations: 366.7 kB / 0.9691 GB, free: 10.53 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 9.862e-05/0.6096, allocations: 109.1 kB / 0.9692 GB, free: 10.44 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002086/0.6098, allocations: 172 kB / 0.9694 GB, free: 10.34 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001715/0.61, allocations: 399.5 kB / 0.9698 GB, free: 9.961 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003668/0.6104, allocations: 227.4 kB / 0.97 GB, free: 9.859 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005975/0.611, allocations: 0.6207 MB / 0.9706 GB, free: 9.207 MB / 0.7325 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.002935/0.6139, allocations: 1.763 MB / 0.9723 GB, free: 7.875 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.594e-06/0.6139, allocations: 4.281 kB / 0.9723 GB, free: 7.875 MB / 0.7325 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.00143/0.6154, allocations: 0.9007 MB / 0.9732 GB, free: 7.41 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.169e-05/0.6154, allocations: 11.31 kB / 0.9732 GB, free: 7.41 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.729e-05/0.6154, allocations: 22.89 kB / 0.9732 GB, free: 7.402 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001674/0.6156, allocations: 48.08 kB / 0.9733 GB, free: 7.383 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006593/0.6163, allocations: 210 kB / 0.9735 GB, free: 7.332 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001066/0.6173, allocations: 1.362 MB / 0.9748 GB, free: 5.949 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000746/0.6181, allocations: 49.78 kB / 0.9749 GB, free: 5.926 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.06e-05/0.6182, allocations: 43.25 kB / 0.9749 GB, free: 5.918 MB / 0.7325 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.0003532/0.6185, allocations: 301.9 kB / 0.9752 GB, free: 5.691 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001176/0.6187, allocations: 83.44 kB / 0.9753 GB, free: 5.645 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001189/0.6188, allocations: 78.52 kB / 0.9754 GB, free: 5.59 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.928e-06/0.6188, allocations: 3.5 kB / 0.9754 GB, free: 5.59 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.173e-06/0.6188, allocations: 3.938 kB / 0.9754 GB, free: 5.586 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.919e-06/0.6188, allocations: 1.094 kB / 0.9754 GB, free: 5.586 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00161/0.6204, allocations: 1.148 MB / 0.9765 GB, free: 4.734 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.6204, allocations: 1.438 kB / 0.9765 GB, free: 4.734 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003869/0.6208, allocations: 77.95 kB / 0.9766 GB, free: 4.719 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001117/0.621, allocations: 41.11 kB / 0.9766 GB, free: 4.691 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.174e-05/0.621, allocations: 16.14 kB / 0.9766 GB, free: 4.68 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00094/0.6219, allocations: 1.318 MB / 0.9779 GB, free: 3.324 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.622, allocations: 5.281 kB / 0.9779 GB, free: 3.32 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008942/0.6229, allocations: 0.6571 MB / 0.9785 GB, free: 2.891 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002623/0.6231, allocations: 198.2 kB / 0.9787 GB, free: 2.715 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.998e-05/0.6232, allocations: 12.84 kB / 0.9788 GB, free: 2.707 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004354/0.6237, allocations: 25.22 kB / 0.9788 GB, free: 2.691 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.674e-05/0.6237, allocations: 21.84 kB / 0.9788 GB, free: 2.68 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.641e-05/0.6238, allocations: 11.41 kB / 0.9788 GB, free: 2.676 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0008056/0.6246, allocations: 0.6204 MB / 0.9794 GB, free: 2.227 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.71e-07/0.6246, allocations: 0 / 0.9794 GB, free: 2.227 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0007688/0.6254, allocations: 208 kB / 0.9796 GB, free: 2.023 MB / 0.7325 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.0001249/0.6255, allocations: 115.2 kB / 0.9797 GB, free: 1.898 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001092/0.6266, allocations: 0.6418 MB / 0.9803 GB, free: 1.246 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.6266, allocations: 0 / 0.9803 GB, free: 1.246 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0003563/0.627, allocations: 262.5 kB / 0.9806 GB, free: 0.9766 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008822/0.6279, allocations: 168.1 kB / 0.9808 GB, free: 0.8125 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002423/0.6303, allocations: 1.912 MB / 0.9826 GB, free: 14.86 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005344/0.6308, allocations: 0.984 MB / 0.9836 GB, free: 13.84 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001607/0.631, allocations: 51.44 kB / 0.9836 GB, free: 13.79 MB / 0.7481 GB Notification: Performance of SimCode: time 4.51e-07/0.631, allocations: 0 / 0.9836 GB, free: 13.79 MB / 0.7481 GB Notification: Performance of Templates: time 0.01507/0.6461, allocations: 12.09 MB / 0.9954 GB, free: 1.75 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayer.makefile (rm -f Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayer.sim & ./Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayer_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_HeatTransfer_Examples_ConductorSingleLayer.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches