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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.00101/0.00101, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.006787/0.006787, allocations: 168.4 kB / 16.26 MB, free: 6.648 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.393/1.393, allocations: 223.3 MB / 240.3 MB, free: 5.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.815/2.815, allocations: 462.7 MB / 0.7364 GB, free: 284 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0003357/0.0003357, allocations: 8.875 kB / 0.9028 GB, free: 36.62 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3191/0.3195, allocations: 159.6 MB / 1.059 GB, free: 5.516 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorMultiLayer3): time 0.003936/0.3235, allocations: 2.421 MB / 1.061 GB, free: 3.074 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.005119/0.3286, allocations: 2.758 MB / 1.064 GB, free: 316 kB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003324/0.329, allocations: 7.938 kB / 1.064 GB, free: 308 kB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.00159/0.3306, allocations: 462.3 kB / 1.064 GB, free: 15.85 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0005884/0.3312, allocations: 251 kB / 1.064 GB, free: 15.6 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009002/0.3321, allocations: 327.3 kB / 1.065 GB, free: 15.28 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.001794/0.3339, allocations: 1.719 MB / 1.066 GB, free: 13.56 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002251/0.3342, allocations: 131.3 kB / 1.067 GB, free: 13.43 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005467/0.3347, allocations: 402.7 kB / 1.067 GB, free: 13.04 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006038/0.3353, allocations: 390.6 kB / 1.067 GB, free: 12.66 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 5.379e-05/0.3354, allocations: 24 kB / 1.067 GB, free: 12.63 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 7.856e-05/0.3355, allocations: 24 kB / 1.067 GB, free: 12.61 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0002454/0.3357, allocations: 227.3 kB / 1.068 GB, free: 12.39 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0003393/0.3361, allocations: 359.9 kB / 1.068 GB, free: 12.03 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0007369/0.3368, allocations: 0.8564 MB / 1.069 GB, free: 11.17 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.3368, allocations: 4 kB / 1.069 GB, free: 11.16 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.412e-06/0.3368, allocations: 0 / 1.069 GB, free: 11.16 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 8.265e-06/0.3369, allocations: 0 / 1.069 GB, free: 11.16 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.001863/0.3387, allocations: 1.037 MB / 1.07 GB, free: 10.08 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.4e-05/0.3388, allocations: 16.03 kB / 1.07 GB, free: 10.06 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001379/0.3389, allocations: 79.98 kB / 1.07 GB, free: 9.984 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009896/0.3399, allocations: 0.6525 MB / 1.07 GB, free: 9.289 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.679e-05/0.34, allocations: 24.94 kB / 1.07 GB, free: 9.266 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.58e-05/0.34, allocations: 40.38 kB / 1.071 GB, free: 9.227 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006172/0.3407, allocations: 374.9 kB / 1.071 GB, free: 8.84 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.408e-05/0.3407, allocations: 7.938 kB / 1.071 GB, free: 8.832 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.939e-05/0.3407, allocations: 8 kB / 1.071 GB, free: 8.824 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.223e-05/0.3407, allocations: 8 kB / 1.071 GB, free: 8.816 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004115/0.3412, allocations: 237.5 kB / 1.071 GB, free: 8.582 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.003689/0.3449, allocations: 2.475 MB / 1.074 GB, free: 5.918 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009759/0.3459, allocations: 402.5 kB / 1.074 GB, free: 5.516 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002264/0.3461, allocations: 148.7 kB / 1.074 GB, free: 5.367 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.674e-05/0.3461, allocations: 4 kB / 1.074 GB, free: 5.363 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.619e-05/0.3461, allocations: 34.55 kB / 1.074 GB, free: 5.32 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=18): time 1.824e-06/0.3462, allocations: 3.938 kB / 1.074 GB, free: 5.316 MB / 0.8262 GB Notification: Performance of matching and sorting (n=18): time 0.001034/0.3472, allocations: 0.5474 MB / 1.075 GB, free: 4.742 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.837e-05/0.3472, allocations: 55.41 kB / 1.075 GB, free: 4.676 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00125/0.3485, allocations: 0.9298 MB / 1.076 GB, free: 3.738 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.276e-05/0.3485, allocations: 33.7 kB / 1.076 GB, free: 3.699 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002473/0.3488, allocations: 304.4 kB / 1.076 GB, free: 3.398 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 8.971e-05/0.3489, allocations: 67.09 kB / 1.076 GB, free: 3.332 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.409e-05/0.349, allocations: 73.67 kB / 1.076 GB, free: 3.254 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001768/0.3492, allocations: 378.7 kB / 1.076 GB, free: 2.875 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003532/0.3495, allocations: 240.9 kB / 1.077 GB, free: 2.641 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000495/0.35, allocations: 0.5014 MB / 1.077 GB, free: 2.008 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007994/0.3508, allocations: 0.709 MB / 1.078 GB, free: 1.172 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.038e-06/0.3509, allocations: 0 / 1.078 GB, free: 1.172 MB / 0.8262 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001165/0.352, allocations: 0.8178 MB / 1.079 GB, free: 352 kB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.403e-05/0.3521, allocations: 8 kB / 1.079 GB, free: 344 kB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.15e-05/0.3521, allocations: 11.94 kB / 1.079 GB, free: 332 kB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002054/0.3523, allocations: 56.77 kB / 1.079 GB, free: 272 kB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004647/0.3528, allocations: 144 kB / 1.079 GB, free: 128 kB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001164/0.3539, allocations: 1.432 MB / 1.08 GB, free: 14.56 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006782/0.3546, allocations: 127.4 kB / 1.08 GB, free: 14.44 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.027e-05/0.3547, allocations: 28 kB / 1.08 GB, free: 14.41 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.0003716/0.3551, allocations: 341.4 kB / 1.081 GB, free: 14.07 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.724e-05/0.3552, allocations: 59.25 kB / 1.081 GB, free: 14.01 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001164/0.3553, allocations: 66 kB / 1.081 GB, free: 13.93 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.865e-06/0.3553, allocations: 7.938 kB / 1.081 GB, free: 13.93 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.3553, allocations: 7.938 kB / 1.081 GB, free: 13.92 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/0.3553, allocations: 3.984 kB / 1.081 GB, free: 13.91 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006464/0.356, allocations: 0.5791 MB / 1.081 GB, free: 13.29 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.417e-06/0.356, allocations: 4 kB / 1.081 GB, free: 13.28 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002476/0.3562, allocations: 47.95 kB / 1.081 GB, free: 13.23 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000133/0.3564, allocations: 44.81 kB / 1.082 GB, free: 13.19 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.12e-05/0.3564, allocations: 4 kB / 1.082 GB, free: 13.18 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001066/0.3575, allocations: 1.424 MB / 1.083 GB, free: 11.62 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.3575, allocations: 8.141 kB / 1.083 GB, free: 11.62 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007522/0.3583, allocations: 0.5725 MB / 1.083 GB, free: 11.03 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002385/0.3585, allocations: 196.3 kB / 1.084 GB, free: 10.82 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.134e-05/0.3586, allocations: 11.98 kB / 1.084 GB, free: 10.8 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004081/0.359, allocations: 55.86 kB / 1.084 GB, free: 10.75 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.708e-05/0.3591, allocations: 7.984 kB / 1.084 GB, free: 10.74 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.122e-05/0.3591, allocations: 4 kB / 1.084 GB, free: 10.74 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0008452/0.3599, allocations: 0.6629 MB / 1.084 GB, free: 10.08 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.1e-07/0.3599, allocations: 0 / 1.084 GB, free: 10.08 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0006369/0.3606, allocations: 183.8 kB / 1.085 GB, free: 9.902 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.0001354/0.3607, allocations: 107.2 kB / 1.085 GB, free: 9.789 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0009008/0.3616, allocations: 0.5785 MB / 1.085 GB, free: 9.199 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.3616, allocations: 0 / 1.085 GB, free: 9.199 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0003246/0.362, allocations: 255.8 kB / 1.085 GB, free: 8.938 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008358/0.3628, allocations: 166.7 kB / 1.086 GB, free: 8.773 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002197/0.365, allocations: 1.809 MB / 1.087 GB, free: 6.938 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006148/0.3657, allocations: 1.007 MB / 1.088 GB, free: 5.902 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0004405/0.3661, allocations: 184.5 kB / 1.089 GB, free: 5.723 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001235/0.3662, allocations: 39.44 kB / 1.089 GB, free: 5.684 MB / 0.8419 GB Notification: Performance of SimCode: time 7.01e-07/0.3662, allocations: 0 / 1.089 GB, free: 5.684 MB / 0.8419 GB Notification: Performance of Templates: time 0.01415/0.3804, allocations: 7.966 MB / 1.096 GB, free: 13.83 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