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.001006/0.001006, allocations: 97.64 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.008799/0.008799, allocations: 169.3 kB / 16.26 MB, free: 6.328 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.368/1.368, allocations: 223.3 MB / 240.3 MB, free: 5.359 MB / 190.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.675/2.675, allocations: 437.8 MB / 0.7121 GB, free: 7.016 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0005821/0.0005821, allocations: 12 kB / 0.8728 GB, free: 3.316 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6674/0.668, allocations: 153.8 MB / 1.023 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorMultiLayer): time 0.00283/0.6709, allocations: 2.414 MB / 1.025 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.00379/0.6747, allocations: 2.764 MB / 1.028 GB, free: 10.66 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000251/0.675, allocations: 7.938 kB / 1.028 GB, free: 10.65 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.00153/0.6765, allocations: 454.4 kB / 1.028 GB, free: 10.2 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0005992/0.6771, allocations: 243 kB / 1.029 GB, free: 9.965 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009916/0.6781, allocations: 337.3 kB / 1.029 GB, free: 9.637 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.001966/0.6801, allocations: 1.711 MB / 1.031 GB, free: 7.918 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002236/0.6804, allocations: 129.7 kB / 1.031 GB, free: 7.785 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005735/0.6809, allocations: 398.8 kB / 1.031 GB, free: 7.395 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005423/0.6815, allocations: 390.6 kB / 1.032 GB, free: 7.012 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 5.587e-05/0.6816, allocations: 24 kB / 1.032 GB, free: 6.988 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 7.651e-05/0.6816, allocations: 23.94 kB / 1.032 GB, free: 6.965 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0002466/0.6819, allocations: 231.3 kB / 1.032 GB, free: 6.738 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0003822/0.6823, allocations: 351.9 kB / 1.032 GB, free: 6.387 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0008567/0.6831, allocations: 0.8642 MB / 1.033 GB, free: 5.52 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 6.983e-06/0.6832, allocations: 4 kB / 1.033 GB, free: 5.516 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.553e-06/0.6832, allocations: 3.938 kB / 1.033 GB, free: 5.512 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 9.788e-06/0.6832, allocations: 0 / 1.033 GB, free: 5.512 MB / 0.7794 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.001873/0.6851, allocations: 1.037 MB / 1.034 GB, free: 4.426 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.924e-05/0.6851, allocations: 12.03 kB / 1.034 GB, free: 4.414 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001247/0.6853, allocations: 76 kB / 1.034 GB, free: 4.34 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009272/0.6862, allocations: 0.6525 MB / 1.035 GB, free: 3.645 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.527e-05/0.6862, allocations: 28.94 kB / 1.035 GB, free: 3.617 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.544e-05/0.6863, allocations: 40.38 kB / 1.035 GB, free: 3.578 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006079/0.6869, allocations: 378.8 kB / 1.035 GB, free: 3.188 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.259e-05/0.687, allocations: 0 / 1.035 GB, free: 3.188 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.112e-05/0.687, allocations: 12 kB / 1.035 GB, free: 3.176 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.081e-05/0.687, allocations: 8 kB / 1.035 GB, free: 3.168 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003991/0.6874, allocations: 241.4 kB / 1.035 GB, free: 2.934 MB / 0.7794 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.003491/0.6909, allocations: 2.474 MB / 1.038 GB, free: 276 kB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009542/0.6919, allocations: 398.5 kB / 1.038 GB, free: 15.87 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002678/0.6922, allocations: 144.7 kB / 1.038 GB, free: 15.73 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.474e-05/0.6922, allocations: 0 / 1.038 GB, free: 15.73 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.394e-05/0.6922, allocations: 38.5 kB / 1.038 GB, free: 15.68 MB / 0.795 GB Notification: Performance of pre-optimization done (n=18): time 1.573e-06/0.6922, allocations: 0 / 1.038 GB, free: 15.68 MB / 0.795 GB Notification: Performance of matching and sorting (n=18): time 0.0009344/0.6932, allocations: 0.5386 MB / 1.039 GB, free: 15.11 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.142e-05/0.6932, allocations: 51.41 kB / 1.039 GB, free: 15.05 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001099/0.6943, allocations: 0.9415 MB / 1.04 GB, free: 14.1 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 3.164e-05/0.6944, allocations: 33.7 kB / 1.04 GB, free: 14.06 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002301/0.6946, allocations: 304.4 kB / 1.04 GB, free: 13.76 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 7.911e-05/0.6947, allocations: 67.09 kB / 1.04 GB, free: 13.7 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.365e-05/0.6948, allocations: 65.69 kB / 1.04 GB, free: 13.62 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001571/0.6949, allocations: 390.6 kB / 1.041 GB, free: 13.23 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003496/0.6953, allocations: 240.9 kB / 1.041 GB, free: 13 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000529/0.6958, allocations: 0.5014 MB / 1.041 GB, free: 12.37 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008317/0.6967, allocations: 0.7085 MB / 1.042 GB, free: 11.53 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.207e-06/0.6967, allocations: 0 / 1.042 GB, free: 11.53 MB / 0.795 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001227/0.6979, allocations: 0.8215 MB / 1.043 GB, free: 10.7 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.358e-05/0.698, allocations: 8 kB / 1.043 GB, free: 10.69 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.332e-05/0.698, allocations: 8 kB / 1.043 GB, free: 10.68 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002065/0.6982, allocations: 52.81 kB / 1.043 GB, free: 10.63 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00048/0.6987, allocations: 151.9 kB / 1.043 GB, free: 10.48 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001165/0.6999, allocations: 1.432 MB / 1.045 GB, free: 8.918 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006748/0.7005, allocations: 135.2 kB / 1.045 GB, free: 8.785 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.588e-05/0.7006, allocations: 28 kB / 1.045 GB, free: 8.758 MB / 0.795 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.0003543/0.701, allocations: 337.4 kB / 1.045 GB, free: 8.418 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.724e-05/0.7011, allocations: 59.25 kB / 1.045 GB, free: 8.359 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000113/0.7012, allocations: 70 kB / 1.045 GB, free: 8.285 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.969e-06/0.7012, allocations: 11.94 kB / 1.045 GB, free: 8.273 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.7012, allocations: 0 / 1.045 GB, free: 8.273 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.7012, allocations: 0 / 1.045 GB, free: 8.273 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006626/0.7019, allocations: 0.5791 MB / 1.046 GB, free: 7.645 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.7019, allocations: 0 / 1.046 GB, free: 7.645 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002501/0.7021, allocations: 51.89 kB / 1.046 GB, free: 7.594 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001188/0.7023, allocations: 40.83 kB / 1.046 GB, free: 7.551 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.49e-05/0.7023, allocations: 11.98 kB / 1.046 GB, free: 7.539 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001062/0.7034, allocations: 1.416 MB / 1.047 GB, free: 5.988 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.7034, allocations: 4.156 kB / 1.047 GB, free: 5.984 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007794/0.7042, allocations: 0.5706 MB / 1.048 GB, free: 5.395 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002337/0.7044, allocations: 208.2 kB / 1.048 GB, free: 5.172 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.096e-05/0.7045, allocations: 7.938 kB / 1.048 GB, free: 5.164 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004027/0.7049, allocations: 52.05 kB / 1.048 GB, free: 5.113 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.363e-05/0.705, allocations: 15.97 kB / 1.048 GB, free: 5.098 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.218e-05/0.705, allocations: 12 kB / 1.048 GB, free: 5.086 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0008759/0.7059, allocations: 0.659 MB / 1.049 GB, free: 4.434 MB / 0.795 GB Notification: Performance of sort global known variables: time 3.31e-07/0.7059, allocations: 0 / 1.049 GB, free: 4.434 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0006351/0.7065, allocations: 183.8 kB / 1.049 GB, free: 4.254 MB / 0.795 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.0001486/0.7067, allocations: 115.2 kB / 1.049 GB, free: 4.129 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0009304/0.7076, allocations: 0.5769 MB / 1.05 GB, free: 3.543 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.7076, allocations: 0 / 1.05 GB, free: 3.543 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0003372/0.708, allocations: 251.9 kB / 1.05 GB, free: 3.285 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008829/0.7089, allocations: 166.8 kB / 1.05 GB, free: 3.121 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002377/0.7113, allocations: 1.806 MB / 1.052 GB, free: 1.289 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006579/0.7119, allocations: 1.01 MB / 1.053 GB, free: 256 kB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0004437/0.7124, allocations: 188.5 kB / 1.053 GB, free: 68 kB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001209/0.7125, allocations: 35.44 kB / 1.053 GB, free: 36 kB / 0.795 GB Notification: Performance of SimCode: time 2.976e-06/0.7125, allocations: 0 / 1.053 GB, free: 36 kB / 0.795 GB Notification: Performance of Templates: time 0.01481/0.7273, allocations: 7.961 MB / 1.061 GB, free: 8.188 MB / 0.8106 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