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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.001292/0.001297, allocations: 107.8 kB / 15.99 MB, free: 6.355 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.001413/0.001413, allocations: 199 kB / 16.91 MB, free: 6.188 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.411/1.411, allocations: 222.9 MB / 240.6 MB, free: 15.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.707/2.707, allocations: 482.2 MB / 0.7548 GB, free: 7.359 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001991/0.001991, allocations: 64.09 kB / 0.9238 GB, free: 0.5586 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7724/0.7744, allocations: 162.2 MB / 1.082 GB, free: 1.738 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorMultiLayer): time 0.003866/0.7783, allocations: 2.779 MB / 1.085 GB, free: 15.78 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.004336/0.7826, allocations: 2.764 MB / 1.088 GB, free: 13.84 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003124/0.783, allocations: 9.031 kB / 1.088 GB, free: 13.84 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.00152/0.7845, allocations: 454 kB / 1.088 GB, free: 13.66 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0006826/0.7852, allocations: 242 kB / 1.088 GB, free: 13.52 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.001157/0.7864, allocations: 364.4 kB / 1.089 GB, free: 13.36 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.002018/0.7884, allocations: 1.562 MB / 1.09 GB, free: 12.79 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002515/0.7887, allocations: 133.6 kB / 1.09 GB, free: 12.74 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008363/0.7895, allocations: 492.1 kB / 1.091 GB, free: 12.58 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007005/0.7902, allocations: 435.8 kB / 1.091 GB, free: 12.42 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 9.876e-05/0.7903, allocations: 47.41 kB / 1.091 GB, free: 12.42 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001262/0.7905, allocations: 52.81 kB / 1.091 GB, free: 12.42 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0003206/0.7908, allocations: 263.6 kB / 1.091 GB, free: 12.32 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0004425/0.7913, allocations: 375.5 kB / 1.092 GB, free: 12.1 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0008891/0.7922, allocations: 0.7515 MB / 1.093 GB, free: 11.87 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.7922, allocations: 0.875 kB / 1.093 GB, free: 11.87 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.603e-06/0.7922, allocations: 0 / 1.093 GB, free: 11.87 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.535e-05/0.7922, allocations: 3.938 kB / 1.093 GB, free: 11.87 MB / 0.8419 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.002421/0.7946, allocations: 1.143 MB / 1.094 GB, free: 11.13 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.552e-05/0.7947, allocations: 10.25 kB / 1.094 GB, free: 11.13 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001626/0.7948, allocations: 82.98 kB / 1.094 GB, free: 11.09 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001078/0.7959, allocations: 0.6493 MB / 1.094 GB, free: 10.67 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.211e-05/0.796, allocations: 27.28 kB / 1.094 GB, free: 10.66 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.103e-05/0.7961, allocations: 38.75 kB / 1.094 GB, free: 10.64 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006417/0.7967, allocations: 376.5 kB / 1.095 GB, free: 10.47 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.158e-05/0.7967, allocations: 0 / 1.095 GB, free: 10.47 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.199e-05/0.7968, allocations: 15.67 kB / 1.095 GB, free: 10.46 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.285e-05/0.7968, allocations: 5.594 kB / 1.095 GB, free: 10.46 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004282/0.7972, allocations: 232.5 kB / 1.095 GB, free: 10.39 MB / 0.8419 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.004689/0.8019, allocations: 2.463 MB / 1.097 GB, free: 8.715 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001246/0.8032, allocations: 400.8 kB / 1.098 GB, free: 8.598 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002688/0.8035, allocations: 141.4 kB / 1.098 GB, free: 8.547 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.261e-05/0.8035, allocations: 2.594 kB / 1.098 GB, free: 8.547 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.52e-05/0.8035, allocations: 35.69 kB / 1.098 GB, free: 8.504 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=18): time 1.933e-06/0.8035, allocations: 0 / 1.098 GB, free: 8.504 MB / 0.8419 GB Notification: Performance of matching and sorting (n=18): time 0.001497/0.805, allocations: 0.536 MB / 1.099 GB, free: 8.238 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.507e-05/0.8051, allocations: 53.56 kB / 1.099 GB, free: 8.176 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002187/0.8073, allocations: 0.9382 MB / 1.1 GB, free: 7.809 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 7.931e-05/0.8074, allocations: 36.45 kB / 1.1 GB, free: 7.77 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003891/0.8078, allocations: 296.5 kB / 1.1 GB, free: 7.539 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001527/0.808, allocations: 70.03 kB / 1.1 GB, free: 7.484 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000245/0.8082, allocations: 122 kB / 1.1 GB, free: 7.426 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0002892/0.8085, allocations: 387.3 kB / 1.1 GB, free: 7.078 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000511/0.8091, allocations: 240.1 kB / 1.101 GB, free: 7.02 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007104/0.8098, allocations: 0.4974 MB / 1.101 GB, free: 6.602 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001029/0.8108, allocations: 0.7014 MB / 1.102 GB, free: 6.082 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.205e-06/0.8108, allocations: 6.25 kB / 1.102 GB, free: 6.078 MB / 0.8419 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001455/0.8123, allocations: 0.8148 MB / 1.103 GB, free: 5.773 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.274e-05/0.8123, allocations: 8.438 kB / 1.103 GB, free: 5.773 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.784e-05/0.8123, allocations: 11.45 kB / 1.103 GB, free: 5.773 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002354/0.8126, allocations: 53.55 kB / 1.103 GB, free: 5.758 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004805/0.8131, allocations: 140.7 kB / 1.103 GB, free: 5.742 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001532/0.8146, allocations: 1.539 MB / 1.104 GB, free: 4.293 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008826/0.8155, allocations: 129.2 kB / 1.104 GB, free: 4.25 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.754e-05/0.8156, allocations: 27.31 kB / 1.104 GB, free: 4.246 MB / 0.8419 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.0005701/0.8162, allocations: 344.8 kB / 1.105 GB, free: 4.043 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001243/0.8163, allocations: 62.56 kB / 1.105 GB, free: 4.008 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001502/0.8164, allocations: 78.72 kB / 1.105 GB, free: 3.957 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/0.8165, allocations: 2.156 kB / 1.105 GB, free: 3.957 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/0.8165, allocations: 1.344 kB / 1.105 GB, free: 3.957 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.059e-06/0.8165, allocations: 1.172 kB / 1.105 GB, free: 3.957 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009028/0.8174, allocations: 0.5742 MB / 1.105 GB, free: 3.633 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.458e-06/0.8174, allocations: 0.7969 kB / 1.105 GB, free: 3.633 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002545/0.8177, allocations: 53 kB / 1.106 GB, free: 3.625 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001369/0.8178, allocations: 47.36 kB / 1.106 GB, free: 3.605 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.877e-05/0.8178, allocations: 12.2 kB / 1.106 GB, free: 3.598 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001397/0.8192, allocations: 1.515 MB / 1.107 GB, free: 2.16 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.8193, allocations: 0.7031 kB / 1.107 GB, free: 2.16 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008611/0.8201, allocations: 0.5662 MB / 1.108 GB, free: 1.867 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003003/0.8204, allocations: 204.9 kB / 1.108 GB, free: 1.707 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.623e-05/0.8205, allocations: 10.03 kB / 1.108 GB, free: 1.703 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004045/0.8209, allocations: 47.62 kB / 1.108 GB, free: 1.699 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.352e-05/0.821, allocations: 15.05 kB / 1.108 GB, free: 1.695 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.283e-05/0.821, allocations: 7.094 kB / 1.108 GB, free: 1.691 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.001073/0.8221, allocations: 0.6597 MB / 1.109 GB, free: 1.438 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.4e-07/0.8221, allocations: 0 / 1.109 GB, free: 1.438 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0008496/0.823, allocations: 184.4 kB / 1.109 GB, free: 1.418 MB / 0.8419 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.0001646/0.8231, allocations: 107.7 kB / 1.109 GB, free: 1.324 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001125/0.8243, allocations: 0.598 MB / 1.109 GB, free: 1.078 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.267e-06/0.8243, allocations: 0 / 1.109 GB, free: 1.078 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0003586/0.8247, allocations: 255 kB / 1.11 GB, free: 0.9258 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008711/0.8255, allocations: 167.8 kB / 1.11 GB, free: 0.8633 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002633/0.8282, allocations: 1.748 MB / 1.111 GB, free: 15.82 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008543/0.8291, allocations: 1.004 MB / 1.112 GB, free: 15.07 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001615/0.8292, allocations: 36.94 kB / 1.113 GB, free: 15.06 MB / 0.8575 GB Notification: Performance of SimCode: time 4.11e-07/0.8292, allocations: 0 / 1.113 GB, free: 15.06 MB / 0.8575 GB Notification: Performance of Templates: time 0.02227/0.8515, allocations: 12.25 MB / 1.124 GB, free: 10.37 MB / 0.8575 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