Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_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_latest_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.001423/0.001423, allocations: 108 kB / 15.6 MB, free: 132 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.001657/0.001657, allocations: 194 kB / 16.53 MB, free: 6.391 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.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.837/2.837, allocations: 472.6 MB / 0.7451 GB, free: 4.633 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002286/0.002287, allocations: 63.98 kB / 0.912 GB, free: 33.26 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3284/0.3307, allocations: 159.9 MB / 1.068 GB, free: 10.42 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorMultiLayer3): time 0.004013/0.3348, allocations: 2.739 MB / 1.071 GB, free: 7.656 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.003849/0.3387, allocations: 2.78 MB / 1.074 GB, free: 4.867 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002029/0.3389, allocations: 11.94 kB / 1.074 GB, free: 4.855 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.001315/0.3402, allocations: 0.4941 MB / 1.074 GB, free: 4.359 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0004501/0.3407, allocations: 254.9 kB / 1.074 GB, free: 4.109 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007914/0.3415, allocations: 395 kB / 1.075 GB, free: 3.723 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.001409/0.3429, allocations: 1.528 MB / 1.076 GB, free: 2.191 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000222/0.3432, allocations: 134.3 kB / 1.076 GB, free: 2.059 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005735/0.3437, allocations: 470.8 kB / 1.077 GB, free: 1.598 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00053/0.3443, allocations: 406.6 kB / 1.077 GB, free: 1.199 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 8.645e-05/0.3444, allocations: 52 kB / 1.077 GB, free: 1.148 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001273/0.3445, allocations: 55.94 kB / 1.077 GB, free: 1.094 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0002558/0.3448, allocations: 259.3 kB / 1.078 GB, free: 0.8398 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0003414/0.3451, allocations: 378.2 kB / 1.078 GB, free: 480 kB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0007151/0.3458, allocations: 0.8996 MB / 1.079 GB, free: 15.57 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.3459, allocations: 0 / 1.079 GB, free: 15.57 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.313e-06/0.3459, allocations: 0 / 1.079 GB, free: 15.57 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 9.057e-06/0.3459, allocations: 0 / 1.079 GB, free: 15.57 MB / 0.8419 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.001853/0.3477, allocations: 1.159 MB / 1.08 GB, free: 14.36 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.594e-05/0.3478, allocations: 8.031 kB / 1.08 GB, free: 14.35 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001292/0.3479, allocations: 80 kB / 1.08 GB, free: 14.27 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008917/0.3488, allocations: 0.6486 MB / 1.081 GB, free: 13.58 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.86e-05/0.3488, allocations: 32.94 kB / 1.081 GB, free: 13.54 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.288e-05/0.3489, allocations: 36.38 kB / 1.081 GB, free: 13.51 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005307/0.3495, allocations: 378.8 kB / 1.081 GB, free: 13.12 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.839e-06/0.3495, allocations: 4 kB / 1.081 GB, free: 13.11 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.659e-05/0.3495, allocations: 8 kB / 1.081 GB, free: 13.11 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.05e-05/0.3495, allocations: 8 kB / 1.081 GB, free: 13.1 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000365/0.3499, allocations: 233.5 kB / 1.081 GB, free: 12.87 MB / 0.8419 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.003237/0.3531, allocations: 2.455 MB / 1.084 GB, free: 10.22 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009347/0.3541, allocations: 402.3 kB / 1.084 GB, free: 9.82 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002045/0.3543, allocations: 148.7 kB / 1.084 GB, free: 9.672 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.63e-05/0.3543, allocations: 4 kB / 1.084 GB, free: 9.668 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.863e-05/0.3544, allocations: 34.56 kB / 1.084 GB, free: 9.625 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=18): time 2.956e-06/0.3544, allocations: 3.984 kB / 1.084 GB, free: 9.621 MB / 0.8419 GB Notification: Performance of matching and sorting (n=18): time 0.00091/0.3553, allocations: 0.5277 MB / 1.085 GB, free: 9.066 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.187e-05/0.3553, allocations: 59.39 kB / 1.085 GB, free: 8.996 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00107/0.3564, allocations: 0.9414 MB / 1.086 GB, free: 8.047 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 3.114e-05/0.3564, allocations: 41.64 kB / 1.086 GB, free: 8 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002166/0.3567, allocations: 292.5 kB / 1.086 GB, free: 7.711 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 7.939e-05/0.3568, allocations: 74.94 kB / 1.086 GB, free: 7.637 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001491/0.3569, allocations: 122.2 kB / 1.086 GB, free: 7.512 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001468/0.3571, allocations: 378.7 kB / 1.087 GB, free: 7.133 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003213/0.3574, allocations: 236.9 kB / 1.087 GB, free: 6.902 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004657/0.3579, allocations: 0.5014 MB / 1.087 GB, free: 6.27 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000724/0.3586, allocations: 0.7045 MB / 1.088 GB, free: 5.438 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.58e-06/0.3586, allocations: 4 kB / 1.088 GB, free: 5.434 MB / 0.8419 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.0011/0.3597, allocations: 0.8138 MB / 1.089 GB, free: 4.609 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.987e-05/0.3597, allocations: 12 kB / 1.089 GB, free: 4.598 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.09e-05/0.3598, allocations: 8 kB / 1.089 GB, free: 4.59 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001897/0.36, allocations: 52.83 kB / 1.089 GB, free: 4.535 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004395/0.3604, allocations: 139.8 kB / 1.089 GB, free: 4.398 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001139/0.3616, allocations: 1.539 MB / 1.091 GB, free: 2.719 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006268/0.3622, allocations: 123.2 kB / 1.091 GB, free: 2.598 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.338e-05/0.3622, allocations: 28 kB / 1.091 GB, free: 2.57 MB / 0.8419 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.0003851/0.3626, allocations: 341.4 kB / 1.091 GB, free: 2.227 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001048/0.3627, allocations: 63.19 kB / 1.091 GB, free: 2.164 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001055/0.3629, allocations: 66 kB / 1.091 GB, free: 2.094 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/0.3629, allocations: 4 kB / 1.091 GB, free: 2.09 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.3629, allocations: 4.062 kB / 1.091 GB, free: 2.086 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.3629, allocations: 0 / 1.091 GB, free: 2.086 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006599/0.3635, allocations: 0.583 MB / 1.092 GB, free: 1.453 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.3636, allocations: 0 / 1.092 GB, free: 1.453 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002548/0.3638, allocations: 51.89 kB / 1.092 GB, free: 1.402 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000114/0.3639, allocations: 40.83 kB / 1.092 GB, free: 1.359 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.818e-05/0.364, allocations: 11.98 kB / 1.092 GB, free: 1.348 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001109/0.3651, allocations: 1.531 MB / 1.093 GB, free: 15.68 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.3651, allocations: 0 / 1.093 GB, free: 15.68 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007657/0.3659, allocations: 0.566 MB / 1.094 GB, free: 15.09 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002307/0.3661, allocations: 200.3 kB / 1.094 GB, free: 14.88 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.466e-05/0.3662, allocations: 8 kB / 1.094 GB, free: 14.87 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003716/0.3666, allocations: 55.86 kB / 1.094 GB, free: 14.82 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.388e-05/0.3666, allocations: 11.98 kB / 1.094 GB, free: 14.8 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.489e-05/0.3667, allocations: 7.984 kB / 1.094 GB, free: 14.8 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0007762/0.3674, allocations: 0.6629 MB / 1.095 GB, free: 14.14 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3675, allocations: 0 / 1.095 GB, free: 14.14 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0005959/0.3681, allocations: 187.8 kB / 1.095 GB, free: 13.96 MB / 0.8575 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.0001361/0.3682, allocations: 112.3 kB / 1.095 GB, free: 13.84 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0008644/0.3691, allocations: 0.6017 MB / 1.096 GB, free: 13.23 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.3691, allocations: 0 / 1.096 GB, free: 13.23 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0003054/0.3694, allocations: 242.5 kB / 1.096 GB, free: 12.98 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007907/0.3702, allocations: 170.3 kB / 1.096 GB, free: 12.81 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002128/0.3723, allocations: 1.54 MB / 1.098 GB, free: 11.25 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005832/0.3729, allocations: 1.003 MB / 1.098 GB, free: 10.21 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0003963/0.3733, allocations: 184.5 kB / 1.099 GB, free: 10.04 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001151/0.3735, allocations: 35.44 kB / 1.099 GB, free: 10 MB / 0.8575 GB Notification: Performance of SimCode: time 4.2e-07/0.3735, allocations: 0 / 1.099 GB, free: 10 MB / 0.8575 GB Notification: Performance of Templates: time 0.01509/0.3886, allocations: 8.414 MB / 1.107 GB, free: 1.703 MB / 0.8575 GB make -j1 -f Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.makefile (rm -f Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.sim & ./Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer3_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Examples_ConductorMultiLayer3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches