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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001116/0.001116, allocations: 98.88 kB / 16.02 MB, free: 76 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.00137/0.00137, allocations: 182.9 kB / 16.92 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.36/1.36, allocations: 223.3 MB / 241 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.684/2.684, allocations: 437.8 MB / 0.7128 GB, free: 7.012 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003704/0.0003707, allocations: 11.98 kB / 0.8735 GB, free: 3.34 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6295/0.6299, allocations: 153.8 MB / 1.024 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorMultiLayer): time 0.002738/0.6327, allocations: 2.418 MB / 1.026 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.003776/0.6365, allocations: 2.75 MB / 1.029 GB, free: 10.69 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002371/0.6367, allocations: 7.938 kB / 1.029 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.001249/0.638, allocations: 458.4 kB / 1.029 GB, free: 10.23 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0005415/0.6386, allocations: 247 kB / 1.029 GB, free: 9.992 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008255/0.6394, allocations: 331.3 kB / 1.03 GB, free: 9.668 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.001816/0.6412, allocations: 1.713 MB / 1.031 GB, free: 7.949 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002164/0.6415, allocations: 129.7 kB / 1.032 GB, free: 7.816 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006424/0.6421, allocations: 402.8 kB / 1.032 GB, free: 7.422 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005708/0.6427, allocations: 394.6 kB / 1.032 GB, free: 7.035 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 5.386e-05/0.6428, allocations: 20 kB / 1.032 GB, free: 7.016 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 7.54e-05/0.6428, allocations: 24 kB / 1.032 GB, free: 6.992 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0002313/0.6431, allocations: 231.2 kB / 1.033 GB, free: 6.766 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0003295/0.6434, allocations: 351.9 kB / 1.033 GB, free: 6.414 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0005934/0.644, allocations: 0.7287 MB / 1.034 GB, free: 5.684 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.644, allocations: 4 kB / 1.034 GB, free: 5.68 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.483e-06/0.644, allocations: 0 / 1.034 GB, free: 5.68 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 9.518e-06/0.644, allocations: 0 / 1.034 GB, free: 5.68 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.001783/0.6458, allocations: 1.037 MB / 1.035 GB, free: 4.594 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.144e-05/0.6459, allocations: 15.97 kB / 1.035 GB, free: 4.578 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001255/0.646, allocations: 76 kB / 1.035 GB, free: 4.504 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009381/0.647, allocations: 0.6487 MB / 1.035 GB, free: 3.812 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.334e-05/0.647, allocations: 24.94 kB / 1.035 GB, free: 3.789 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.204e-05/0.6471, allocations: 40.38 kB / 1.035 GB, free: 3.75 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005723/0.6477, allocations: 378.8 kB / 1.036 GB, free: 3.359 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.21e-05/0.6477, allocations: 4 kB / 1.036 GB, free: 3.355 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.912e-05/0.6477, allocations: 8 kB / 1.036 GB, free: 3.348 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.281e-05/0.6477, allocations: 11.94 kB / 1.036 GB, free: 3.336 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003917/0.6481, allocations: 237.5 kB / 1.036 GB, free: 3.105 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.003554/0.6517, allocations: 2.474 MB / 1.038 GB, free: 452 kB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009768/0.6527, allocations: 398.5 kB / 1.039 GB, free: 44 kB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002463/0.653, allocations: 140.7 kB / 1.039 GB, free: 15.9 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.928e-05/0.653, allocations: 4 kB / 1.039 GB, free: 15.9 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.296e-05/0.653, allocations: 38.5 kB / 1.039 GB, free: 15.85 MB / 0.795 GB Notification: Performance of pre-optimization done (n=18): time 3.336e-06/0.653, allocations: 3.984 kB / 1.039 GB, free: 15.85 MB / 0.795 GB Notification: Performance of matching and sorting (n=18): time 0.001132/0.6542, allocations: 0.5388 MB / 1.039 GB, free: 15.28 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.258e-05/0.6542, allocations: 55.41 kB / 1.04 GB, free: 15.21 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001161/0.6554, allocations: 0.9337 MB / 1.04 GB, free: 14.27 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 4.44e-05/0.6555, allocations: 33.7 kB / 1.04 GB, free: 14.23 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002382/0.6557, allocations: 308.4 kB / 1.041 GB, free: 13.93 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 8.502e-05/0.6558, allocations: 67.09 kB / 1.041 GB, free: 13.86 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.591e-05/0.6559, allocations: 65.69 kB / 1.041 GB, free: 13.79 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001493/0.656, allocations: 382.7 kB / 1.041 GB, free: 13.41 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000337/0.6564, allocations: 244.8 kB / 1.042 GB, free: 13.17 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004836/0.6569, allocations: 0.5014 MB / 1.042 GB, free: 12.54 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007984/0.6577, allocations: 0.7085 MB / 1.043 GB, free: 11.7 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.22e-06/0.6577, allocations: 0 / 1.043 GB, free: 11.7 MB / 0.795 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001304/0.659, allocations: 0.8215 MB / 1.043 GB, free: 10.87 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.21e-05/0.659, allocations: 8 kB / 1.044 GB, free: 10.86 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.556e-05/0.6591, allocations: 8 kB / 1.044 GB, free: 10.86 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000224/0.6593, allocations: 56.81 kB / 1.044 GB, free: 10.8 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004668/0.6598, allocations: 144 kB / 1.044 GB, free: 10.66 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001167/0.6609, allocations: 1.432 MB / 1.045 GB, free: 9.094 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008613/0.6618, allocations: 143.1 kB / 1.045 GB, free: 8.953 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.251e-05/0.6619, allocations: 28 kB / 1.045 GB, free: 8.926 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.0005298/0.6624, allocations: 338 kB / 1.046 GB, free: 8.586 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001089/0.6625, allocations: 63.23 kB / 1.046 GB, free: 8.523 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001209/0.6627, allocations: 66 kB / 1.046 GB, free: 8.453 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.294e-06/0.6627, allocations: 11.94 kB / 1.046 GB, free: 8.441 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.563e-06/0.6627, allocations: 3.938 kB / 1.046 GB, free: 8.438 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.568e-06/0.6627, allocations: 0 / 1.046 GB, free: 8.438 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007476/0.6634, allocations: 0.5791 MB / 1.046 GB, free: 7.809 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.6635, allocations: 0 / 1.046 GB, free: 7.809 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002439/0.6637, allocations: 51.91 kB / 1.046 GB, free: 7.758 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001285/0.6638, allocations: 40.81 kB / 1.046 GB, free: 7.715 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.176e-05/0.6639, allocations: 8 kB / 1.046 GB, free: 7.707 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00108/0.665, allocations: 1.42 MB / 1.048 GB, free: 6.152 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.665, allocations: 8.094 kB / 1.048 GB, free: 6.145 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008119/0.6658, allocations: 0.5706 MB / 1.048 GB, free: 5.555 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002476/0.6661, allocations: 204.2 kB / 1.049 GB, free: 5.336 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.154e-05/0.6661, allocations: 8 kB / 1.049 GB, free: 5.328 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003982/0.6665, allocations: 47.92 kB / 1.049 GB, free: 5.281 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.717e-05/0.6666, allocations: 11.98 kB / 1.049 GB, free: 5.27 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.251e-05/0.6666, allocations: 4 kB / 1.049 GB, free: 5.266 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0008489/0.6675, allocations: 0.659 MB / 1.049 GB, free: 4.613 MB / 0.795 GB Notification: Performance of sort global known variables: time 2.064e-06/0.6675, allocations: 0 / 1.049 GB, free: 4.613 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0006406/0.6681, allocations: 187.8 kB / 1.049 GB, free: 4.43 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.0001344/0.6683, allocations: 111.2 kB / 1.05 GB, free: 4.309 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.000856/0.6691, allocations: 0.5808 MB / 1.05 GB, free: 3.719 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.786e-06/0.6692, allocations: 0 / 1.05 GB, free: 3.719 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0003118/0.6695, allocations: 251.9 kB / 1.05 GB, free: 3.461 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008486/0.6703, allocations: 158.8 kB / 1.05 GB, free: 3.305 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002291/0.6726, allocations: 1.847 MB / 1.052 GB, free: 1.426 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005654/0.6732, allocations: 1.01 MB / 1.053 GB, free: 396 kB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00014/0.6734, allocations: 39.44 kB / 1.053 GB, free: 360 kB / 0.795 GB Notification: Performance of SimCode: time 4.71e-07/0.6734, allocations: 4 kB / 1.053 GB, free: 356 kB / 0.795 GB Notification: Performance of Templates: time 0.01564/0.689, allocations: 12.17 MB / 1.065 GB, free: 4.223 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.HeatTransfer.Examples.ConductorMultiLayer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches