Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001781/0.001781, allocations: 108 kB / 15.6 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.002637/0.002637, allocations: 196.3 kB / 16.53 MB, free: 6.672 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.464/1.464, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.955/2.955, allocations: 469.8 MB / 0.7424 GB, free: 7.402 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002526/0.002526, allocations: 64.84 kB / 0.9085 GB, free: 34.42 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3545/0.3571, allocations: 159.2 MB / 1.064 GB, free: 14.27 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorMultiLayer3): time 0.004256/0.3614, allocations: 2.741 MB / 1.067 GB, free: 11.5 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.003981/0.3654, allocations: 2.773 MB / 1.069 GB, free: 8.719 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001757/0.3656, allocations: 15.94 kB / 1.069 GB, free: 8.703 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.001484/0.3671, allocations: 0.4941 MB / 1.07 GB, free: 8.207 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0005187/0.3676, allocations: 254.8 kB / 1.07 GB, free: 7.957 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.00101/0.3686, allocations: 396.2 kB / 1.07 GB, free: 7.57 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.001929/0.3706, allocations: 1.529 MB / 1.072 GB, free: 6.039 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002728/0.3709, allocations: 130.3 kB / 1.072 GB, free: 5.91 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006906/0.3716, allocations: 478.8 kB / 1.073 GB, free: 5.441 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006665/0.3722, allocations: 406.5 kB / 1.073 GB, free: 5.043 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 9.151e-05/0.3723, allocations: 52 kB / 1.073 GB, free: 4.992 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000139/0.3725, allocations: 52 kB / 1.073 GB, free: 4.941 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0003068/0.3728, allocations: 263.3 kB / 1.073 GB, free: 4.684 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0004285/0.3732, allocations: 374.2 kB / 1.074 GB, free: 4.316 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0009686/0.3742, allocations: 0.8996 MB / 1.074 GB, free: 3.414 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.83e-06/0.3742, allocations: 0 / 1.074 GB, free: 3.414 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.124e-06/0.3742, allocations: 0 / 1.074 GB, free: 3.414 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.008e-05/0.3742, allocations: 0 / 1.074 GB, free: 3.414 MB / 0.8262 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.002283/0.3765, allocations: 1.156 MB / 1.076 GB, free: 2.207 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.946e-05/0.3766, allocations: 8.031 kB / 1.076 GB, free: 2.199 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001555/0.3768, allocations: 84 kB / 1.076 GB, free: 2.117 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001195/0.378, allocations: 0.6448 MB / 1.076 GB, free: 1.43 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.623e-05/0.378, allocations: 28.94 kB / 1.076 GB, free: 1.398 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.226e-05/0.3781, allocations: 36.38 kB / 1.076 GB, free: 1.363 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006888/0.3788, allocations: 382.8 kB / 1.077 GB, free: 0.9688 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.326e-05/0.3788, allocations: 0 / 1.077 GB, free: 0.9688 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.099e-05/0.3788, allocations: 8 kB / 1.077 GB, free: 0.9609 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.258e-05/0.3789, allocations: 8 kB / 1.077 GB, free: 0.9531 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004269/0.3793, allocations: 245.4 kB / 1.077 GB, free: 0.7148 MB / 0.8262 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.004207/0.3835, allocations: 2.463 MB / 1.079 GB, free: 14.06 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001001/0.3845, allocations: 392 kB / 1.08 GB, free: 13.67 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002266/0.3848, allocations: 141 kB / 1.08 GB, free: 13.53 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.772e-05/0.3848, allocations: 11.94 kB / 1.08 GB, free: 13.52 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.727e-05/0.3848, allocations: 34.47 kB / 1.08 GB, free: 13.47 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=18): time 1.663e-06/0.3848, allocations: 0 / 1.08 GB, free: 13.47 MB / 0.8419 GB Notification: Performance of matching and sorting (n=18): time 0.001085/0.3859, allocations: 0.5234 MB / 1.08 GB, free: 12.92 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.863e-05/0.386, allocations: 63.33 kB / 1.081 GB, free: 12.85 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001385/0.3874, allocations: 0.9336 MB / 1.081 GB, free: 11.9 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 4.572e-05/0.3874, allocations: 45.62 kB / 1.081 GB, free: 11.85 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003135/0.3877, allocations: 300.5 kB / 1.082 GB, free: 11.55 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 9.354e-05/0.3878, allocations: 66.95 kB / 1.082 GB, free: 11.49 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001728/0.388, allocations: 122.2 kB / 1.082 GB, free: 11.36 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0002646/0.3883, allocations: 386.7 kB / 1.082 GB, free: 10.98 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003556/0.3887, allocations: 232.9 kB / 1.083 GB, free: 10.75 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000572/0.3892, allocations: 0.5053 MB / 1.083 GB, free: 10.12 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009093/0.3902, allocations: 0.6946 MB / 1.084 GB, free: 9.293 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.001e-06/0.3902, allocations: 4 kB / 1.084 GB, free: 9.289 MB / 0.8419 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001444/0.3916, allocations: 0.8163 MB / 1.085 GB, free: 8.465 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.39e-05/0.3917, allocations: 12 kB / 1.085 GB, free: 8.453 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.309e-05/0.3917, allocations: 8 kB / 1.085 GB, free: 8.445 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002358/0.3919, allocations: 52.83 kB / 1.085 GB, free: 8.391 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005338/0.3925, allocations: 143.9 kB / 1.085 GB, free: 8.25 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0015/0.394, allocations: 1.542 MB / 1.086 GB, free: 6.57 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007097/0.3947, allocations: 123.2 kB / 1.086 GB, free: 6.449 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.056e-05/0.3947, allocations: 28 kB / 1.086 GB, free: 6.422 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.0004456/0.3952, allocations: 337.5 kB / 1.087 GB, free: 6.082 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001184/0.3953, allocations: 63.19 kB / 1.087 GB, free: 6.02 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001271/0.3955, allocations: 66 kB / 1.087 GB, free: 5.945 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.3955, allocations: 8.062 kB / 1.087 GB, free: 5.938 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/0.3955, allocations: 4 kB / 1.087 GB, free: 5.934 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.576e-06/0.3955, allocations: 0 / 1.087 GB, free: 5.934 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007449/0.3962, allocations: 0.5791 MB / 1.087 GB, free: 5.305 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.3962, allocations: 0 / 1.087 GB, free: 5.305 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000252/0.3965, allocations: 59.83 kB / 1.087 GB, free: 5.246 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001324/0.3966, allocations: 36.83 kB / 1.087 GB, free: 5.207 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.624e-05/0.3967, allocations: 15.98 kB / 1.088 GB, free: 5.191 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001497/0.3982, allocations: 1.519 MB / 1.089 GB, free: 3.535 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.3982, allocations: 0 / 1.089 GB, free: 3.535 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009209/0.3991, allocations: 0.5634 MB / 1.09 GB, free: 2.953 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003152/0.3995, allocations: 200.3 kB / 1.09 GB, free: 2.738 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.82e-05/0.3995, allocations: 12.06 kB / 1.09 GB, free: 2.727 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003866/0.3999, allocations: 51.73 kB / 1.09 GB, free: 2.676 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.817e-05/0.4, allocations: 19.92 kB / 1.09 GB, free: 2.656 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.627e-05/0.4, allocations: 7.984 kB / 1.09 GB, free: 2.648 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.001112/0.4012, allocations: 0.659 MB / 1.09 GB, free: 1.996 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4012, allocations: 0 / 1.09 GB, free: 1.996 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0008473/0.402, allocations: 183.8 kB / 1.091 GB, free: 1.816 MB / 0.8419 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.0001996/0.4022, allocations: 111.2 kB / 1.091 GB, free: 1.699 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001193/0.4034, allocations: 0.5973 MB / 1.091 GB, free: 1.09 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.4034, allocations: 0 / 1.091 GB, free: 1.09 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.000356/0.4038, allocations: 242.5 kB / 1.092 GB, free: 0.8398 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008628/0.4047, allocations: 182.4 kB / 1.092 GB, free: 0.6641 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002852/0.4075, allocations: 1.525 MB / 1.093 GB, free: 15.11 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009024/0.4085, allocations: 1.01 MB / 1.094 GB, free: 14.07 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0004565/0.4089, allocations: 184.5 kB / 1.094 GB, free: 13.89 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001276/0.4091, allocations: 35.44 kB / 1.094 GB, free: 13.86 MB / 0.8575 GB Notification: Performance of SimCode: time 4.71e-07/0.4091, allocations: 0 / 1.094 GB, free: 13.86 MB / 0.8575 GB Notification: Performance of Templates: time 0.01712/0.4262, allocations: 8.417 MB / 1.103 GB, free: 5.555 MB / 0.8575 GB make -j1 -f Buildings_11_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.makefile (rm -f Buildings_11_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.pipe ; mkfifo Buildings_11_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.pipe ; head -c 1048576 < Buildings_11_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.pipe >> ../files/Buildings_11_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.sim & ./Buildings_11_Buildings.HeatTransfer.Examples.ConductorMultiLayer3 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.HeatTransfer.Examples.ConductorMultiLayer3_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_HeatTransfer_Examples_ConductorMultiLayer3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches