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.001597/0.001597, allocations: 102.2 kB / 16.27 MB, free: 6 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.001867/0.001867, allocations: 193.3 kB / 17.2 MB, free: 5.609 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.301/1.301, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.566/2.566, allocations: 469.4 MB / 0.7427 GB, free: 3.664 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001333/0.001333, allocations: 64.94 kB / 0.9088 GB, free: 14.17 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2883/0.2897, allocations: 159.1 MB / 1.064 GB, free: 15.04 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorMultiLayer2): time 0.0042/0.2939, allocations: 2.729 MB / 1.067 GB, free: 12.28 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.003787/0.2977, allocations: 2.78 MB / 1.07 GB, free: 9.492 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002779/0.298, allocations: 7.938 kB / 1.07 GB, free: 9.484 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.001402/0.2994, allocations: 0.4941 MB / 1.07 GB, free: 8.988 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0005931/0.3001, allocations: 254.9 kB / 1.07 GB, free: 8.738 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009789/0.3011, allocations: 395 kB / 1.071 GB, free: 8.352 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.001572/0.3026, allocations: 1.531 MB / 1.072 GB, free: 6.82 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002219/0.3029, allocations: 134.3 kB / 1.072 GB, free: 6.688 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006743/0.3036, allocations: 466.9 kB / 1.073 GB, free: 6.23 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006304/0.3042, allocations: 418.5 kB / 1.073 GB, free: 5.82 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0001176/0.3043, allocations: 52 kB / 1.073 GB, free: 5.77 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000148/0.3045, allocations: 52 kB / 1.073 GB, free: 5.719 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.000272/0.3048, allocations: 263.3 kB / 1.074 GB, free: 5.461 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0004321/0.3052, allocations: 370.2 kB / 1.074 GB, free: 5.098 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0007743/0.306, allocations: 0.8996 MB / 1.075 GB, free: 4.195 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.306, allocations: 4 kB / 1.075 GB, free: 4.191 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.233e-06/0.306, allocations: 3.938 kB / 1.075 GB, free: 4.188 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 2.081e-05/0.306, allocations: 0 / 1.075 GB, free: 4.188 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.002149/0.3082, allocations: 1.148 MB / 1.076 GB, free: 2.988 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.79e-05/0.3082, allocations: 12.56 kB / 1.076 GB, free: 2.977 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001636/0.3084, allocations: 76 kB / 1.076 GB, free: 2.902 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009573/0.3094, allocations: 0.6487 MB / 1.077 GB, free: 2.211 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.444e-05/0.3094, allocations: 24.94 kB / 1.077 GB, free: 2.184 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.518e-05/0.3095, allocations: 40.38 kB / 1.077 GB, free: 2.145 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005226/0.31, allocations: 378.8 kB / 1.077 GB, free: 1.754 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.064e-05/0.31, allocations: 0 / 1.077 GB, free: 1.754 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.913e-05/0.3101, allocations: 12 kB / 1.077 GB, free: 1.742 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.548e-06/0.3101, allocations: 11.92 kB / 1.077 GB, free: 1.73 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003705/0.3105, allocations: 233.5 kB / 1.077 GB, free: 1.504 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.4477/0.7582, allocations: 2.455 MB / 1.08 GB, free: 16.49 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001001/0.7592, allocations: 397.7 kB / 1.08 GB, free: 16.46 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002123/0.7594, allocations: 144.5 kB / 1.08 GB, free: 16.46 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.376e-05/0.7594, allocations: 3.594 kB / 1.08 GB, free: 16.46 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.525e-05/0.7594, allocations: 35.44 kB / 1.08 GB, free: 16.42 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=18): time 2.054e-06/0.7595, allocations: 0 / 1.08 GB, free: 16.42 MB / 0.8419 GB Notification: Performance of matching and sorting (n=18): time 0.0009924/0.7604, allocations: 0.5354 MB / 1.081 GB, free: 16.29 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.379e-05/0.7605, allocations: 53.34 kB / 1.081 GB, free: 16.22 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001162/0.7617, allocations: 0.9371 MB / 1.082 GB, free: 16.1 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.509e-05/0.7617, allocations: 33.92 kB / 1.082 GB, free: 16.07 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001981/0.7619, allocations: 304.1 kB / 1.082 GB, free: 15.97 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 6.892e-05/0.762, allocations: 65.5 kB / 1.082 GB, free: 15.94 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001518/0.7621, allocations: 127.6 kB / 1.082 GB, free: 15.92 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 9.765e-05/0.7622, allocations: 386.5 kB / 1.083 GB, free: 15.61 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003578/0.7626, allocations: 238 kB / 1.083 GB, free: 15.61 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004269/0.763, allocations: 0.501 MB / 1.083 GB, free: 15.27 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006632/0.7637, allocations: 0.6954 MB / 1.084 GB, free: 14.95 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.67e-06/0.7637, allocations: 2.312 kB / 1.084 GB, free: 14.95 MB / 0.8419 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001144/0.7649, allocations: 0.8129 MB / 1.085 GB, free: 14.86 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2e-05/0.7649, allocations: 9.5 kB / 1.085 GB, free: 14.86 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.414e-05/0.7649, allocations: 9.719 kB / 1.085 GB, free: 14.86 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001977/0.7651, allocations: 59.48 kB / 1.085 GB, free: 14.85 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000464/0.7656, allocations: 137.6 kB / 1.085 GB, free: 14.85 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009942/0.7666, allocations: 1.545 MB / 1.086 GB, free: 13.5 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006576/0.7673, allocations: 118.3 kB / 1.087 GB, free: 13.49 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.759e-05/0.7673, allocations: 27.5 kB / 1.087 GB, free: 13.49 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.0003385/0.7677, allocations: 351.5 kB / 1.087 GB, free: 13.34 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.879e-05/0.7677, allocations: 62.73 kB / 1.087 GB, free: 13.3 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001002/0.7679, allocations: 75.36 kB / 1.087 GB, free: 13.26 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.496e-06/0.7679, allocations: 4.719 kB / 1.087 GB, free: 13.26 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/0.7679, allocations: 1.859 kB / 1.087 GB, free: 13.26 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.918e-06/0.7679, allocations: 0.75 kB / 1.087 GB, free: 13.26 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006414/0.7685, allocations: 0.5811 MB / 1.088 GB, free: 12.93 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.634e-06/0.7685, allocations: 1.25 kB / 1.088 GB, free: 12.93 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002522/0.7688, allocations: 53.45 kB / 1.088 GB, free: 12.93 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001131/0.7689, allocations: 38.44 kB / 1.088 GB, free: 12.91 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.378e-05/0.7689, allocations: 9.266 kB / 1.088 GB, free: 12.91 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007869/0.7697, allocations: 1.525 MB / 1.089 GB, free: 11.47 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.482e-06/0.7698, allocations: 3.75 kB / 1.089 GB, free: 11.47 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006942/0.7705, allocations: 0.5651 MB / 1.09 GB, free: 11.18 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002026/0.7707, allocations: 196.9 kB / 1.09 GB, free: 11.03 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.739e-05/0.7707, allocations: 16.34 kB / 1.09 GB, free: 11.02 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003771/0.7711, allocations: 42.16 kB / 1.09 GB, free: 11.02 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.596e-05/0.7712, allocations: 22.94 kB / 1.09 GB, free: 11.02 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.112e-05/0.7712, allocations: 2.75 kB / 1.09 GB, free: 11.02 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0007822/0.772, allocations: 0.6626 MB / 1.091 GB, free: 10.76 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.1e-07/0.772, allocations: 0.7188 kB / 1.091 GB, free: 10.76 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0006109/0.7726, allocations: 190 kB / 1.091 GB, free: 10.73 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 9.71e-05/0.7727, allocations: 105.6 kB / 1.091 GB, free: 10.64 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0008606/0.7736, allocations: 0.592 MB / 1.092 GB, free: 10.43 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.7736, allocations: 1.531 kB / 1.092 GB, free: 10.43 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002877/0.7739, allocations: 255.8 kB / 1.092 GB, free: 10.28 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007823/0.7747, allocations: 171.1 kB / 1.092 GB, free: 10.23 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002122/0.7768, allocations: 1.566 MB / 1.094 GB, free: 9.402 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005021/0.7773, allocations: 1.007 MB / 1.095 GB, free: 8.641 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001246/0.7775, allocations: 37.23 kB / 1.095 GB, free: 8.637 MB / 0.8419 GB Notification: Performance of SimCode: time 3.11e-07/0.7775, allocations: 0 / 1.095 GB, free: 8.637 MB / 0.8419 GB Notification: Performance of Templates: time 0.01955/0.797, allocations: 12.26 MB / 1.107 GB, free: 7.621 MB / 0.8419 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