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.002052/0.002052, allocations: 107.4 kB / 16.41 MB, free: 6.492 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.002286/0.002287, allocations: 188.2 kB / 17.34 MB, free: 5.762 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.684/2.684, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 4.833/4.833, allocations: 437 MB / 0.7112 GB, free: 4.418 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002428/0.002429, allocations: 63.89 kB / 1.019 GB, free: 9.496 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.481/1.484, allocations: 151.6 MB / 1.167 GB, free: 3.875 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorMultiLayer3): time 0.008333/1.492, allocations: 2.74 MB / 1.17 GB, free: 1.113 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.007338/1.5, allocations: 2.784 MB / 1.173 GB, free: 14.32 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008081/1.501, allocations: 4 kB / 1.173 GB, free: 14.32 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.003139/1.504, allocations: 499 kB / 1.173 GB, free: 13.83 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.001331/1.505, allocations: 254.8 kB / 1.173 GB, free: 13.58 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.002375/1.508, allocations: 407.8 kB / 1.174 GB, free: 13.18 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.003608/1.511, allocations: 1.529 MB / 1.175 GB, free: 11.65 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004585/1.512, allocations: 138.3 kB / 1.175 GB, free: 11.5 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001626/1.513, allocations: 478.7 kB / 1.176 GB, free: 11.04 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001319/1.515, allocations: 378.6 kB / 1.176 GB, free: 10.66 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.000242/1.515, allocations: 48 kB / 1.176 GB, free: 10.62 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000312/1.515, allocations: 52 kB / 1.176 GB, free: 10.57 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0006086/1.516, allocations: 275.2 kB / 1.177 GB, free: 10.3 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.001013/1.517, allocations: 370.2 kB / 1.177 GB, free: 9.934 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.002045/1.519, allocations: 0.9185 MB / 1.178 GB, free: 9.012 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 8.236e-06/1.519, allocations: 0 / 1.178 GB, free: 9.012 MB / 0.9044 GB Notification: Performance of FrontEnd: time 3.115e-06/1.519, allocations: 0 / 1.178 GB, free: 9.012 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 4.766e-05/1.519, allocations: 0 / 1.178 GB, free: 9.012 MB / 0.9044 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.004647/1.524, allocations: 1.171 MB / 1.179 GB, free: 7.789 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 6.954e-05/1.524, allocations: 8.031 kB / 1.179 GB, free: 7.781 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004434/1.524, allocations: 84.42 kB / 1.179 GB, free: 7.699 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002249/1.527, allocations: 0.6842 MB / 1.18 GB, free: 6.977 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.095e-05/1.527, allocations: 28.94 kB / 1.18 GB, free: 6.949 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001535/1.527, allocations: 40.36 kB / 1.18 GB, free: 6.91 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00111/1.528, allocations: 374.8 kB / 1.18 GB, free: 6.523 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.028e-05/1.528, allocations: 0 / 1.18 GB, free: 6.523 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.637e-05/1.528, allocations: 19.98 kB / 1.18 GB, free: 6.504 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.676e-05/1.528, allocations: 11.94 kB / 1.18 GB, free: 6.492 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007366/1.529, allocations: 229.5 kB / 1.18 GB, free: 6.27 MB / 0.9044 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.007178/1.536, allocations: 2.455 MB / 1.183 GB, free: 3.625 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001732/1.538, allocations: 394.5 kB / 1.183 GB, free: 3.23 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003621/1.538, allocations: 139.2 kB / 1.183 GB, free: 3.094 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.761e-05/1.538, allocations: 3.906 kB / 1.183 GB, free: 3.09 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002276/1.538, allocations: 38.56 kB / 1.183 GB, free: 3.043 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=18): time 5.2e-06/1.539, allocations: 4 kB / 1.183 GB, free: 3.039 MB / 0.9044 GB Notification: Performance of matching and sorting (n=18): time 0.002077/1.541, allocations: 0.5341 MB / 1.184 GB, free: 2.477 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.017e-05/1.541, allocations: 55.41 kB / 1.184 GB, free: 2.41 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002738/1.543, allocations: 0.9376 MB / 1.185 GB, free: 1.465 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 9.65e-05/1.544, allocations: 37.7 kB / 1.185 GB, free: 1.422 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004644/1.544, allocations: 296.8 kB / 1.185 GB, free: 1.129 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001788/1.544, allocations: 75.38 kB / 1.185 GB, free: 1.055 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003394/1.545, allocations: 126.2 kB / 1.185 GB, free: 0.9258 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0003912/1.545, allocations: 382.7 kB / 1.186 GB, free: 0.543 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006613/1.546, allocations: 240.9 kB / 1.186 GB, free: 308 kB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009779/1.547, allocations: 0.5051 MB / 1.186 GB, free: 15.67 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001576/1.548, allocations: 0.7004 MB / 1.187 GB, free: 14.84 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.714e-05/1.548, allocations: 11.94 kB / 1.187 GB, free: 14.83 MB / 0.92 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.002459/1.551, allocations: 0.8165 MB / 1.188 GB, free: 14.01 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 3.528e-05/1.551, allocations: 16.16 kB / 1.188 GB, free: 13.99 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.762e-05/1.551, allocations: 8 kB / 1.188 GB, free: 13.98 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003703/1.551, allocations: 52.83 kB / 1.188 GB, free: 13.93 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008606/1.552, allocations: 139.8 kB / 1.188 GB, free: 13.79 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002194/1.554, allocations: 1.551 MB / 1.19 GB, free: 12.1 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001455/1.556, allocations: 119.4 kB / 1.19 GB, free: 11.98 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001044/1.556, allocations: 28 kB / 1.19 GB, free: 11.96 MB / 0.92 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.0007903/1.557, allocations: 341.6 kB / 1.19 GB, free: 11.61 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003539/1.557, allocations: 71.47 kB / 1.19 GB, free: 11.54 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002879/1.557, allocations: 70 kB / 1.19 GB, free: 11.46 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.756e-05/1.557, allocations: 4 kB / 1.19 GB, free: 11.46 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.317e-06/1.557, allocations: 0 / 1.19 GB, free: 11.46 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/1.557, allocations: 0 / 1.19 GB, free: 11.46 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001349/1.559, allocations: 0.5752 MB / 1.191 GB, free: 10.84 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.263e-06/1.559, allocations: 0 / 1.191 GB, free: 10.84 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004396/1.559, allocations: 59.89 kB / 1.191 GB, free: 10.78 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002636/1.56, allocations: 40.83 kB / 1.191 GB, free: 10.73 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.746e-05/1.56, allocations: 11.98 kB / 1.191 GB, free: 10.72 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002251/1.562, allocations: 1.519 MB / 1.192 GB, free: 9.066 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.861e-06/1.562, allocations: 7.938 kB / 1.192 GB, free: 9.059 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001484/1.563, allocations: 0.5805 MB / 1.193 GB, free: 8.461 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006034/1.564, allocations: 208.6 kB / 1.193 GB, free: 8.238 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002232/1.564, allocations: 8 kB / 1.193 GB, free: 8.23 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008308/1.565, allocations: 47.84 kB / 1.193 GB, free: 8.184 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.228e-05/1.565, allocations: 15.98 kB / 1.193 GB, free: 8.168 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.213e-05/1.565, allocations: 4 kB / 1.193 GB, free: 8.164 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.001868/1.567, allocations: 0.659 MB / 1.194 GB, free: 7.508 MB / 0.92 GB Notification: Performance of sort global known variables: time 5.11e-07/1.567, allocations: 4 kB / 1.194 GB, free: 7.504 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.001548/1.569, allocations: 183.9 kB / 1.194 GB, free: 7.324 MB / 0.92 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.00025/1.569, allocations: 107.2 kB / 1.194 GB, free: 7.211 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.001789/1.571, allocations: 0.5666 MB / 1.195 GB, free: 6.633 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 4.839e-06/1.571, allocations: 0 / 1.195 GB, free: 6.633 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0005731/1.571, allocations: 250.8 kB / 1.195 GB, free: 6.375 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001732/1.573, allocations: 162.9 kB / 1.195 GB, free: 6.215 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004507/1.578, allocations: 1.583 MB / 1.197 GB, free: 4.598 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001287/1.579, allocations: 0.9987 MB / 1.198 GB, free: 3.57 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003259/1.579, allocations: 39.44 kB / 1.198 GB, free: 3.531 MB / 0.92 GB Notification: Performance of SimCode: time 2.435e-06/1.579, allocations: 0 / 1.198 GB, free: 3.531 MB / 0.92 GB Notification: Performance of Templates: time 0.03272/1.612, allocations: 12.37 MB / 1.21 GB, free: 7.203 MB / 0.9356 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches