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.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.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.001027/0.001027, allocations: 92.55 kB / 16.02 MB, free: 80 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.001194/0.001194, allocations: 175.8 kB / 16.92 MB, free: 6.652 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.344/1.344, allocations: 223.3 MB / 241 MB, free: 5.293 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.765/2.765, allocations: 462.7 MB / 0.737 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003097/0.0003097, allocations: 8.031 kB / 0.9034 GB, free: 36.42 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2914/0.2918, allocations: 159.6 MB / 1.059 GB, free: 5 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorMultiLayer): time 0.003154/0.295, allocations: 2.421 MB / 1.062 GB, free: 2.559 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.003926/0.2989, allocations: 2.75 MB / 1.064 GB, free: 15.8 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003023/0.2993, allocations: 7.938 kB / 1.064 GB, free: 15.79 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.001387/0.3007, allocations: 462.3 kB / 1.065 GB, free: 15.34 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0006988/0.3014, allocations: 251 kB / 1.065 GB, free: 15.09 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001015/0.3024, allocations: 327.3 kB / 1.065 GB, free: 14.77 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.002108/0.3045, allocations: 1.708 MB / 1.067 GB, free: 13.06 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002253/0.3048, allocations: 129.7 kB / 1.067 GB, free: 12.93 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007175/0.3055, allocations: 398.7 kB / 1.068 GB, free: 12.54 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006591/0.3062, allocations: 394.6 kB / 1.068 GB, free: 12.16 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0001022/0.3063, allocations: 24 kB / 1.068 GB, free: 12.13 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001197/0.3064, allocations: 24 kB / 1.068 GB, free: 12.11 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0002608/0.3067, allocations: 231.2 kB / 1.068 GB, free: 11.88 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0004901/0.3072, allocations: 355.9 kB / 1.069 GB, free: 11.53 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0006931/0.3079, allocations: 0.7092 MB / 1.069 GB, free: 10.82 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.3079, allocations: 0 / 1.069 GB, free: 10.82 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.775e-06/0.3079, allocations: 4 kB / 1.069 GB, free: 10.81 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 2.872e-05/0.3079, allocations: 0 / 1.069 GB, free: 10.81 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.002088/0.31, allocations: 1.043 MB / 1.07 GB, free: 9.719 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.937e-05/0.3101, allocations: 15.91 kB / 1.07 GB, free: 9.703 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002168/0.3103, allocations: 80 kB / 1.07 GB, free: 9.625 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001056/0.3114, allocations: 0.6448 MB / 1.071 GB, free: 8.938 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.683e-05/0.3114, allocations: 24.94 kB / 1.071 GB, free: 8.914 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.193e-05/0.3115, allocations: 40.38 kB / 1.071 GB, free: 8.875 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006178/0.3121, allocations: 390.8 kB / 1.071 GB, free: 8.473 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/0.3121, allocations: 0 / 1.071 GB, free: 8.473 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.886e-05/0.3122, allocations: 8 kB / 1.071 GB, free: 8.465 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.054e-05/0.3122, allocations: 11.98 kB / 1.071 GB, free: 8.453 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004616/0.3127, allocations: 241.5 kB / 1.072 GB, free: 8.215 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.003765/0.3164, allocations: 2.482 MB / 1.074 GB, free: 5.543 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009983/0.3174, allocations: 404 kB / 1.074 GB, free: 5.141 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000224/0.3177, allocations: 136.7 kB / 1.075 GB, free: 5.004 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.761e-05/0.3177, allocations: 4 kB / 1.075 GB, free: 5 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.408e-05/0.3177, allocations: 34.56 kB / 1.075 GB, free: 4.957 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=18): time 1.893e-06/0.3177, allocations: 0 / 1.075 GB, free: 4.957 MB / 0.8262 GB Notification: Performance of matching and sorting (n=18): time 0.001009/0.3188, allocations: 0.5431 MB / 1.075 GB, free: 4.387 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.465e-05/0.3188, allocations: 55.41 kB / 1.075 GB, free: 4.32 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001291/0.3201, allocations: 0.9298 MB / 1.076 GB, free: 3.379 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.905e-05/0.3202, allocations: 33.7 kB / 1.076 GB, free: 3.34 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002667/0.3204, allocations: 308.4 kB / 1.076 GB, free: 3.035 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 9.959e-05/0.3205, allocations: 67.11 kB / 1.076 GB, free: 2.969 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.476e-05/0.3206, allocations: 69.67 kB / 1.077 GB, free: 2.895 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.00017/0.3208, allocations: 382.7 kB / 1.077 GB, free: 2.512 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003691/0.3212, allocations: 240.9 kB / 1.077 GB, free: 2.277 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000574/0.3218, allocations: 0.5014 MB / 1.078 GB, free: 1.645 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008956/0.3227, allocations: 0.7083 MB / 1.078 GB, free: 0.8086 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.518e-06/0.3227, allocations: 7.984 kB / 1.078 GB, free: 0.8008 MB / 0.8262 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001358/0.3241, allocations: 0.8128 MB / 1.079 GB, free: 15.98 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.315e-05/0.3241, allocations: 8 kB / 1.079 GB, free: 15.97 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.646e-05/0.3241, allocations: 12 kB / 1.079 GB, free: 15.96 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002111/0.3243, allocations: 52.77 kB / 1.079 GB, free: 15.91 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004744/0.3248, allocations: 139.8 kB / 1.079 GB, free: 15.77 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001243/0.3261, allocations: 1.436 MB / 1.081 GB, free: 14.2 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007451/0.3268, allocations: 135.4 kB / 1.081 GB, free: 14.07 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.958e-05/0.3269, allocations: 24 kB / 1.081 GB, free: 14.05 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.0004112/0.3273, allocations: 345.3 kB / 1.081 GB, free: 13.7 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001364/0.3274, allocations: 63.19 kB / 1.081 GB, free: 13.64 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001415/0.3276, allocations: 66 kB / 1.081 GB, free: 13.56 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.843e-06/0.3276, allocations: 7.938 kB / 1.081 GB, free: 13.55 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.778e-06/0.3276, allocations: 0 / 1.081 GB, free: 13.55 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.3276, allocations: 4 kB / 1.081 GB, free: 13.55 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007209/0.3283, allocations: 0.5791 MB / 1.082 GB, free: 12.92 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.3284, allocations: 0 / 1.082 GB, free: 12.92 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002535/0.3286, allocations: 51.95 kB / 1.082 GB, free: 12.87 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001311/0.3288, allocations: 40.77 kB / 1.082 GB, free: 12.83 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.123e-05/0.3288, allocations: 11.98 kB / 1.082 GB, free: 12.82 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001105/0.3299, allocations: 1.416 MB / 1.083 GB, free: 11.27 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.3299, allocations: 0 / 1.083 GB, free: 11.27 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008121/0.3307, allocations: 0.5751 MB / 1.084 GB, free: 10.67 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002899/0.3311, allocations: 208.2 kB / 1.084 GB, free: 10.45 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.95e-05/0.3311, allocations: 8 kB / 1.084 GB, free: 10.44 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004389/0.3316, allocations: 51.86 kB / 1.084 GB, free: 10.39 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.979e-05/0.3317, allocations: 15.97 kB / 1.084 GB, free: 10.38 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.252e-05/0.3317, allocations: 4 kB / 1.084 GB, free: 10.37 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0009496/0.3326, allocations: 0.659 MB / 1.085 GB, free: 9.719 MB / 0.8419 GB Notification: Performance of sort global known variables: time 4.4e-07/0.3326, allocations: 0 / 1.085 GB, free: 9.719 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0007079/0.3334, allocations: 183.8 kB / 1.085 GB, free: 9.539 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.0001594/0.3335, allocations: 111.2 kB / 1.085 GB, free: 9.422 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0009674/0.3345, allocations: 0.5738 MB / 1.086 GB, free: 8.836 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 4.137e-06/0.3345, allocations: 0 / 1.086 GB, free: 8.836 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0003302/0.3349, allocations: 242.5 kB / 1.086 GB, free: 8.586 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009103/0.3358, allocations: 175.5 kB / 1.086 GB, free: 8.414 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002872/0.3387, allocations: 1.851 MB / 1.088 GB, free: 6.531 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006964/0.3394, allocations: 1.003 MB / 1.089 GB, free: 5.5 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001482/0.3395, allocations: 39.44 kB / 1.089 GB, free: 5.461 MB / 0.8419 GB Notification: Performance of SimCode: time 6.32e-07/0.3395, allocations: 0 / 1.089 GB, free: 5.461 MB / 0.8419 GB Notification: Performance of Templates: time 0.01738/0.3569, allocations: 12.16 MB / 1.101 GB, free: 9.34 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