Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.HeatTransfer.Examples.ConductorMultiLayer.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.ConductorMultiLayer,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.ConductorMultiLayer") translateModel(Buildings.HeatTransfer.Examples.ConductorMultiLayer,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.ConductorMultiLayer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00704/0.00704, allocations: 102.8 kB / 15.74 MB, free: 5.551 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.001531/0.001531, allocations: 195.6 kB / 16.67 MB, free: 5.48 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.418/1.418, allocations: 222.9 MB / 240.4 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 2.432/2.432, allocations: 437 MB / 0.7105 GB, free: 4.395 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001434/0.001434, allocations: 67.84 kB / 1.018 GB, free: 9.453 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9152/0.9167, allocations: 151.6 MB / 1.167 GB, free: 3.852 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorMultiLayer): time 0.004302/0.921, allocations: 2.738 MB / 1.169 GB, free: 1.094 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.004046/0.9251, allocations: 2.789 MB / 1.172 GB, free: 14.3 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002549/0.9254, allocations: 4 kB / 1.172 GB, free: 14.29 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.00158/0.927, allocations: 494.1 kB / 1.172 GB, free: 13.81 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0005848/0.9276, allocations: 258.8 kB / 1.173 GB, free: 13.55 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009434/0.9285, allocations: 395.5 kB / 1.173 GB, free: 13.17 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.00159/0.9301, allocations: 1.534 MB / 1.175 GB, free: 11.63 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002405/0.9304, allocations: 138.3 kB / 1.175 GB, free: 11.49 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000659/0.9311, allocations: 478.8 kB / 1.175 GB, free: 11.02 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005363/0.9316, allocations: 382.6 kB / 1.176 GB, free: 10.64 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 8.84e-05/0.9317, allocations: 48 kB / 1.176 GB, free: 10.6 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001198/0.9318, allocations: 48 kB / 1.176 GB, free: 10.55 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0003042/0.9321, allocations: 283.2 kB / 1.176 GB, free: 10.27 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0003797/0.9325, allocations: 370.2 kB / 1.176 GB, free: 9.91 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0009373/0.9335, allocations: 0.9107 MB / 1.177 GB, free: 8.996 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.9335, allocations: 4 kB / 1.177 GB, free: 8.992 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.844e-06/0.9335, allocations: 4 kB / 1.177 GB, free: 8.988 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.2e-05/0.9335, allocations: 0 / 1.177 GB, free: 8.988 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.002131/0.9357, allocations: 1.167 MB / 1.178 GB, free: 7.77 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.955e-05/0.9357, allocations: 8.031 kB / 1.178 GB, free: 7.762 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001305/0.9358, allocations: 80.42 kB / 1.178 GB, free: 7.684 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001072/0.9369, allocations: 0.6881 MB / 1.179 GB, free: 6.957 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.738e-05/0.937, allocations: 32.94 kB / 1.179 GB, free: 6.926 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.949e-05/0.937, allocations: 36.38 kB / 1.179 GB, free: 6.891 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005933/0.9376, allocations: 382.8 kB / 1.179 GB, free: 6.496 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.235e-05/0.9376, allocations: 0 / 1.179 GB, free: 6.496 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.734e-05/0.9377, allocations: 8 kB / 1.179 GB, free: 6.488 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.755e-06/0.9377, allocations: 8 kB / 1.179 GB, free: 6.48 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003901/0.9381, allocations: 229.5 kB / 1.18 GB, free: 6.258 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.003557/0.9417, allocations: 2.456 MB / 1.182 GB, free: 3.613 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009819/0.9427, allocations: 402.5 kB / 1.182 GB, free: 3.211 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002024/0.9429, allocations: 137 kB / 1.183 GB, free: 3.074 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.061e-05/0.9429, allocations: 11.91 kB / 1.183 GB, free: 3.062 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.818e-05/0.943, allocations: 34.56 kB / 1.183 GB, free: 3.02 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=18): time 1.433e-06/0.943, allocations: 0 / 1.183 GB, free: 3.02 MB / 0.9044 GB Notification: Performance of matching and sorting (n=18): time 0.001075/0.944, allocations: 0.5404 MB / 1.183 GB, free: 2.453 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.458e-05/0.9441, allocations: 51.41 kB / 1.183 GB, free: 2.391 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001221/0.9453, allocations: 0.9415 MB / 1.184 GB, free: 1.441 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 3.494e-05/0.9454, allocations: 37.7 kB / 1.184 GB, free: 1.398 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002413/0.9456, allocations: 300.8 kB / 1.184 GB, free: 1.102 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 7.423e-05/0.9457, allocations: 71.36 kB / 1.185 GB, free: 1.031 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000173/0.9459, allocations: 122.2 kB / 1.185 GB, free: 0.9062 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001677/0.946, allocations: 382.7 kB / 1.185 GB, free: 0.5234 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003444/0.9464, allocations: 244.8 kB / 1.185 GB, free: 284 kB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005512/0.947, allocations: 0.5051 MB / 1.186 GB, free: 15.65 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008316/0.9478, allocations: 0.7086 MB / 1.186 GB, free: 14.81 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.539e-06/0.9478, allocations: 0 / 1.186 GB, free: 14.81 MB / 0.92 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.00113/0.9489, allocations: 0.8208 MB / 1.187 GB, free: 13.98 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.025e-05/0.949, allocations: 8 kB / 1.187 GB, free: 13.98 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.175e-05/0.949, allocations: 8 kB / 1.187 GB, free: 13.97 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002008/0.9492, allocations: 56.81 kB / 1.187 GB, free: 13.91 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004451/0.9497, allocations: 135.8 kB / 1.187 GB, free: 13.78 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001209/0.9509, allocations: 1.546 MB / 1.189 GB, free: 12.09 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006124/0.9515, allocations: 123.4 kB / 1.189 GB, free: 11.97 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.657e-05/0.9515, allocations: 28 kB / 1.189 GB, free: 11.94 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.0003245/0.9519, allocations: 340.5 kB / 1.189 GB, free: 11.6 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.918e-05/0.952, allocations: 71.47 kB / 1.189 GB, free: 11.53 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.541e-05/0.9521, allocations: 70 kB / 1.19 GB, free: 11.45 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.784e-06/0.9521, allocations: 0 / 1.19 GB, free: 11.45 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.9521, allocations: 4.062 kB / 1.19 GB, free: 11.45 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/0.9521, allocations: 3.984 kB / 1.19 GB, free: 11.45 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006093/0.9527, allocations: 0.5831 MB / 1.19 GB, free: 10.81 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.9527, allocations: 0 / 1.19 GB, free: 10.81 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002431/0.953, allocations: 47.91 kB / 1.19 GB, free: 10.77 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001803/0.9532, allocations: 44.81 kB / 1.19 GB, free: 10.72 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.498e-05/0.9532, allocations: 8 kB / 1.19 GB, free: 10.71 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001199/0.9544, allocations: 1.527 MB / 1.192 GB, free: 9.047 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.442e-06/0.9544, allocations: 8.094 kB / 1.192 GB, free: 9.039 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006884/0.9551, allocations: 0.5659 MB / 1.192 GB, free: 8.453 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003011/0.9554, allocations: 200.6 kB / 1.192 GB, free: 8.238 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.657e-05/0.9555, allocations: 11.98 kB / 1.192 GB, free: 8.227 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003735/0.9559, allocations: 51.86 kB / 1.193 GB, free: 8.176 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.466e-05/0.956, allocations: 11.98 kB / 1.193 GB, free: 8.164 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.319e-05/0.956, allocations: 8 kB / 1.193 GB, free: 8.156 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0007689/0.9567, allocations: 0.659 MB / 1.193 GB, free: 7.5 MB / 0.92 GB Notification: Performance of sort global known variables: time 3.01e-07/0.9568, allocations: 0 / 1.193 GB, free: 7.5 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0006271/0.9574, allocations: 183.9 kB / 1.193 GB, free: 7.32 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.0001245/0.9575, allocations: 107.1 kB / 1.193 GB, free: 7.207 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0008615/0.9584, allocations: 0.5707 MB / 1.194 GB, free: 6.625 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.9584, allocations: 8.062 kB / 1.194 GB, free: 6.617 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0002963/0.9587, allocations: 253 kB / 1.194 GB, free: 6.359 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007611/0.9595, allocations: 174.9 kB / 1.194 GB, free: 6.188 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002053/0.9615, allocations: 1.531 MB / 1.196 GB, free: 4.625 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000574/0.9621, allocations: 1.007 MB / 1.197 GB, free: 3.59 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.0003789/0.9625, allocations: 184.5 kB / 1.197 GB, free: 3.406 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001085/0.9626, allocations: 35.44 kB / 1.197 GB, free: 3.371 MB / 0.92 GB Notification: Performance of SimCode: time 3.81e-07/0.9626, allocations: 0 / 1.197 GB, free: 3.371 MB / 0.92 GB Notification: Performance of Templates: time 0.0149/0.9775, allocations: 8.528 MB / 1.205 GB, free: 10.96 MB / 0.9356 GB make -j1 -f Buildings_10_Buildings.HeatTransfer.Examples.ConductorMultiLayer.makefile (rm -f Buildings_10_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe ; mkfifo Buildings_10_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe ; head -c 1048576 < Buildings_10_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe >> ../files/Buildings_10_Buildings.HeatTransfer.Examples.ConductorMultiLayer.sim & ./Buildings_10_Buildings.HeatTransfer.Examples.ConductorMultiLayer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.HeatTransfer.Examples.ConductorMultiLayer_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_HeatTransfer_Examples_ConductorMultiLayer.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.HeatTransfer.Examples.ConductorMultiLayer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches