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.001096/0.001096, allocations: 108 kB / 15.61 MB, free: 152 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.001106/0.001106, allocations: 192.6 kB / 16.53 MB, free: 6.664 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.381/1.381, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.797/2.797, allocations: 472.7 MB / 0.7452 GB, free: 4.641 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00128/0.00128, allocations: 61.62 kB / 0.912 GB, free: 33.4 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3601/0.3614, allocations: 159.9 MB / 1.068 GB, free: 10.4 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorMultiLayer): time 0.004008/0.3654, allocations: 2.736 MB / 1.071 GB, free: 7.645 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.003846/0.3693, allocations: 2.78 MB / 1.074 GB, free: 4.855 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001915/0.3695, allocations: 7.938 kB / 1.074 GB, free: 4.848 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.001407/0.3709, allocations: 0.4941 MB / 1.074 GB, free: 4.352 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0005004/0.3715, allocations: 258.9 kB / 1.074 GB, free: 4.098 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.000916/0.3724, allocations: 394.6 kB / 1.075 GB, free: 3.715 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.001514/0.3739, allocations: 1.528 MB / 1.076 GB, free: 2.184 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002256/0.3742, allocations: 140.7 kB / 1.076 GB, free: 2.047 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005385/0.3747, allocations: 462.9 kB / 1.077 GB, free: 1.594 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005141/0.3752, allocations: 418.5 kB / 1.077 GB, free: 1.184 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 8.961e-05/0.3753, allocations: 51.94 kB / 1.077 GB, free: 1.133 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001144/0.3755, allocations: 56 kB / 1.077 GB, free: 1.078 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0002509/0.3757, allocations: 255.3 kB / 1.078 GB, free: 0.8281 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0003415/0.3761, allocations: 374.2 kB / 1.078 GB, free: 472 kB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0007919/0.3769, allocations: 0.8957 MB / 1.079 GB, free: 15.56 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.3769, allocations: 3.938 kB / 1.079 GB, free: 15.56 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.433e-06/0.3769, allocations: 3.938 kB / 1.079 GB, free: 15.55 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 9.468e-06/0.3769, allocations: 0 / 1.079 GB, free: 15.55 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.001942/0.3789, allocations: 1.156 MB / 1.08 GB, free: 14.35 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.848e-05/0.3789, allocations: 8.031 kB / 1.08 GB, free: 14.34 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001323/0.379, allocations: 83.98 kB / 1.08 GB, free: 14.26 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008683/0.3799, allocations: 0.6486 MB / 1.081 GB, free: 13.57 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.706e-05/0.3799, allocations: 28.94 kB / 1.081 GB, free: 13.54 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.602e-05/0.38, allocations: 40.38 kB / 1.081 GB, free: 13.5 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005465/0.3806, allocations: 378.8 kB / 1.081 GB, free: 13.11 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.069e-05/0.3806, allocations: 0 / 1.081 GB, free: 13.11 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.97e-05/0.3806, allocations: 8 kB / 1.081 GB, free: 13.1 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.027e-06/0.3807, allocations: 8 kB / 1.081 GB, free: 13.09 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003989/0.3811, allocations: 237.5 kB / 1.081 GB, free: 12.86 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.003403/0.3845, allocations: 2.459 MB / 1.084 GB, free: 10.21 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009954/0.3855, allocations: 402.4 kB / 1.084 GB, free: 9.805 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002122/0.3857, allocations: 140.7 kB / 1.084 GB, free: 9.664 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.423e-05/0.3857, allocations: 3.938 kB / 1.084 GB, free: 9.66 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.145e-05/0.3858, allocations: 42.5 kB / 1.084 GB, free: 9.609 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=18): time 1.293e-06/0.3858, allocations: 0 / 1.084 GB, free: 9.609 MB / 0.8419 GB Notification: Performance of matching and sorting (n=18): time 0.0009128/0.3867, allocations: 0.5238 MB / 1.085 GB, free: 9.059 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.104e-05/0.3867, allocations: 55.41 kB / 1.085 GB, free: 8.992 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001147/0.3879, allocations: 0.9375 MB / 1.086 GB, free: 8.047 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 3.259e-05/0.3879, allocations: 37.7 kB / 1.086 GB, free: 8.004 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004589/0.3884, allocations: 296.5 kB / 1.086 GB, free: 7.711 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 8.05e-05/0.3885, allocations: 78.94 kB / 1.086 GB, free: 7.633 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001478/0.3886, allocations: 122.2 kB / 1.086 GB, free: 7.508 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0002668/0.3889, allocations: 378.7 kB / 1.087 GB, free: 7.129 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003256/0.3892, allocations: 240.9 kB / 1.087 GB, free: 6.895 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004837/0.3897, allocations: 0.4975 MB / 1.087 GB, free: 6.266 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008218/0.3906, allocations: 0.7023 MB / 1.088 GB, free: 5.434 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.701e-06/0.3906, allocations: 4 kB / 1.088 GB, free: 5.43 MB / 0.8419 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001108/0.3917, allocations: 0.8124 MB / 1.089 GB, free: 4.609 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.911e-05/0.3917, allocations: 8 kB / 1.089 GB, free: 4.602 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.062e-05/0.3917, allocations: 12 kB / 1.089 GB, free: 4.59 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000202/0.3919, allocations: 56.81 kB / 1.089 GB, free: 4.531 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004478/0.3924, allocations: 135.7 kB / 1.089 GB, free: 4.398 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00123/0.3936, allocations: 1.543 MB / 1.091 GB, free: 2.715 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006384/0.3943, allocations: 127.1 kB / 1.091 GB, free: 2.59 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.547e-05/0.3943, allocations: 28 kB / 1.091 GB, free: 2.562 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.0003675/0.3947, allocations: 339.3 kB / 1.091 GB, free: 2.223 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001051/0.3948, allocations: 63.19 kB / 1.091 GB, free: 2.16 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001033/0.3949, allocations: 66 kB / 1.091 GB, free: 2.09 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-06/0.3949, allocations: 0 / 1.091 GB, free: 2.09 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.3949, allocations: 4.062 kB / 1.091 GB, free: 2.086 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.395, allocations: 7.984 kB / 1.091 GB, free: 2.078 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000621/0.3956, allocations: 0.5829 MB / 1.092 GB, free: 1.445 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.3956, allocations: 0 / 1.092 GB, free: 1.445 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002403/0.3958, allocations: 55.83 kB / 1.092 GB, free: 1.391 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001147/0.396, allocations: 40.81 kB / 1.092 GB, free: 1.348 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.103e-05/0.396, allocations: 4 kB / 1.092 GB, free: 1.344 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001075/0.3971, allocations: 1.538 MB / 1.093 GB, free: 15.66 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.507e-06/0.3971, allocations: 0 / 1.093 GB, free: 15.66 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007002/0.3978, allocations: 0.567 MB / 1.094 GB, free: 15.08 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002352/0.398, allocations: 196.3 kB / 1.094 GB, free: 14.87 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.556e-05/0.3981, allocations: 11.98 kB / 1.094 GB, free: 14.86 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003729/0.3985, allocations: 47.92 kB / 1.094 GB, free: 14.81 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.775e-05/0.3986, allocations: 20.05 kB / 1.094 GB, free: 14.79 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.349e-05/0.3986, allocations: 8 kB / 1.094 GB, free: 14.78 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0007883/0.3994, allocations: 0.6629 MB / 1.095 GB, free: 14.12 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3994, allocations: 0 / 1.095 GB, free: 14.12 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0006067/0.4, allocations: 179.8 kB / 1.095 GB, free: 13.95 MB / 0.8575 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.0001367/0.4001, allocations: 107.8 kB / 1.095 GB, free: 13.84 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0009004/0.4011, allocations: 0.6073 MB / 1.096 GB, free: 13.22 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.4011, allocations: 0 / 1.096 GB, free: 13.22 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0003099/0.4014, allocations: 242.5 kB / 1.096 GB, free: 12.97 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007851/0.4022, allocations: 166.9 kB / 1.096 GB, free: 12.8 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00206/0.4042, allocations: 1.533 MB / 1.098 GB, free: 11.24 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005711/0.4048, allocations: 1.003 MB / 1.098 GB, free: 10.21 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0003893/0.4052, allocations: 180.5 kB / 1.099 GB, free: 10.04 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000109/0.4053, allocations: 39.44 kB / 1.099 GB, free: 9.996 MB / 0.8575 GB Notification: Performance of SimCode: time 3.4e-07/0.4054, allocations: 3.938 kB / 1.099 GB, free: 9.992 MB / 0.8575 GB Notification: Performance of Templates: time 0.01562/0.421, allocations: 8.415 MB / 1.107 GB, free: 1.695 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches