Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.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_9_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_9_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.006737/0.006737, allocations: 101.1 kB / 15.73 MB, free: 6.039 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.001231/0.001231, allocations: 190.4 kB / 16.67 MB, free: 5.977 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.389/1.389, allocations: 222.9 MB / 240.4 MB, free: 4.188 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.415/2.415, allocations: 390.2 MB / 0.6648 GB, free: 176 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00118/0.00118, allocations: 65.97 kB / 0.9508 GB, free: 5.492 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2931/0.2943, allocations: 140.4 MB / 1.088 GB, free: 1.527 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorMultiLayer2): time 0.003884/0.2982, allocations: 2.731 MB / 1.091 GB, free: 14.77 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.003726/0.3019, allocations: 2.781 MB / 1.093 GB, free: 11.98 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001883/0.3021, allocations: 7.938 kB / 1.093 GB, free: 11.97 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001395/0.3036, allocations: 0.4941 MB / 1.094 GB, free: 11.48 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0005052/0.3041, allocations: 268.2 kB / 1.094 GB, free: 11.21 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009031/0.305, allocations: 395 kB / 1.094 GB, free: 10.83 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001633/0.3067, allocations: 1.529 MB / 1.096 GB, free: 9.297 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002381/0.3069, allocations: 138.3 kB / 1.096 GB, free: 9.156 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006643/0.3076, allocations: 482.8 kB / 1.096 GB, free: 8.684 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005443/0.3081, allocations: 386.6 kB / 1.097 GB, free: 8.305 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 7.124e-05/0.3082, allocations: 52 kB / 1.097 GB, free: 8.254 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 9.495e-05/0.3083, allocations: 48 kB / 1.097 GB, free: 8.207 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0002809/0.3086, allocations: 275.3 kB / 1.097 GB, free: 7.938 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0003686/0.309, allocations: 370.2 kB / 1.098 GB, free: 7.574 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0008169/0.3098, allocations: 0.9112 MB / 1.098 GB, free: 6.66 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.3098, allocations: 0 / 1.098 GB, free: 6.66 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.072e-06/0.3098, allocations: 7.938 kB / 1.098 GB, free: 6.652 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.268e-05/0.3099, allocations: 0 / 1.098 GB, free: 6.652 MB / 0.8575 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.002016/0.3119, allocations: 1.14 MB / 1.1 GB, free: 5.461 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.902e-05/0.3119, allocations: 12.03 kB / 1.1 GB, free: 5.449 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001161/0.3121, allocations: 76 kB / 1.1 GB, free: 5.375 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001044/0.3131, allocations: 0.6759 MB / 1.1 GB, free: 4.656 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.767e-05/0.3131, allocations: 28.94 kB / 1.1 GB, free: 4.629 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.292e-05/0.3132, allocations: 40.36 kB / 1.1 GB, free: 4.59 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005532/0.3138, allocations: 378.8 kB / 1.101 GB, free: 4.195 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.528e-05/0.3138, allocations: 0 / 1.101 GB, free: 4.195 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.913e-05/0.3138, allocations: 8 kB / 1.101 GB, free: 4.188 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.216e-05/0.3139, allocations: 12 kB / 1.101 GB, free: 4.176 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003961/0.3143, allocations: 233.5 kB / 1.101 GB, free: 3.949 MB / 0.8575 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.003541/0.3178, allocations: 2.447 MB / 1.103 GB, free: 1.312 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009766/0.3188, allocations: 398.5 kB / 1.104 GB, free: 0.9141 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001974/0.319, allocations: 136.7 kB / 1.104 GB, free: 0.7773 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.476e-05/0.319, allocations: 8.297 kB / 1.104 GB, free: 0.7695 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.608e-05/0.3191, allocations: 38.5 kB / 1.104 GB, free: 0.7227 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=18): time 3.627e-06/0.3191, allocations: 7.938 kB / 1.104 GB, free: 0.7148 MB / 0.8575 GB Notification: Performance of matching and sorting (n=18): time 0.001005/0.3201, allocations: 0.5352 MB / 1.104 GB, free: 156 kB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.618e-05/0.3202, allocations: 51.41 kB / 1.105 GB, free: 92 kB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00119/0.3214, allocations: 0.9336 MB / 1.105 GB, free: 15.14 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 4.35e-05/0.3214, allocations: 37.7 kB / 1.105 GB, free: 15.1 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002418/0.3217, allocations: 300.5 kB / 1.106 GB, free: 14.8 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 6.945e-05/0.3218, allocations: 70.95 kB / 1.106 GB, free: 14.73 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001626/0.3219, allocations: 122.2 kB / 1.106 GB, free: 14.61 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001647/0.3221, allocations: 390.6 kB / 1.106 GB, free: 14.22 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003482/0.3225, allocations: 236.9 kB / 1.107 GB, free: 13.98 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005193/0.323, allocations: 0.4974 MB / 1.107 GB, free: 13.36 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008246/0.3238, allocations: 0.7048 MB / 1.108 GB, free: 12.53 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.478e-06/0.3238, allocations: 4 kB / 1.108 GB, free: 12.52 MB / 0.8731 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001161/0.325, allocations: 0.8158 MB / 1.109 GB, free: 11.69 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 3.182e-05/0.325, allocations: 8.156 kB / 1.109 GB, free: 11.68 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.251e-05/0.3251, allocations: 12 kB / 1.109 GB, free: 11.67 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002113/0.3253, allocations: 52.81 kB / 1.109 GB, free: 11.62 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004367/0.3257, allocations: 139.7 kB / 1.109 GB, free: 11.48 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001246/0.327, allocations: 1.535 MB / 1.11 GB, free: 9.809 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006259/0.3276, allocations: 127.2 kB / 1.11 GB, free: 9.684 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.72e-05/0.3277, allocations: 31.94 kB / 1.11 GB, free: 9.652 MB / 0.8731 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.0003615/0.328, allocations: 337.6 kB / 1.111 GB, free: 9.312 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.945e-05/0.3281, allocations: 63.19 kB / 1.111 GB, free: 9.25 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.763e-05/0.3282, allocations: 70 kB / 1.111 GB, free: 9.168 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.3282, allocations: 0 / 1.111 GB, free: 9.168 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/0.3283, allocations: 0 / 1.111 GB, free: 9.168 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.3283, allocations: 3.984 kB / 1.111 GB, free: 9.164 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006456/0.3289, allocations: 0.583 MB / 1.111 GB, free: 8.531 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.3289, allocations: 3.984 kB / 1.111 GB, free: 8.527 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002453/0.3292, allocations: 59.83 kB / 1.111 GB, free: 8.469 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001256/0.3293, allocations: 44.81 kB / 1.111 GB, free: 8.422 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.328e-05/0.3294, allocations: 8 kB / 1.111 GB, free: 8.414 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00108/0.3304, allocations: 1.511 MB / 1.113 GB, free: 6.766 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/0.3305, allocations: 4.031 kB / 1.113 GB, free: 6.762 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007288/0.3312, allocations: 0.5677 MB / 1.114 GB, free: 6.176 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002457/0.3314, allocations: 200.2 kB / 1.114 GB, free: 5.961 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.834e-05/0.3315, allocations: 15.92 kB / 1.114 GB, free: 5.945 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003839/0.3319, allocations: 51.86 kB / 1.114 GB, free: 5.895 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.194e-05/0.332, allocations: 11.92 kB / 1.114 GB, free: 5.883 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.344e-05/0.332, allocations: 8 kB / 1.114 GB, free: 5.875 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0008259/0.3328, allocations: 0.659 MB / 1.114 GB, free: 5.223 MB / 0.8731 GB Notification: Performance of sort global known variables: time 2.11e-07/0.3328, allocations: 4 kB / 1.114 GB, free: 5.219 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0006268/0.3335, allocations: 183.8 kB / 1.115 GB, free: 5.039 MB / 0.8731 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.0001166/0.3336, allocations: 99.25 kB / 1.115 GB, free: 4.934 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0008634/0.3345, allocations: 0.5821 MB / 1.115 GB, free: 4.34 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.3345, allocations: 0 / 1.115 GB, free: 4.34 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0003029/0.3348, allocations: 242.5 kB / 1.116 GB, free: 4.09 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008055/0.3356, allocations: 194.2 kB / 1.116 GB, free: 3.906 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00192/0.3375, allocations: 1.498 MB / 1.117 GB, free: 2.379 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006249/0.3382, allocations: 1.018 MB / 1.118 GB, free: 1.332 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0003626/0.3385, allocations: 180.5 kB / 1.118 GB, free: 1.156 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001109/0.3387, allocations: 39.44 kB / 1.118 GB, free: 1.117 MB / 0.8731 GB Notification: Performance of SimCode: time 2.31e-07/0.3387, allocations: 0 / 1.118 GB, free: 1.117 MB / 0.8731 GB Notification: Performance of Templates: time 0.01431/0.353, allocations: 8.518 MB / 1.127 GB, free: 8.711 MB / 0.8887 GB make -j1 -f Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.makefile (rm -f Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.sim & ./Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_HeatTransfer_Examples_ConductorMultiLayer2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches