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.001508/0.001507, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001752/0.001752, allocations: 191.4 kB / 16.14 MB, free: 6.711 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.365/1.365, allocations: 222.9 MB / 239.8 MB, free: 4.613 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.617/2.617, allocations: 437 MB / 0.7099 GB, free: 5.332 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001225/0.001225, allocations: 71.88 kB / 0.8685 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6585/0.6597, allocations: 151.6 MB / 1.017 GB, free: 2.75 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorMultiLayer): time 0.004064/0.6638, allocations: 2.788 MB / 1.019 GB, free: 15.94 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.004086/0.6679, allocations: 2.795 MB / 1.022 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002255/0.6682, allocations: 7.938 kB / 1.022 GB, free: 13.13 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.001389/0.6696, allocations: 470.2 kB / 1.022 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0004671/0.6701, allocations: 244.2 kB / 1.023 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.000812/0.6709, allocations: 339.2 kB / 1.023 GB, free: 12.1 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.001639/0.6726, allocations: 1.711 MB / 1.025 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001962/0.6728, allocations: 121.7 kB / 1.025 GB, free: 10.26 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005545/0.6734, allocations: 410.8 kB / 1.025 GB, free: 9.855 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005175/0.6739, allocations: 402.5 kB / 1.026 GB, free: 9.461 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 6.345e-05/0.674, allocations: 24 kB / 1.026 GB, free: 9.438 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 9.634e-05/0.6741, allocations: 24 kB / 1.026 GB, free: 9.414 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0002482/0.6743, allocations: 227.3 kB / 1.026 GB, free: 9.191 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0003445/0.6747, allocations: 334.2 kB / 1.026 GB, free: 8.863 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0007327/0.6754, allocations: 0.8878 MB / 1.027 GB, free: 7.973 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.596e-06/0.6754, allocations: 0 / 1.027 GB, free: 7.973 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.122e-06/0.6754, allocations: 0 / 1.027 GB, free: 7.973 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 8.075e-06/0.6754, allocations: 0 / 1.027 GB, free: 7.973 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.002098/0.6775, allocations: 1.144 MB / 1.028 GB, free: 6.777 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.836e-05/0.6776, allocations: 8.031 kB / 1.028 GB, free: 6.77 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001351/0.6777, allocations: 83.94 kB / 1.028 GB, free: 6.688 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009186/0.6787, allocations: 0.6486 MB / 1.029 GB, free: 5.996 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.645e-05/0.6787, allocations: 28.94 kB / 1.029 GB, free: 5.969 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.956e-05/0.6788, allocations: 36.38 kB / 1.029 GB, free: 5.934 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005416/0.6793, allocations: 378.8 kB / 1.029 GB, free: 5.543 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.839e-06/0.6793, allocations: 4 kB / 1.029 GB, free: 5.539 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.967e-05/0.6794, allocations: 8 kB / 1.029 GB, free: 5.531 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.909e-06/0.6794, allocations: 8 kB / 1.029 GB, free: 5.523 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000401/0.6798, allocations: 229.5 kB / 1.03 GB, free: 5.301 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.003395/0.6832, allocations: 2.459 MB / 1.032 GB, free: 2.652 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009466/0.6842, allocations: 407.9 kB / 1.032 GB, free: 2.246 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002067/0.6844, allocations: 136.7 kB / 1.032 GB, free: 2.109 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.948e-05/0.6844, allocations: 4 kB / 1.032 GB, free: 2.105 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.38e-05/0.6844, allocations: 38.56 kB / 1.033 GB, free: 2.059 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=18): time 1.533e-06/0.6844, allocations: 0 / 1.033 GB, free: 2.059 MB / 0.7794 GB Notification: Performance of matching and sorting (n=18): time 0.0009591/0.6854, allocations: 0.5318 MB / 1.033 GB, free: 1.5 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.666e-05/0.6854, allocations: 55.41 kB / 1.033 GB, free: 1.434 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001101/0.6865, allocations: 0.9376 MB / 1.034 GB, free: 500 kB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.217e-05/0.6866, allocations: 37.64 kB / 1.034 GB, free: 456 kB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002307/0.6868, allocations: 304.4 kB / 1.034 GB, free: 148 kB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 7.969e-05/0.6869, allocations: 67.09 kB / 1.034 GB, free: 80 kB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001674/0.6871, allocations: 126.2 kB / 1.035 GB, free: 15.95 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001793/0.6873, allocations: 382.7 kB / 1.035 GB, free: 15.57 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003296/0.6876, allocations: 244.8 kB / 1.035 GB, free: 15.33 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004889/0.6881, allocations: 0.5014 MB / 1.036 GB, free: 14.7 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007353/0.6889, allocations: 0.7003 MB / 1.036 GB, free: 13.87 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.681e-06/0.6889, allocations: 7.938 kB / 1.036 GB, free: 13.86 MB / 0.795 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001116/0.69, allocations: 0.8116 MB / 1.037 GB, free: 13.04 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.903e-05/0.69, allocations: 8 kB / 1.037 GB, free: 13.03 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.24e-05/0.69, allocations: 12 kB / 1.037 GB, free: 13.02 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001909/0.6902, allocations: 52.81 kB / 1.037 GB, free: 12.96 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004401/0.6907, allocations: 131.8 kB / 1.037 GB, free: 12.84 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001203/0.6919, allocations: 1.451 MB / 1.039 GB, free: 11.25 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006199/0.6925, allocations: 127.4 kB / 1.039 GB, free: 11.13 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.693e-05/0.6926, allocations: 31.98 kB / 1.039 GB, free: 11.1 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.000357/0.6929, allocations: 334 kB / 1.039 GB, free: 10.76 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.875e-05/0.693, allocations: 67.14 kB / 1.039 GB, free: 10.7 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001114/0.6931, allocations: 70 kB / 1.039 GB, free: 10.62 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.396e-06/0.6932, allocations: 3.938 kB / 1.039 GB, free: 10.62 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.237e-06/0.6932, allocations: 4 kB / 1.039 GB, free: 10.61 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.6932, allocations: 0 / 1.039 GB, free: 10.61 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006179/0.6938, allocations: 0.583 MB / 1.04 GB, free: 9.98 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.6938, allocations: 0 / 1.04 GB, free: 9.98 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002346/0.694, allocations: 43.97 kB / 1.04 GB, free: 9.938 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001228/0.6942, allocations: 44.75 kB / 1.04 GB, free: 9.891 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.223e-05/0.6942, allocations: 8 kB / 1.04 GB, free: 9.883 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009872/0.6952, allocations: 1.416 MB / 1.041 GB, free: 8.332 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.6952, allocations: 4 kB / 1.041 GB, free: 8.328 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007171/0.6959, allocations: 0.5657 MB / 1.042 GB, free: 7.742 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002317/0.6962, allocations: 196.3 kB / 1.042 GB, free: 7.531 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.505e-05/0.6963, allocations: 11.98 kB / 1.042 GB, free: 7.52 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003719/0.6966, allocations: 51.83 kB / 1.042 GB, free: 7.469 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.013e-05/0.6967, allocations: 11.98 kB / 1.042 GB, free: 7.457 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.368e-05/0.6967, allocations: 4 kB / 1.042 GB, free: 7.453 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0007772/0.6975, allocations: 0.6707 MB / 1.043 GB, free: 6.789 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6975, allocations: 0 / 1.043 GB, free: 6.789 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0005857/0.6981, allocations: 183.8 kB / 1.043 GB, free: 6.609 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.0001188/0.6982, allocations: 107.2 kB / 1.043 GB, free: 6.492 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0008097/0.699, allocations: 0.5684 MB / 1.044 GB, free: 5.914 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.699, allocations: 0 / 1.044 GB, free: 5.914 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0003025/0.6994, allocations: 255 kB / 1.044 GB, free: 5.652 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007974/0.7002, allocations: 170.8 kB / 1.044 GB, free: 5.488 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00209/0.7023, allocations: 1.698 MB / 1.046 GB, free: 3.766 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005555/0.7028, allocations: 1.018 MB / 1.047 GB, free: 2.719 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0003943/0.7032, allocations: 180.5 kB / 1.047 GB, free: 2.543 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001094/0.7033, allocations: 35.44 kB / 1.047 GB, free: 2.512 MB / 0.795 GB Notification: Performance of SimCode: time 4.41e-07/0.7034, allocations: 7.938 kB / 1.047 GB, free: 2.504 MB / 0.795 GB Notification: Performance of Templates: time 0.01347/0.7168, allocations: 8.084 MB / 1.055 GB, free: 10.52 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