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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001381/0.001381, allocations: 109.3 kB / 15.7 MB, free: 128 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.001126/0.001126, allocations: 194.6 kB / 16.63 MB, free: 6.613 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.429/1.429, allocations: 222.9 MB / 240.3 MB, free: 4.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.492/2.492, allocations: 390.3 MB / 0.6648 GB, free: 132 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001245/0.001245, allocations: 71.34 kB / 0.9509 GB, free: 5.582 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3097/0.311, allocations: 140.4 MB / 1.088 GB, free: 1.453 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorMultiLayer2): time 0.004496/0.3155, allocations: 2.741 MB / 1.091 GB, free: 14.69 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.004452/0.32, allocations: 2.785 MB / 1.093 GB, free: 11.89 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002751/0.3203, allocations: 7.938 kB / 1.093 GB, free: 11.88 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001439/0.3217, allocations: 0.4941 MB / 1.094 GB, free: 11.39 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0005031/0.3223, allocations: 254.9 kB / 1.094 GB, free: 11.14 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009829/0.3233, allocations: 399 kB / 1.094 GB, free: 10.75 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001776/0.3251, allocations: 1.532 MB / 1.096 GB, free: 9.211 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002711/0.3254, allocations: 142.2 kB / 1.096 GB, free: 9.066 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006404/0.326, allocations: 466.9 kB / 1.097 GB, free: 8.609 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005107/0.3266, allocations: 386.6 kB / 1.097 GB, free: 8.23 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 8.02e-05/0.3266, allocations: 48 kB / 1.097 GB, free: 8.184 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 9.609e-05/0.3267, allocations: 52 kB / 1.097 GB, free: 8.133 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0003187/0.3271, allocations: 275.2 kB / 1.097 GB, free: 7.863 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0004185/0.3275, allocations: 370.2 kB / 1.098 GB, free: 7.5 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0008291/0.3283, allocations: 0.9113 MB / 1.099 GB, free: 6.586 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.3284, allocations: 0 / 1.099 GB, free: 6.586 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.955e-06/0.3284, allocations: 0 / 1.099 GB, free: 6.586 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.034e-05/0.3284, allocations: 3.938 kB / 1.099 GB, free: 6.582 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.002092/0.3305, allocations: 1.14 MB / 1.1 GB, free: 5.391 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.609e-05/0.3305, allocations: 12.03 kB / 1.1 GB, free: 5.379 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001458/0.3307, allocations: 84 kB / 1.1 GB, free: 5.297 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009627/0.3317, allocations: 0.672 MB / 1.1 GB, free: 4.582 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.611e-05/0.3317, allocations: 36.92 kB / 1.1 GB, free: 4.547 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.978e-05/0.3318, allocations: 36.38 kB / 1.1 GB, free: 4.512 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006046/0.3324, allocations: 374.8 kB / 1.101 GB, free: 4.121 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.203e-05/0.3324, allocations: 0 / 1.101 GB, free: 4.121 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.076e-05/0.3324, allocations: 12 kB / 1.101 GB, free: 4.109 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.014e-05/0.3325, allocations: 12 kB / 1.101 GB, free: 4.098 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000403/0.3329, allocations: 233.5 kB / 1.101 GB, free: 3.871 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.003778/0.3367, allocations: 2.451 MB / 1.103 GB, free: 1.23 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001024/0.3377, allocations: 394.5 kB / 1.104 GB, free: 0.8359 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002088/0.3379, allocations: 140.7 kB / 1.104 GB, free: 0.6953 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.84e-05/0.3379, allocations: 4.312 kB / 1.104 GB, free: 0.6914 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.472e-05/0.338, allocations: 34.5 kB / 1.104 GB, free: 0.6484 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=18): time 1.423e-06/0.338, allocations: 3.938 kB / 1.104 GB, free: 0.6445 MB / 0.8575 GB Notification: Performance of matching and sorting (n=18): time 0.001114/0.3391, allocations: 0.539 MB / 1.105 GB, free: 80 kB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.956e-05/0.3392, allocations: 59.39 kB / 1.105 GB, free: 8 kB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001399/0.3406, allocations: 0.9336 MB / 1.105 GB, free: 15.06 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 3.656e-05/0.3406, allocations: 37.7 kB / 1.106 GB, free: 15.02 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002841/0.3409, allocations: 296.5 kB / 1.106 GB, free: 14.73 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 9.189e-05/0.341, allocations: 70.95 kB / 1.106 GB, free: 14.66 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001894/0.3412, allocations: 126.2 kB / 1.106 GB, free: 14.53 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0003138/0.3415, allocations: 382.7 kB / 1.106 GB, free: 14.14 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003625/0.3419, allocations: 236.9 kB / 1.107 GB, free: 13.91 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005687/0.3425, allocations: 0.5052 MB / 1.107 GB, free: 13.28 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000923/0.3434, allocations: 0.696 MB / 1.108 GB, free: 12.45 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.556e-06/0.3434, allocations: 4 kB / 1.108 GB, free: 12.45 MB / 0.8731 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001284/0.3447, allocations: 0.8155 MB / 1.109 GB, free: 11.62 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.942e-05/0.3447, allocations: 12 kB / 1.109 GB, free: 11.61 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.68e-05/0.3448, allocations: 12.06 kB / 1.109 GB, free: 11.6 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002697/0.345, allocations: 48.83 kB / 1.109 GB, free: 11.55 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004743/0.3455, allocations: 147.7 kB / 1.109 GB, free: 11.41 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001443/0.347, allocations: 1.535 MB / 1.11 GB, free: 9.734 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007064/0.3477, allocations: 123.2 kB / 1.11 GB, free: 9.613 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.722e-05/0.3477, allocations: 28 kB / 1.11 GB, free: 9.586 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.0003782/0.3481, allocations: 347.5 kB / 1.111 GB, free: 9.238 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001082/0.3482, allocations: 63.19 kB / 1.111 GB, free: 9.176 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001157/0.3484, allocations: 66 kB / 1.111 GB, free: 9.098 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.62e-06/0.3484, allocations: 4 kB / 1.111 GB, free: 9.094 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.738e-06/0.3484, allocations: 0 / 1.111 GB, free: 9.094 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.282e-06/0.3484, allocations: 4 kB / 1.111 GB, free: 9.09 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006945/0.3491, allocations: 0.5791 MB / 1.111 GB, free: 8.461 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/0.3491, allocations: 0 / 1.111 GB, free: 8.461 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002595/0.3494, allocations: 63.83 kB / 1.111 GB, free: 8.398 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001304/0.3495, allocations: 36.83 kB / 1.112 GB, free: 8.359 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.591e-05/0.3495, allocations: 11.98 kB / 1.112 GB, free: 8.348 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001234/0.3508, allocations: 1.515 MB / 1.113 GB, free: 6.695 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.3508, allocations: 0 / 1.113 GB, free: 6.695 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007355/0.3515, allocations: 0.5674 MB / 1.114 GB, free: 6.109 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002348/0.3518, allocations: 212.1 kB / 1.114 GB, free: 5.883 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.744e-05/0.3519, allocations: 8 kB / 1.114 GB, free: 5.875 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003698/0.3522, allocations: 43.86 kB / 1.114 GB, free: 5.832 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.513e-05/0.3523, allocations: 15.98 kB / 1.114 GB, free: 5.816 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.238e-05/0.3523, allocations: 7.984 kB / 1.114 GB, free: 5.809 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.000882/0.3532, allocations: 0.6551 MB / 1.114 GB, free: 5.16 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3532, allocations: 3.938 kB / 1.114 GB, free: 5.156 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0006414/0.3539, allocations: 191.8 kB / 1.115 GB, free: 4.969 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.0001344/0.354, allocations: 111.2 kB / 1.115 GB, free: 4.852 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0008996/0.3549, allocations: 0.5751 MB / 1.115 GB, free: 4.266 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.3549, allocations: 0 / 1.115 GB, free: 4.266 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.000358/0.3553, allocations: 248.9 kB / 1.116 GB, free: 4.012 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008306/0.3561, allocations: 171.2 kB / 1.116 GB, free: 3.848 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002171/0.3583, allocations: 1.502 MB / 1.117 GB, free: 2.316 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006793/0.359, allocations: 1.01 MB / 1.118 GB, free: 1.277 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0005392/0.3595, allocations: 180.5 kB / 1.118 GB, free: 1.102 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001156/0.3597, allocations: 39.44 kB / 1.118 GB, free: 1.062 MB / 0.8731 GB Notification: Performance of SimCode: time 2.504e-06/0.3597, allocations: 0 / 1.118 GB, free: 1.062 MB / 0.8731 GB Notification: Performance of Templates: time 0.01468/0.3744, allocations: 8.446 MB / 1.127 GB, free: 8.734 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