Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.ConductorMultiLayer2,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.ConductorMultiLayer2") translateModel(Buildings.HeatTransfer.Examples.ConductorMultiLayer2,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.ConductorMultiLayer2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001534/0.001534, allocations: 111.3 kB / 16.41 MB, free: 6.008 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.001728/0.001729, allocations: 183.2 kB / 17.34 MB, free: 5.629 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.441/1.441, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.639/2.639, allocations: 461.9 MB / 0.7354 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001445/0.001445, allocations: 71.89 kB / 1.055 GB, free: 7.723 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6978/0.6993, allocations: 157.4 MB / 1.208 GB, free: 13.65 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorMultiLayer2): time 0.003955/0.7033, allocations: 2.759 MB / 1.211 GB, free: 10.88 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.00407/0.7074, allocations: 2.772 MB / 1.214 GB, free: 8.102 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003495/0.7078, allocations: 11.94 kB / 1.214 GB, free: 8.09 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.001514/0.7093, allocations: 495.9 kB / 1.214 GB, free: 7.605 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0006127/0.71, allocations: 254.8 kB / 1.215 GB, free: 7.355 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001085/0.7111, allocations: 399 kB / 1.215 GB, free: 6.965 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.001927/0.713, allocations: 1.532 MB / 1.216 GB, free: 5.43 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002349/0.7132, allocations: 130.3 kB / 1.217 GB, free: 5.297 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007467/0.714, allocations: 474.8 kB / 1.217 GB, free: 4.832 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006631/0.7147, allocations: 386.6 kB / 1.217 GB, free: 4.453 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0001292/0.7148, allocations: 52 kB / 1.217 GB, free: 4.402 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001665/0.715, allocations: 55.94 kB / 1.217 GB, free: 4.348 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0002948/0.7153, allocations: 275.2 kB / 1.218 GB, free: 4.078 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0004503/0.7158, allocations: 374.2 kB / 1.218 GB, free: 3.711 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0008247/0.7166, allocations: 0.9073 MB / 1.219 GB, free: 2.801 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.7166, allocations: 0 / 1.219 GB, free: 2.801 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.352e-06/0.7166, allocations: 0 / 1.219 GB, free: 2.801 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 2.38e-05/0.7166, allocations: 0 / 1.219 GB, free: 2.801 MB / 0.9356 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.00221/0.7188, allocations: 1.148 MB / 1.22 GB, free: 1.602 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.299e-05/0.7189, allocations: 12.03 kB / 1.22 GB, free: 1.59 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000162/0.7191, allocations: 80 kB / 1.22 GB, free: 1.512 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001066/0.7201, allocations: 0.672 MB / 1.221 GB, free: 0.7969 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.468e-05/0.7202, allocations: 32.92 kB / 1.221 GB, free: 0.7656 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.058e-05/0.7202, allocations: 44.38 kB / 1.221 GB, free: 0.7227 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005652/0.7208, allocations: 374.6 kB / 1.221 GB, free: 344 kB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.216e-05/0.7208, allocations: 0 / 1.221 GB, free: 344 kB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.734e-05/0.7209, allocations: 8 kB / 1.221 GB, free: 336 kB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.737e-06/0.7209, allocations: 8 kB / 1.221 GB, free: 328 kB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000382/0.7213, allocations: 241.5 kB / 1.221 GB, free: 84 kB / 0.9356 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.003617/0.7249, allocations: 2.443 MB / 1.224 GB, free: 13.45 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009657/0.7259, allocations: 406.3 kB / 1.224 GB, free: 13.04 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000212/0.7261, allocations: 136.8 kB / 1.224 GB, free: 12.91 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.595e-05/0.7261, allocations: 0 / 1.224 GB, free: 12.91 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.064e-05/0.7262, allocations: 34.56 kB / 1.224 GB, free: 12.86 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=18): time 1.493e-06/0.7262, allocations: 0 / 1.224 GB, free: 12.86 MB / 0.9512 GB Notification: Performance of matching and sorting (n=18): time 0.0009635/0.7271, allocations: 0.5359 MB / 1.225 GB, free: 12.3 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.325e-05/0.7272, allocations: 55.41 kB / 1.225 GB, free: 12.23 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001201/0.7284, allocations: 0.9414 MB / 1.226 GB, free: 11.29 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 3.897e-05/0.7284, allocations: 33.7 kB / 1.226 GB, free: 11.25 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002421/0.7287, allocations: 296.5 kB / 1.226 GB, free: 10.95 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 9.299e-05/0.7288, allocations: 71.02 kB / 1.226 GB, free: 10.88 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001588/0.729, allocations: 126.2 kB / 1.226 GB, free: 10.75 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001579/0.7291, allocations: 378.7 kB / 1.227 GB, free: 10.38 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003489/0.7295, allocations: 240.9 kB / 1.227 GB, free: 10.14 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005318/0.73, allocations: 0.5014 MB / 1.227 GB, free: 9.508 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008266/0.7309, allocations: 0.7007 MB / 1.228 GB, free: 8.68 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.034e-05/0.7309, allocations: 4 kB / 1.228 GB, free: 8.676 MB / 0.9512 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001273/0.7322, allocations: 0.8196 MB / 1.229 GB, free: 7.848 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.093e-05/0.7322, allocations: 8 kB / 1.229 GB, free: 7.84 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.898e-05/0.7322, allocations: 16.06 kB / 1.229 GB, free: 7.824 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002168/0.7324, allocations: 48.83 kB / 1.229 GB, free: 7.773 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000474/0.7329, allocations: 143.7 kB / 1.229 GB, free: 7.633 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001305/0.7342, allocations: 1.538 MB / 1.231 GB, free: 5.953 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007356/0.735, allocations: 127.2 kB / 1.231 GB, free: 5.828 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.199e-05/0.735, allocations: 28 kB / 1.231 GB, free: 5.801 MB / 0.9512 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.0004146/0.7355, allocations: 349.5 kB / 1.231 GB, free: 5.449 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001245/0.7356, allocations: 63.19 kB / 1.231 GB, free: 5.387 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001436/0.7357, allocations: 66 kB / 1.231 GB, free: 5.316 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.7357, allocations: 0 / 1.231 GB, free: 5.316 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.7358, allocations: 4 kB / 1.231 GB, free: 5.312 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.7358, allocations: 0 / 1.231 GB, free: 5.312 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007003/0.7365, allocations: 0.5791 MB / 1.232 GB, free: 4.684 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.486e-06/0.7365, allocations: 3.938 kB / 1.232 GB, free: 4.68 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002563/0.7367, allocations: 47.95 kB / 1.232 GB, free: 4.633 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001283/0.7369, allocations: 44.83 kB / 1.232 GB, free: 4.586 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.602e-05/0.7369, allocations: 11.92 kB / 1.232 GB, free: 4.574 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001103/0.738, allocations: 1.523 MB / 1.233 GB, free: 2.906 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.738, allocations: 0 / 1.233 GB, free: 2.906 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007758/0.7388, allocations: 0.5715 MB / 1.234 GB, free: 2.316 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002641/0.7391, allocations: 204.2 kB / 1.234 GB, free: 2.098 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.591e-05/0.7392, allocations: 8 kB / 1.234 GB, free: 2.09 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004238/0.7396, allocations: 47.86 kB / 1.234 GB, free: 2.043 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.354e-05/0.7397, allocations: 11.97 kB / 1.234 GB, free: 2.031 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.098e-05/0.7397, allocations: 4 kB / 1.234 GB, free: 2.027 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0008943/0.7406, allocations: 0.6668 MB / 1.235 GB, free: 1.367 MB / 0.9512 GB Notification: Performance of sort global known variables: time 9e-08/0.7406, allocations: 0 / 1.235 GB, free: 1.367 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0006259/0.7413, allocations: 179.8 kB / 1.235 GB, free: 1.191 MB / 0.9512 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.0001246/0.7414, allocations: 111.2 kB / 1.235 GB, free: 1.074 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0009171/0.7423, allocations: 0.5746 MB / 1.236 GB, free: 500 kB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.7423, allocations: 3.938 kB / 1.236 GB, free: 496 kB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0003167/0.7426, allocations: 242.6 kB / 1.236 GB, free: 240 kB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008572/0.7435, allocations: 179.3 kB / 1.236 GB, free: 64 kB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002243/0.7458, allocations: 1.558 MB / 1.238 GB, free: 14.47 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000613/0.7464, allocations: 1.003 MB / 1.239 GB, free: 13.44 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001414/0.7465, allocations: 35.44 kB / 1.239 GB, free: 13.4 MB / 0.9669 GB Notification: Performance of SimCode: time 4.91e-07/0.7466, allocations: 0 / 1.239 GB, free: 13.4 MB / 0.9669 GB Notification: Performance of Templates: time 0.01654/0.7631, allocations: 12.36 MB / 1.251 GB, free: 1.082 MB / 0.9669 GB make -j1 -f Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.makefile (rm -f Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.sim & ./Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer2_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Examples_ConductorMultiLayer2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches