Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.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_9_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_9_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.007274/0.007274, allocations: 96.67 kB / 15.73 MB, free: 5.988 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.001401/0.001401, allocations: 187.8 kB / 16.67 MB, free: 5.918 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.477/1.477, allocations: 222.9 MB / 240.4 MB, free: 4.309 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.511/2.511, allocations: 390.2 MB / 0.6648 GB, free: 216 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001244/0.001244, allocations: 69.83 kB / 0.9508 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3445/0.3458, allocations: 140.4 MB / 1.088 GB, free: 1.508 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorMultiLayer3): time 0.004061/0.3499, allocations: 2.745 MB / 1.091 GB, free: 14.74 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.004215/0.3541, allocations: 2.777 MB / 1.093 GB, free: 11.95 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003299/0.3545, allocations: 11.94 kB / 1.093 GB, free: 11.94 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001467/0.356, allocations: 494 kB / 1.094 GB, free: 11.45 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0005831/0.3566, allocations: 269.9 kB / 1.094 GB, free: 11.19 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001076/0.3577, allocations: 403 kB / 1.094 GB, free: 10.8 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001556/0.3592, allocations: 1.532 MB / 1.096 GB, free: 9.262 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000252/0.3595, allocations: 135.7 kB / 1.096 GB, free: 9.125 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007309/0.3602, allocations: 478.8 kB / 1.096 GB, free: 8.656 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00056/0.3608, allocations: 386.6 kB / 1.097 GB, free: 8.277 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 8.774e-05/0.3609, allocations: 48 kB / 1.097 GB, free: 8.23 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001087/0.361, allocations: 48 kB / 1.097 GB, free: 8.184 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0003136/0.3614, allocations: 279.2 kB / 1.097 GB, free: 7.91 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0004236/0.3618, allocations: 370.2 kB / 1.098 GB, free: 7.547 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001017/0.3628, allocations: 0.9108 MB / 1.098 GB, free: 6.633 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.91e-06/0.3628, allocations: 0 / 1.098 GB, free: 6.633 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.593e-06/0.3628, allocations: 0 / 1.098 GB, free: 6.633 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.42e-05/0.3629, allocations: 0 / 1.098 GB, free: 6.633 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.002251/0.3651, allocations: 1.171 MB / 1.1 GB, free: 5.41 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.993e-05/0.3652, allocations: 15.97 kB / 1.1 GB, free: 5.395 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001304/0.3653, allocations: 76.47 kB / 1.1 GB, free: 5.32 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001117/0.3664, allocations: 0.6804 MB / 1.1 GB, free: 4.598 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.92e-05/0.3665, allocations: 28.94 kB / 1.1 GB, free: 4.57 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.785e-05/0.3666, allocations: 36.38 kB / 1.1 GB, free: 4.535 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006049/0.3672, allocations: 378.8 kB / 1.101 GB, free: 4.141 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.437e-05/0.3672, allocations: 4 kB / 1.101 GB, free: 4.137 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.43e-05/0.3673, allocations: 8 kB / 1.101 GB, free: 4.129 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.088e-05/0.3673, allocations: 8 kB / 1.101 GB, free: 4.121 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004323/0.3677, allocations: 233.5 kB / 1.101 GB, free: 3.895 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.003774/0.3715, allocations: 2.455 MB / 1.103 GB, free: 1.25 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001024/0.3725, allocations: 410.3 kB / 1.104 GB, free: 0.8398 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002103/0.3728, allocations: 140.7 kB / 1.104 GB, free: 0.6992 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.124e-05/0.3728, allocations: 4 kB / 1.104 GB, free: 0.6953 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.423e-05/0.3728, allocations: 30.56 kB / 1.104 GB, free: 0.6562 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=18): time 1.824e-06/0.3728, allocations: 3.938 kB / 1.104 GB, free: 0.6523 MB / 0.8575 GB Notification: Performance of matching and sorting (n=18): time 0.001072/0.3739, allocations: 0.5435 MB / 1.105 GB, free: 84 kB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.575e-05/0.3739, allocations: 51.41 kB / 1.105 GB, free: 20 kB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001318/0.3753, allocations: 0.9337 MB / 1.105 GB, free: 15.07 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 4.495e-05/0.3753, allocations: 37.7 kB / 1.106 GB, free: 15.03 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002548/0.3756, allocations: 304.8 kB / 1.106 GB, free: 14.73 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 9.128e-05/0.3757, allocations: 71.38 kB / 1.106 GB, free: 14.66 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001802/0.3759, allocations: 118.2 kB / 1.106 GB, free: 14.54 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001648/0.376, allocations: 386.7 kB / 1.106 GB, free: 14.15 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003755/0.3764, allocations: 244.9 kB / 1.107 GB, free: 13.91 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005271/0.377, allocations: 0.4975 MB / 1.107 GB, free: 13.29 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008584/0.3778, allocations: 0.6957 MB / 1.108 GB, free: 12.46 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.466e-06/0.3778, allocations: 4 kB / 1.108 GB, free: 12.46 MB / 0.8731 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001268/0.3791, allocations: 0.8197 MB / 1.109 GB, free: 11.63 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.165e-05/0.3792, allocations: 8 kB / 1.109 GB, free: 11.62 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.785e-05/0.3792, allocations: 8 kB / 1.109 GB, free: 11.61 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002497/0.3794, allocations: 61.34 kB / 1.109 GB, free: 11.55 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004643/0.3799, allocations: 135.8 kB / 1.109 GB, free: 11.42 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001348/0.3813, allocations: 1.542 MB / 1.11 GB, free: 9.738 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007037/0.382, allocations: 127.4 kB / 1.11 GB, free: 9.613 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.65e-05/0.382, allocations: 24 kB / 1.11 GB, free: 9.59 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.0004037/0.3825, allocations: 345.3 kB / 1.111 GB, free: 9.242 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001126/0.3826, allocations: 67.52 kB / 1.111 GB, free: 9.176 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001226/0.3827, allocations: 70.09 kB / 1.111 GB, free: 9.094 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/0.3827, allocations: 4 kB / 1.111 GB, free: 9.09 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.3827, allocations: 3.984 kB / 1.111 GB, free: 9.086 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.407e-06/0.3827, allocations: 0 / 1.111 GB, free: 9.086 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007271/0.3835, allocations: 0.5753 MB / 1.111 GB, free: 8.461 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.3835, allocations: 0 / 1.111 GB, free: 8.461 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002587/0.3837, allocations: 51.91 kB / 1.111 GB, free: 8.41 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001339/0.3839, allocations: 48.75 kB / 1.112 GB, free: 8.359 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.855e-05/0.3839, allocations: 8 kB / 1.112 GB, free: 8.352 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001168/0.3851, allocations: 1.523 MB / 1.113 GB, free: 6.691 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.3851, allocations: 0 / 1.113 GB, free: 6.691 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007779/0.3859, allocations: 0.5721 MB / 1.114 GB, free: 6.102 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003234/0.3862, allocations: 196.7 kB / 1.114 GB, free: 5.891 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.439e-05/0.3863, allocations: 20.11 kB / 1.114 GB, free: 5.871 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004165/0.3868, allocations: 55.8 kB / 1.114 GB, free: 5.816 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.448e-05/0.3868, allocations: 11.98 kB / 1.114 GB, free: 5.805 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.197e-05/0.3868, allocations: 4 kB / 1.114 GB, free: 5.801 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0008664/0.3877, allocations: 0.659 MB / 1.115 GB, free: 5.148 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3877, allocations: 0 / 1.115 GB, free: 5.148 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0006605/0.3884, allocations: 187.8 kB / 1.115 GB, free: 4.965 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.000131/0.3885, allocations: 111.2 kB / 1.115 GB, free: 4.848 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0009269/0.3895, allocations: 0.5739 MB / 1.115 GB, free: 4.262 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.3895, allocations: 0 / 1.115 GB, free: 4.262 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0003214/0.3898, allocations: 250.5 kB / 1.116 GB, free: 4.004 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008517/0.3907, allocations: 177.4 kB / 1.116 GB, free: 3.836 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002316/0.393, allocations: 1.53 MB / 1.117 GB, free: 2.277 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007233/0.3937, allocations: 1.01 MB / 1.118 GB, free: 1.238 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0004396/0.3942, allocations: 184.5 kB / 1.118 GB, free: 1.059 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000137/0.3943, allocations: 35.44 kB / 1.118 GB, free: 1.023 MB / 0.8731 GB Notification: Performance of SimCode: time 5.1e-07/0.3943, allocations: 0 / 1.118 GB, free: 1.023 MB / 0.8731 GB Notification: Performance of Templates: time 0.01629/0.4106, allocations: 8.526 MB / 1.127 GB, free: 8.609 MB / 0.8887 GB make -j1 -f Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.makefile (rm -f Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.sim & ./Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer3_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_HeatTransfer_Examples_ConductorMultiLayer3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches