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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.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.001073/0.001073, allocations: 91.06 kB / 15.06 MB, free: 1.098 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.001291/0.001291, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.445/1.445, allocations: 223.3 MB / 240 MB, free: 5.285 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.923/2.923, allocations: 462.6 MB / 0.736 GB, free: 15.68 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003754/0.0003756, allocations: 8.875 kB / 0.9021 GB, free: 36.6 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3919/0.3923, allocations: 159.6 MB / 1.058 GB, free: 5.305 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorMultiLayer2): time 0.004279/0.3966, allocations: 2.332 MB / 1.06 GB, free: 2.953 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.005278/0.4019, allocations: 2.584 MB / 1.063 GB, free: 372 kB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002908/0.4023, allocations: 11.88 kB / 1.063 GB, free: 360 kB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.001743/0.404, allocations: 450.4 kB / 1.063 GB, free: 15.91 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0007222/0.4048, allocations: 223 kB / 1.063 GB, free: 15.69 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001211/0.406, allocations: 295.4 kB / 1.064 GB, free: 15.4 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.002468/0.4085, allocations: 1.555 MB / 1.065 GB, free: 13.84 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003097/0.4088, allocations: 125.7 kB / 1.065 GB, free: 13.72 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008747/0.4097, allocations: 438.8 kB / 1.066 GB, free: 13.29 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007495/0.4104, allocations: 378.7 kB / 1.066 GB, free: 12.92 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 7.723e-05/0.4105, allocations: 24 kB / 1.066 GB, free: 12.89 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001072/0.4106, allocations: 20 kB / 1.066 GB, free: 12.88 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0003404/0.411, allocations: 235.3 kB / 1.066 GB, free: 12.64 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0002115/0.4112, allocations: 161.4 kB / 1.067 GB, free: 12.48 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0008957/0.4121, allocations: 0.721 MB / 1.067 GB, free: 11.76 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 7.254e-06/0.4121, allocations: 3.938 kB / 1.067 GB, free: 11.75 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.765e-06/0.4122, allocations: 0 / 1.067 GB, free: 11.75 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.442e-05/0.4122, allocations: 0 / 1.067 GB, free: 11.75 MB / 0.8262 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.002527/0.4147, allocations: 1.043 MB / 1.068 GB, free: 10.66 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.563e-05/0.4148, allocations: 8.031 kB / 1.068 GB, free: 10.65 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001785/0.415, allocations: 87.06 kB / 1.068 GB, free: 10.57 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001281/0.4163, allocations: 0.6206 MB / 1.069 GB, free: 9.902 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.718e-05/0.4163, allocations: 32.52 kB / 1.069 GB, free: 9.871 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.442e-05/0.4164, allocations: 36 kB / 1.069 GB, free: 9.836 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007729/0.4172, allocations: 386.6 kB / 1.069 GB, free: 9.438 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.368e-05/0.4172, allocations: 0 / 1.069 GB, free: 9.438 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.538e-05/0.4173, allocations: 8 kB / 1.069 GB, free: 9.43 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.205e-05/0.4173, allocations: 8 kB / 1.069 GB, free: 9.422 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005199/0.4178, allocations: 233.5 kB / 1.07 GB, free: 9.191 MB / 0.8262 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.004742/0.4226, allocations: 2.474 MB / 1.072 GB, free: 6.527 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001396/0.424, allocations: 402.5 kB / 1.072 GB, free: 6.125 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003092/0.4243, allocations: 140.7 kB / 1.073 GB, free: 5.984 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.13e-05/0.4243, allocations: 7.953 kB / 1.073 GB, free: 5.977 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.295e-05/0.4244, allocations: 34.56 kB / 1.073 GB, free: 5.934 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=18): time 3.095e-06/0.4244, allocations: 4 kB / 1.073 GB, free: 5.93 MB / 0.8262 GB Notification: Performance of matching and sorting (n=18): time 0.0009798/0.4254, allocations: 0.5354 MB / 1.073 GB, free: 5.367 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.683e-05/0.4254, allocations: 59.41 kB / 1.073 GB, free: 5.297 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00118/0.4266, allocations: 0.9297 MB / 1.074 GB, free: 4.355 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.49e-05/0.4267, allocations: 37.7 kB / 1.074 GB, free: 4.312 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002661/0.4269, allocations: 304.4 kB / 1.074 GB, free: 4.012 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 8.134e-05/0.427, allocations: 67 kB / 1.075 GB, free: 3.945 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.357e-05/0.427, allocations: 12 kB / 1.075 GB, free: 3.934 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001791/0.4272, allocations: 378.8 kB / 1.075 GB, free: 3.555 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003495/0.4276, allocations: 236.9 kB / 1.075 GB, free: 3.324 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00053/0.4281, allocations: 0.5013 MB / 1.076 GB, free: 2.691 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004571/0.4286, allocations: 317.1 kB / 1.076 GB, free: 2.383 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.943e-06/0.4286, allocations: 4 kB / 1.076 GB, free: 2.379 MB / 0.8262 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001186/0.4298, allocations: 0.8138 MB / 1.077 GB, free: 1.555 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.49e-05/0.4298, allocations: 8 kB / 1.077 GB, free: 1.547 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.383e-05/0.4299, allocations: 12 kB / 1.077 GB, free: 1.535 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002181/0.4301, allocations: 48.83 kB / 1.077 GB, free: 1.484 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004402/0.4305, allocations: 143.7 kB / 1.077 GB, free: 1.344 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001194/0.4317, allocations: 1.428 MB / 1.078 GB, free: 15.79 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006468/0.4324, allocations: 135.3 kB / 1.078 GB, free: 15.65 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.2e-05/0.4324, allocations: 24 kB / 1.078 GB, free: 15.63 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004251/0.4329, allocations: 349.3 kB / 1.079 GB, free: 15.28 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.947e-05/0.433, allocations: 59.25 kB / 1.079 GB, free: 15.22 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001116/0.4331, allocations: 66 kB / 1.079 GB, free: 15.14 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.4331, allocations: 4 kB / 1.079 GB, free: 15.14 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.469e-06/0.4331, allocations: 0 / 1.079 GB, free: 15.14 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.801e-06/0.4331, allocations: 3.984 kB / 1.079 GB, free: 15.14 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006433/0.4338, allocations: 0.583 MB / 1.079 GB, free: 14.5 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.4338, allocations: 0 / 1.079 GB, free: 14.5 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002328/0.434, allocations: 51.95 kB / 1.08 GB, free: 14.45 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001138/0.4341, allocations: 52.69 kB / 1.08 GB, free: 14.4 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.481e-05/0.4342, allocations: 8 kB / 1.08 GB, free: 14.39 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001019/0.4352, allocations: 1.413 MB / 1.081 GB, free: 12.84 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.484e-06/0.4352, allocations: 7.922 kB / 1.081 GB, free: 12.84 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007327/0.436, allocations: 0.5781 MB / 1.082 GB, free: 12.24 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002816/0.4363, allocations: 196.3 kB / 1.082 GB, free: 12.03 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.321e-05/0.4363, allocations: 11.98 kB / 1.082 GB, free: 12.02 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003533/0.4367, allocations: 47.92 kB / 1.082 GB, free: 11.97 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.724e-05/0.4368, allocations: 15.98 kB / 1.082 GB, free: 11.96 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.167e-05/0.4368, allocations: 4 kB / 1.082 GB, free: 11.95 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0008562/0.4376, allocations: 0.6551 MB / 1.082 GB, free: 11.3 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4377, allocations: 0 / 1.082 GB, free: 11.3 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0006021/0.4383, allocations: 187.8 kB / 1.083 GB, free: 11.12 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001385/0.4384, allocations: 107.2 kB / 1.083 GB, free: 11.01 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.00088/0.4393, allocations: 0.5819 MB / 1.083 GB, free: 10.41 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.4393, allocations: 0 / 1.083 GB, free: 10.41 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0003064/0.4396, allocations: 242.5 kB / 1.084 GB, free: 10.16 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008118/0.4404, allocations: 171.3 kB / 1.084 GB, free: 9.996 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002313/0.4428, allocations: 1.779 MB / 1.085 GB, free: 8.191 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006598/0.4434, allocations: 1.003 MB / 1.086 GB, free: 7.16 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0004263/0.4439, allocations: 184.5 kB / 1.087 GB, free: 6.98 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001141/0.444, allocations: 35.44 kB / 1.087 GB, free: 6.945 MB / 0.8419 GB Notification: Performance of SimCode: time 3.6e-07/0.444, allocations: 3.938 kB / 1.087 GB, free: 6.941 MB / 0.8419 GB Notification: Performance of Templates: time 0.01413/0.4581, allocations: 7.771 MB / 1.094 GB, free: 15.29 MB / 0.8575 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches