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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.006173/0.006173, allocations: 96.7 kB / 15.73 MB, free: 6.043 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.001208/0.001208, allocations: 196.2 kB / 16.67 MB, free: 5.969 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.405/1.405, allocations: 222.9 MB / 240.4 MB, free: 4.285 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.653/2.653, allocations: 437 MB / 0.7105 GB, free: 5.039 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001274/0.001274, allocations: 63.91 kB / 1.019 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3056/0.3069, allocations: 151.6 MB / 1.167 GB, free: 6.84 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorMultiLayer3): time 0.005263/0.3122, allocations: 2.74 MB / 1.169 GB, free: 4.07 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.004317/0.3165, allocations: 2.785 MB / 1.172 GB, free: 1.273 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003643/0.3169, allocations: 7.938 kB / 1.172 GB, free: 1.266 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.001528/0.3185, allocations: 498 kB / 1.172 GB, free: 0.7773 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0006521/0.3192, allocations: 262.8 kB / 1.173 GB, free: 0.5195 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.001075/0.3202, allocations: 395 kB / 1.173 GB, free: 136 kB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.001973/0.3222, allocations: 1.528 MB / 1.175 GB, free: 14.6 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003007/0.3225, allocations: 143.5 kB / 1.175 GB, free: 14.45 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007641/0.3233, allocations: 478.8 kB / 1.175 GB, free: 13.98 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007982/0.3241, allocations: 382.6 kB / 1.176 GB, free: 13.61 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0001371/0.3243, allocations: 48 kB / 1.176 GB, free: 13.56 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001576/0.3244, allocations: 52 kB / 1.176 GB, free: 13.51 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0003096/0.3248, allocations: 279.2 kB / 1.176 GB, free: 13.24 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0003992/0.3252, allocations: 374.2 kB / 1.176 GB, free: 12.87 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0009046/0.3261, allocations: 0.9108 MB / 1.177 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.3261, allocations: 0 / 1.177 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.703e-06/0.3261, allocations: 0 / 1.177 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.713e-05/0.3261, allocations: 4 kB / 1.177 GB, free: 11.95 MB / 0.9356 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.002143/0.3283, allocations: 1.171 MB / 1.178 GB, free: 10.73 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.687e-05/0.3283, allocations: 8.031 kB / 1.178 GB, free: 10.72 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001427/0.3285, allocations: 84.42 kB / 1.178 GB, free: 10.64 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001093/0.3296, allocations: 0.6765 MB / 1.179 GB, free: 9.926 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.313e-05/0.3296, allocations: 28.88 kB / 1.179 GB, free: 9.898 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.395e-05/0.3297, allocations: 48.36 kB / 1.179 GB, free: 9.852 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005984/0.3303, allocations: 378.8 kB / 1.179 GB, free: 9.457 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.252e-05/0.3303, allocations: 0 / 1.179 GB, free: 9.457 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.613e-05/0.3304, allocations: 8 kB / 1.179 GB, free: 9.449 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.806e-06/0.3304, allocations: 4 kB / 1.179 GB, free: 9.445 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000377/0.3308, allocations: 237.5 kB / 1.18 GB, free: 9.215 MB / 0.9356 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.003471/0.3342, allocations: 2.447 MB / 1.182 GB, free: 6.578 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009943/0.3352, allocations: 404.4 kB / 1.182 GB, free: 6.176 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002224/0.3355, allocations: 141 kB / 1.183 GB, free: 6.035 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.536e-05/0.3355, allocations: 7.906 kB / 1.183 GB, free: 6.027 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.281e-05/0.3355, allocations: 38.55 kB / 1.183 GB, free: 5.98 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=18): time 1.302e-06/0.3356, allocations: 0 / 1.183 GB, free: 5.98 MB / 0.9356 GB Notification: Performance of matching and sorting (n=18): time 0.001016/0.3366, allocations: 0.5317 MB / 1.183 GB, free: 5.422 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.421e-05/0.3366, allocations: 55.41 kB / 1.183 GB, free: 5.355 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001228/0.3379, allocations: 0.9415 MB / 1.184 GB, free: 4.406 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.432e-05/0.3379, allocations: 29.7 kB / 1.184 GB, free: 4.371 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002682/0.3382, allocations: 304.8 kB / 1.184 GB, free: 4.07 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 8.059e-05/0.3383, allocations: 71.44 kB / 1.185 GB, free: 4 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001727/0.3385, allocations: 126.1 kB / 1.185 GB, free: 3.871 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001979/0.3387, allocations: 382.7 kB / 1.185 GB, free: 3.488 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003432/0.339, allocations: 240.9 kB / 1.185 GB, free: 3.25 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004939/0.3395, allocations: 0.5012 MB / 1.186 GB, free: 2.625 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007753/0.3403, allocations: 0.7088 MB / 1.186 GB, free: 1.789 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.861e-06/0.3403, allocations: 4 kB / 1.186 GB, free: 1.785 MB / 0.9356 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001188/0.3415, allocations: 0.8181 MB / 1.187 GB, free: 0.957 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.119e-05/0.3415, allocations: 8 kB / 1.187 GB, free: 0.9492 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.542e-05/0.3416, allocations: 12 kB / 1.187 GB, free: 0.9375 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002156/0.3418, allocations: 48.83 kB / 1.187 GB, free: 0.8867 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004557/0.3422, allocations: 139.8 kB / 1.187 GB, free: 0.75 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001277/0.3435, allocations: 1.55 MB / 1.189 GB, free: 15.06 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006124/0.3442, allocations: 127.4 kB / 1.189 GB, free: 14.94 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.834e-05/0.3442, allocations: 31.94 kB / 1.189 GB, free: 14.91 MB / 0.9512 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.0003977/0.3446, allocations: 345.3 kB / 1.189 GB, free: 14.56 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001239/0.3447, allocations: 71.47 kB / 1.19 GB, free: 14.49 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000134/0.3449, allocations: 66 kB / 1.19 GB, free: 14.41 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.3449, allocations: 0 / 1.19 GB, free: 14.41 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.3449, allocations: 4 kB / 1.19 GB, free: 14.41 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/0.3449, allocations: 8.047 kB / 1.19 GB, free: 14.4 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006442/0.3456, allocations: 0.5675 MB / 1.19 GB, free: 13.79 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.3456, allocations: 0 / 1.19 GB, free: 13.79 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002377/0.3458, allocations: 51.89 kB / 1.19 GB, free: 13.73 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001224/0.3459, allocations: 36.83 kB / 1.19 GB, free: 13.7 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.599e-05/0.346, allocations: 11.98 kB / 1.19 GB, free: 13.68 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001112/0.3471, allocations: 1.527 MB / 1.192 GB, free: 12.02 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.3471, allocations: 4.156 kB / 1.192 GB, free: 12.01 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007288/0.3478, allocations: 0.5797 MB / 1.192 GB, free: 11.41 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003083/0.3482, allocations: 196.7 kB / 1.192 GB, free: 11.2 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.974e-05/0.3482, allocations: 11.98 kB / 1.192 GB, free: 11.19 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003816/0.3486, allocations: 43.86 kB / 1.193 GB, free: 11.15 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.684e-05/0.3487, allocations: 19.98 kB / 1.193 GB, free: 11.13 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.149e-05/0.3487, allocations: 0 / 1.193 GB, free: 11.13 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0008306/0.3496, allocations: 0.6668 MB / 1.193 GB, free: 10.46 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.71e-07/0.3496, allocations: 0 / 1.193 GB, free: 10.46 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0006291/0.3502, allocations: 175.9 kB / 1.193 GB, free: 10.29 MB / 0.9512 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.0001301/0.3503, allocations: 111.1 kB / 1.193 GB, free: 10.18 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0008573/0.3512, allocations: 0.5731 MB / 1.194 GB, free: 9.594 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.3512, allocations: 320 / 1.194 GB, free: 9.594 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0003096/0.3515, allocations: 254.5 kB / 1.194 GB, free: 9.332 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007897/0.3523, allocations: 170.9 kB / 1.194 GB, free: 9.168 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002091/0.3544, allocations: 1.541 MB / 1.196 GB, free: 7.598 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005916/0.355, allocations: 1.007 MB / 1.197 GB, free: 6.562 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.000376/0.3554, allocations: 180.5 kB / 1.197 GB, free: 6.383 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001141/0.3555, allocations: 39.44 kB / 1.197 GB, free: 6.344 MB / 0.9512 GB Notification: Performance of SimCode: time 4.11e-07/0.3556, allocations: 0 / 1.197 GB, free: 6.344 MB / 0.9512 GB Notification: Performance of Templates: time 0.01501/0.3706, allocations: 8.521 MB / 1.205 GB, free: 13.94 MB / 0.9669 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches