Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer.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.ConductorMultiLayer,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.ConductorMultiLayer") translateModel(Buildings.HeatTransfer.Examples.ConductorMultiLayer,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.ConductorMultiLayer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001486/0.001494, allocations: 108.2 kB / 16.41 MB, free: 6.504 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.001688/0.001688, allocations: 187 kB / 17.34 MB, free: 5.742 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.401/1.401, allocations: 222.9 MB / 241 MB, free: 15.15 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.7355 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001492/0.001492, allocations: 67.91 kB / 1.055 GB, free: 7.734 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7593/0.7608, allocations: 157.4 MB / 1.208 GB, free: 13.66 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorMultiLayer): time 0.003886/0.7648, allocations: 2.741 MB / 1.211 GB, free: 10.91 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.003801/0.7686, allocations: 2.784 MB / 1.214 GB, free: 8.117 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002631/0.7689, allocations: 7.938 kB / 1.214 GB, free: 8.109 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.001444/0.7703, allocations: 495.9 kB / 1.214 GB, free: 7.625 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0005701/0.771, allocations: 262.8 kB / 1.214 GB, free: 7.367 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001061/0.772, allocations: 391 kB / 1.215 GB, free: 6.984 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.001816/0.7739, allocations: 1.536 MB / 1.216 GB, free: 5.449 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002531/0.7741, allocations: 134.3 kB / 1.217 GB, free: 5.312 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008111/0.7749, allocations: 486.7 kB / 1.217 GB, free: 4.836 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007249/0.7757, allocations: 382.6 kB / 1.217 GB, free: 4.461 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0001275/0.7758, allocations: 48 kB / 1.217 GB, free: 4.414 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001745/0.776, allocations: 52 kB / 1.217 GB, free: 4.363 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0002948/0.7763, allocations: 271.3 kB / 1.218 GB, free: 4.098 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0004644/0.7768, allocations: 374.1 kB / 1.218 GB, free: 3.73 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0007884/0.7776, allocations: 0.9152 MB / 1.219 GB, free: 2.812 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.7776, allocations: 0 / 1.219 GB, free: 2.812 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.372e-06/0.7776, allocations: 0 / 1.219 GB, free: 2.812 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.045e-05/0.7776, allocations: 0 / 1.219 GB, free: 2.812 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.00191/0.7795, allocations: 1.148 MB / 1.22 GB, free: 1.613 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.623e-05/0.7796, allocations: 12.03 kB / 1.22 GB, free: 1.602 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001247/0.7797, allocations: 79.94 kB / 1.22 GB, free: 1.523 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009215/0.7806, allocations: 0.672 MB / 1.221 GB, free: 0.8086 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.548e-05/0.7807, allocations: 28.94 kB / 1.221 GB, free: 0.7812 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.508e-05/0.7807, allocations: 36.38 kB / 1.221 GB, free: 0.7461 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000546/0.7813, allocations: 374.9 kB / 1.221 GB, free: 368 kB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.268e-05/0.7813, allocations: 7.938 kB / 1.221 GB, free: 360 kB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.69e-05/0.7813, allocations: 8 kB / 1.221 GB, free: 352 kB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.526e-06/0.7814, allocations: 8 kB / 1.221 GB, free: 344 kB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003771/0.7817, allocations: 233.5 kB / 1.221 GB, free: 108 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.003424/0.7852, allocations: 2.451 MB / 1.224 GB, free: 13.46 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009632/0.7861, allocations: 402.4 kB / 1.224 GB, free: 13.06 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002113/0.7864, allocations: 136.7 kB / 1.224 GB, free: 12.93 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.646e-05/0.7864, allocations: 4 kB / 1.224 GB, free: 12.92 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.229e-05/0.7864, allocations: 34.56 kB / 1.224 GB, free: 12.88 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=18): time 3.657e-06/0.7864, allocations: 7.922 kB / 1.224 GB, free: 12.87 MB / 0.9512 GB Notification: Performance of matching and sorting (n=18): time 0.0009805/0.7874, allocations: 0.5322 MB / 1.225 GB, free: 12.31 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.856e-05/0.7875, allocations: 55.41 kB / 1.225 GB, free: 12.25 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001141/0.7886, allocations: 0.9375 MB / 1.226 GB, free: 11.3 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 3.909e-05/0.7887, allocations: 37.7 kB / 1.226 GB, free: 11.26 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002346/0.7889, allocations: 304.5 kB / 1.226 GB, free: 10.96 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 8.087e-05/0.789, allocations: 67 kB / 1.226 GB, free: 10.89 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001488/0.7892, allocations: 122.2 kB / 1.226 GB, free: 10.77 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001604/0.7893, allocations: 382.7 kB / 1.227 GB, free: 10.38 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003389/0.7897, allocations: 240.9 kB / 1.227 GB, free: 10.15 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005059/0.7902, allocations: 0.5014 MB / 1.227 GB, free: 9.516 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007885/0.791, allocations: 0.7008 MB / 1.228 GB, free: 8.688 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.923e-06/0.791, allocations: 4 kB / 1.228 GB, free: 8.684 MB / 0.9512 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001214/0.7922, allocations: 0.8114 MB / 1.229 GB, free: 7.863 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.001e-05/0.7923, allocations: 12 kB / 1.229 GB, free: 7.852 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.215e-05/0.7923, allocations: 8 kB / 1.229 GB, free: 7.844 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002017/0.7925, allocations: 57.3 kB / 1.229 GB, free: 7.785 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004689/0.793, allocations: 139.8 kB / 1.229 GB, free: 7.648 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001232/0.7942, allocations: 1.538 MB / 1.231 GB, free: 5.969 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007089/0.7949, allocations: 123.2 kB / 1.231 GB, free: 5.848 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.756e-05/0.795, allocations: 28 kB / 1.231 GB, free: 5.82 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.0003743/0.7953, allocations: 341.4 kB / 1.231 GB, free: 5.477 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.828e-05/0.7954, allocations: 63.19 kB / 1.231 GB, free: 5.414 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001178/0.7956, allocations: 74.09 kB / 1.231 GB, free: 5.336 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.24e-06/0.7956, allocations: 4 kB / 1.231 GB, free: 5.332 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.7956, allocations: 3.938 kB / 1.231 GB, free: 5.328 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.7956, allocations: 3.938 kB / 1.231 GB, free: 5.324 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006509/0.7963, allocations: 0.5752 MB / 1.232 GB, free: 4.699 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.7963, allocations: 0 / 1.232 GB, free: 4.699 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002495/0.7965, allocations: 51.89 kB / 1.232 GB, free: 4.648 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001238/0.7967, allocations: 44.83 kB / 1.232 GB, free: 4.602 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.606e-05/0.7967, allocations: 11.98 kB / 1.232 GB, free: 4.59 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001143/0.7978, allocations: 1.523 MB / 1.233 GB, free: 2.922 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.7979, allocations: 0 / 1.233 GB, free: 2.922 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007344/0.7986, allocations: 0.5632 MB / 1.234 GB, free: 2.34 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002436/0.7989, allocations: 208.2 kB / 1.234 GB, free: 2.117 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.15e-05/0.7989, allocations: 12.03 kB / 1.234 GB, free: 2.105 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004/0.7993, allocations: 51.98 kB / 1.234 GB, free: 2.055 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.083e-05/0.7994, allocations: 11.98 kB / 1.234 GB, free: 2.043 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.379e-05/0.7994, allocations: 11.98 kB / 1.234 GB, free: 2.031 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0008667/0.8003, allocations: 0.6551 MB / 1.235 GB, free: 1.383 MB / 0.9512 GB Notification: Performance of sort global known variables: time 2.4e-07/0.8003, allocations: 0 / 1.235 GB, free: 1.383 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0006491/0.801, allocations: 183.8 kB / 1.235 GB, free: 1.203 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.0001348/0.8011, allocations: 111.2 kB / 1.235 GB, free: 1.086 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0009223/0.802, allocations: 0.5699 MB / 1.236 GB, free: 0.5039 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.8021, allocations: 0 / 1.236 GB, free: 0.5039 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0003193/0.8024, allocations: 246.5 kB / 1.236 GB, free: 256 kB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008247/0.8032, allocations: 182.9 kB / 1.236 GB, free: 80 kB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002302/0.8055, allocations: 1.55 MB / 1.238 GB, free: 14.49 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006289/0.8062, allocations: 0.9987 MB / 1.239 GB, free: 13.46 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001514/0.8063, allocations: 39.44 kB / 1.239 GB, free: 13.43 MB / 0.9669 GB Notification: Performance of SimCode: time 2.71e-07/0.8063, allocations: 7.938 kB / 1.239 GB, free: 13.42 MB / 0.9669 GB Notification: Performance of Templates: time 0.01638/0.8227, allocations: 12.36 MB / 1.251 GB, free: 1.098 MB / 0.9669 GB make -j1 -f Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer.makefile (rm -f Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer.sim & ./Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Examples_ConductorMultiLayer.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches