Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/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.ConductorMultiLayer3,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_10_Buildings.HeatTransfer.Examples.ConductorMultiLayer3") translateModel(Buildings.HeatTransfer.Examples.ConductorMultiLayer3,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_10_Buildings.HeatTransfer.Examples.ConductorMultiLayer3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001391/0.00139, allocations: 109.1 kB / 16.37 MB, free: 6.48 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.001277/0.001277, allocations: 193.1 kB / 17.31 MB, free: 5.82 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.336/1.336, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.701/2.701, allocations: 437.1 MB / 0.7112 GB, free: 4.379 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001247/0.001247, allocations: 64.78 kB / 0.8707 GB, free: 1.473 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3316/0.3328, allocations: 151.6 MB / 1.019 GB, free: 9.891 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorMultiLayer3): time 0.004418/0.3373, allocations: 2.755 MB / 1.021 GB, free: 7.109 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.004517/0.3418, allocations: 2.781 MB / 1.024 GB, free: 4.316 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002523/0.3421, allocations: 7.938 kB / 1.024 GB, free: 4.309 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.001476/0.3436, allocations: 498.1 kB / 1.025 GB, free: 3.82 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0005705/0.3443, allocations: 262.8 kB / 1.025 GB, free: 3.562 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.001049/0.3453, allocations: 394.1 kB / 1.025 GB, free: 3.18 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.001659/0.347, allocations: 1.536 MB / 1.027 GB, free: 1.641 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002353/0.3472, allocations: 130.3 kB / 1.027 GB, free: 1.508 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006648/0.3479, allocations: 470.9 kB / 1.027 GB, free: 1.047 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005521/0.3485, allocations: 394.6 kB / 1.028 GB, free: 0.6602 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 7.899e-05/0.3486, allocations: 48 kB / 1.028 GB, free: 0.6133 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 9.489e-05/0.3487, allocations: 48 kB / 1.028 GB, free: 0.5664 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0002928/0.349, allocations: 283.2 kB / 1.028 GB, free: 296 kB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0004031/0.3494, allocations: 370.3 kB / 1.028 GB, free: 15.92 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.001098/0.3505, allocations: 0.9073 MB / 1.029 GB, free: 15.02 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.401e-06/0.3505, allocations: 0 / 1.029 GB, free: 15.02 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.284e-06/0.3505, allocations: 0 / 1.029 GB, free: 15.02 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 9.969e-06/0.3505, allocations: 4 kB / 1.029 GB, free: 15.01 MB / 0.8106 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.002253/0.3528, allocations: 1.14 MB / 1.03 GB, free: 13.82 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.08e-05/0.3528, allocations: 12.03 kB / 1.03 GB, free: 13.81 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001467/0.353, allocations: 76 kB / 1.031 GB, free: 13.73 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001338/0.3543, allocations: 0.6759 MB / 1.031 GB, free: 13.02 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001567/0.3545, allocations: 28.94 kB / 1.031 GB, free: 12.99 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.791e-05/0.3546, allocations: 40.38 kB / 1.031 GB, free: 12.95 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005871/0.3552, allocations: 378.8 kB / 1.032 GB, free: 12.56 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.36e-05/0.3552, allocations: 7.984 kB / 1.032 GB, free: 12.55 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.58e-05/0.3553, allocations: 4 kB / 1.032 GB, free: 12.55 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.641e-05/0.3553, allocations: 11.98 kB / 1.032 GB, free: 12.54 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003738/0.3557, allocations: 233.5 kB / 1.032 GB, free: 12.31 MB / 0.8106 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.00385/0.3595, allocations: 2.451 MB / 1.034 GB, free: 9.668 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001015/0.3606, allocations: 398.4 kB / 1.035 GB, free: 9.27 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002366/0.3608, allocations: 140.7 kB / 1.035 GB, free: 9.129 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.65e-05/0.3608, allocations: 4 kB / 1.035 GB, free: 9.125 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.224e-05/0.3609, allocations: 34.56 kB / 1.035 GB, free: 9.082 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=18): time 1.553e-06/0.3609, allocations: 0 / 1.035 GB, free: 9.082 MB / 0.8106 GB Notification: Performance of matching and sorting (n=18): time 0.001121/0.362, allocations: 0.5378 MB / 1.035 GB, free: 8.516 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.702e-05/0.3621, allocations: 51.41 kB / 1.035 GB, free: 8.453 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001306/0.3634, allocations: 0.9337 MB / 1.036 GB, free: 7.512 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 5.574e-05/0.3634, allocations: 41.7 kB / 1.036 GB, free: 7.465 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003367/0.3638, allocations: 300.4 kB / 1.037 GB, free: 7.168 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 8.483e-05/0.3639, allocations: 67.05 kB / 1.037 GB, free: 7.102 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001802/0.3641, allocations: 126.1 kB / 1.037 GB, free: 6.973 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001792/0.3642, allocations: 382.7 kB / 1.037 GB, free: 6.59 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003663/0.3646, allocations: 240.9 kB / 1.037 GB, free: 6.352 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005292/0.3652, allocations: 0.4936 MB / 1.038 GB, free: 5.73 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000866/0.366, allocations: 0.7087 MB / 1.039 GB, free: 4.895 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.542e-06/0.366, allocations: 0 / 1.039 GB, free: 4.895 MB / 0.8106 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001192/0.3672, allocations: 0.8273 MB / 1.039 GB, free: 4.059 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.398e-05/0.3673, allocations: 10.97 kB / 1.039 GB, free: 4.051 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.313e-05/0.3673, allocations: 8 kB / 1.039 GB, free: 4.043 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002265/0.3675, allocations: 52.83 kB / 1.039 GB, free: 3.988 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004484/0.368, allocations: 139.8 kB / 1.04 GB, free: 3.852 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001536/0.3695, allocations: 1.543 MB / 1.041 GB, free: 2.172 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006877/0.3702, allocations: 127.4 kB / 1.041 GB, free: 2.047 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.23e-05/0.3703, allocations: 27.94 kB / 1.041 GB, free: 2.02 MB / 0.8106 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.0004346/0.3707, allocations: 341.4 kB / 1.042 GB, free: 1.676 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.265e-05/0.3708, allocations: 67.09 kB / 1.042 GB, free: 1.609 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000111/0.3709, allocations: 66 kB / 1.042 GB, free: 1.535 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.075e-06/0.3709, allocations: 4 kB / 1.042 GB, free: 1.531 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/0.371, allocations: 0 / 1.042 GB, free: 1.531 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.371, allocations: 0 / 1.042 GB, free: 1.531 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006341/0.3716, allocations: 0.583 MB / 1.042 GB, free: 0.8984 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.3716, allocations: 7.938 kB / 1.042 GB, free: 0.8906 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002387/0.3719, allocations: 51.89 kB / 1.042 GB, free: 0.8398 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001181/0.372, allocations: 44.77 kB / 1.042 GB, free: 0.793 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.099e-05/0.372, allocations: 7.984 kB / 1.042 GB, free: 0.7852 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001373/0.3734, allocations: 1.515 MB / 1.044 GB, free: 15.13 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.123e-06/0.3734, allocations: 0 / 1.044 GB, free: 15.13 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000769/0.3742, allocations: 0.5696 MB / 1.044 GB, free: 14.54 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003017/0.3745, allocations: 196.4 kB / 1.045 GB, free: 14.33 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.067e-05/0.3746, allocations: 8 kB / 1.045 GB, free: 14.32 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003743/0.375, allocations: 55.84 kB / 1.045 GB, free: 14.27 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.009e-05/0.375, allocations: 11.89 kB / 1.045 GB, free: 14.26 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.167e-05/0.3751, allocations: 4 kB / 1.045 GB, free: 14.25 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0008189/0.3759, allocations: 0.6668 MB / 1.045 GB, free: 13.59 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.21e-07/0.3759, allocations: 0 / 1.045 GB, free: 13.59 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0007618/0.3767, allocations: 183.8 kB / 1.045 GB, free: 13.41 MB / 0.8262 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.000156/0.3768, allocations: 107.2 kB / 1.046 GB, free: 13.3 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.001038/0.3779, allocations: 0.5779 MB / 1.046 GB, free: 12.71 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/0.3779, allocations: 0.6875 kB / 1.046 GB, free: 12.71 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.000339/0.3782, allocations: 250.5 kB / 1.046 GB, free: 12.45 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000824/0.3791, allocations: 168.4 kB / 1.047 GB, free: 12.29 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002238/0.3813, allocations: 1.52 MB / 1.048 GB, free: 10.74 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000786/0.3821, allocations: 1.018 MB / 1.049 GB, free: 9.691 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0003799/0.3825, allocations: 176.5 kB / 1.049 GB, free: 9.52 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001195/0.3826, allocations: 39.42 kB / 1.049 GB, free: 9.48 MB / 0.8262 GB Notification: Performance of SimCode: time 5.81e-07/0.3826, allocations: 4 kB / 1.049 GB, free: 9.477 MB / 0.8262 GB Notification: Performance of Templates: time 0.01539/0.398, allocations: 8.423 MB / 1.057 GB, free: 1.176 MB / 0.8262 GB make -j1 -f Buildings_10_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.makefile (rm -f Buildings_10_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.pipe ; mkfifo Buildings_10_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.pipe ; head -c 1048576 < Buildings_10_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.pipe >> ../files/Buildings_10_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.sim & ./Buildings_10_Buildings.HeatTransfer.Examples.ConductorMultiLayer3 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.HeatTransfer.Examples.ConductorMultiLayer3_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_HeatTransfer_Examples_ConductorMultiLayer3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches