Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.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.ConductorMultiLayer2,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.ConductorMultiLayer2") translateModel(Buildings.HeatTransfer.Examples.ConductorMultiLayer2,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.ConductorMultiLayer2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00176/0.00176, allocations: 108 kB / 15.6 MB, free: 132 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.001925/0.001925, allocations: 193 kB / 16.53 MB, free: 6.391 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.492/1.492, allocations: 222.9 MB / 240.2 MB, free: 4.395 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.823/2.823, allocations: 437 MB / 0.7104 GB, free: 5.043 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002673/0.002673, allocations: 63.89 kB / 0.8692 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7766/0.7793, allocations: 151.6 MB / 1.017 GB, free: 2.469 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorMultiLayer2): time 0.004704/0.784, allocations: 2.739 MB / 1.02 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.004914/0.7889, allocations: 2.783 MB / 1.023 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002447/0.7892, allocations: 11.94 kB / 1.023 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.001549/0.7908, allocations: 494 kB / 1.023 GB, free: 12.42 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0005776/0.7914, allocations: 250.9 kB / 1.023 GB, free: 12.17 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.001111/0.7925, allocations: 404.1 kB / 1.024 GB, free: 11.78 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.002082/0.7946, allocations: 1.531 MB / 1.025 GB, free: 10.24 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000239/0.7949, allocations: 142.3 kB / 1.025 GB, free: 10.1 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007661/0.7957, allocations: 470.8 kB / 1.026 GB, free: 9.637 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007004/0.7964, allocations: 406.6 kB / 1.026 GB, free: 9.238 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 9.46e-05/0.7965, allocations: 48 kB / 1.026 GB, free: 9.191 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001307/0.7966, allocations: 59.94 kB / 1.026 GB, free: 9.133 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0003291/0.797, allocations: 263.2 kB / 1.027 GB, free: 8.875 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0004336/0.7974, allocations: 374.2 kB / 1.027 GB, free: 8.508 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0009195/0.7983, allocations: 0.8996 MB / 1.028 GB, free: 7.605 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.7984, allocations: 4 kB / 1.028 GB, free: 7.602 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.222e-06/0.7984, allocations: 0 / 1.028 GB, free: 7.602 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 9.909e-06/0.7984, allocations: 0 / 1.028 GB, free: 7.602 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.002212/0.8006, allocations: 1.154 MB / 1.029 GB, free: 6.398 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.527e-05/0.8006, allocations: 8.031 kB / 1.029 GB, free: 6.391 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001538/0.8008, allocations: 80 kB / 1.029 GB, free: 6.312 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001163/0.802, allocations: 0.6448 MB / 1.03 GB, free: 5.625 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.934e-05/0.802, allocations: 28.94 kB / 1.03 GB, free: 5.598 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.364e-05/0.8021, allocations: 44.38 kB / 1.03 GB, free: 5.555 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005768/0.8027, allocations: 374.8 kB / 1.03 GB, free: 5.168 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.626e-05/0.8027, allocations: 7.984 kB / 1.03 GB, free: 5.16 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.704e-05/0.8027, allocations: 4 kB / 1.03 GB, free: 5.156 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.788e-06/0.8028, allocations: 8 kB / 1.03 GB, free: 5.148 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004124/0.8032, allocations: 237.5 kB / 1.03 GB, free: 4.918 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.004132/0.8073, allocations: 2.459 MB / 1.033 GB, free: 2.27 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001037/0.8084, allocations: 394.5 kB / 1.033 GB, free: 1.875 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000335/0.8087, allocations: 140.7 kB / 1.033 GB, free: 1.734 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.812e-05/0.8087, allocations: 4 kB / 1.033 GB, free: 1.73 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.534e-05/0.8088, allocations: 30.56 kB / 1.033 GB, free: 1.691 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=18): time 1.783e-06/0.8088, allocations: 3.938 kB / 1.033 GB, free: 1.688 MB / 0.7794 GB Notification: Performance of matching and sorting (n=18): time 0.001282/0.8101, allocations: 0.5348 MB / 1.034 GB, free: 1.125 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.787e-05/0.8101, allocations: 55.41 kB / 1.034 GB, free: 1.059 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001388/0.8115, allocations: 0.9376 MB / 1.035 GB, free: 116 kB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.535e-05/0.8116, allocations: 33.7 kB / 1.035 GB, free: 76 kB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003164/0.8119, allocations: 300.4 kB / 1.035 GB, free: 15.78 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 9.463e-05/0.812, allocations: 67.11 kB / 1.035 GB, free: 15.71 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001759/0.8122, allocations: 122.1 kB / 1.035 GB, free: 15.59 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0002295/0.8124, allocations: 386.7 kB / 1.036 GB, free: 15.2 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004016/0.8128, allocations: 248.8 kB / 1.036 GB, free: 14.95 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000615/0.8135, allocations: 0.4975 MB / 1.036 GB, free: 14.33 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009834/0.8145, allocations: 0.7001 MB / 1.037 GB, free: 13.5 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.522e-06/0.8145, allocations: 4 kB / 1.037 GB, free: 13.5 MB / 0.795 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001436/0.8159, allocations: 0.8107 MB / 1.038 GB, free: 12.68 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.168e-05/0.8159, allocations: 12 kB / 1.038 GB, free: 12.66 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.188e-05/0.816, allocations: 8 kB / 1.038 GB, free: 12.66 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002225/0.8162, allocations: 57.42 kB / 1.038 GB, free: 12.6 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004939/0.8167, allocations: 147.7 kB / 1.038 GB, free: 12.45 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001651/0.8184, allocations: 1.538 MB / 1.04 GB, free: 10.78 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007572/0.8191, allocations: 119.2 kB / 1.04 GB, free: 10.66 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.188e-05/0.8192, allocations: 35.98 kB / 1.04 GB, free: 10.62 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.000398/0.8196, allocations: 350.6 kB / 1.04 GB, free: 10.27 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001052/0.8197, allocations: 67.09 kB / 1.04 GB, free: 10.21 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001187/0.8198, allocations: 66 kB / 1.04 GB, free: 10.13 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.838e-06/0.8198, allocations: 4 kB / 1.04 GB, free: 10.13 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.496e-06/0.8198, allocations: 0 / 1.04 GB, free: 10.13 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.8198, allocations: 0 / 1.04 GB, free: 10.13 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009187/0.8208, allocations: 0.5752 MB / 1.041 GB, free: 9.504 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.8208, allocations: 0 / 1.041 GB, free: 9.504 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002627/0.821, allocations: 59.83 kB / 1.041 GB, free: 9.445 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00013/0.8212, allocations: 40.83 kB / 1.041 GB, free: 9.402 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.546e-05/0.8212, allocations: 11.98 kB / 1.041 GB, free: 9.391 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001386/0.8226, allocations: 1.515 MB / 1.042 GB, free: 7.738 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.8226, allocations: 0 / 1.042 GB, free: 7.738 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008735/0.8235, allocations: 0.571 MB / 1.043 GB, free: 7.148 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003044/0.8238, allocations: 196.3 kB / 1.043 GB, free: 6.938 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.899e-05/0.8239, allocations: 11.98 kB / 1.043 GB, free: 6.926 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003993/0.8243, allocations: 47.86 kB / 1.043 GB, free: 6.879 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.201e-05/0.8244, allocations: 11.98 kB / 1.043 GB, free: 6.867 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.556e-05/0.8244, allocations: 4 kB / 1.043 GB, free: 6.863 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.000976/0.8254, allocations: 0.6668 MB / 1.044 GB, free: 6.203 MB / 0.795 GB Notification: Performance of sort global known variables: time 2.11e-07/0.8254, allocations: 0 / 1.044 GB, free: 6.203 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0006303/0.826, allocations: 187.8 kB / 1.044 GB, free: 6.02 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.0001321/0.8262, allocations: 107.2 kB / 1.044 GB, free: 5.902 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.001002/0.8272, allocations: 0.594 MB / 1.045 GB, free: 5.297 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.8272, allocations: 5.812 kB / 1.045 GB, free: 5.293 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0003553/0.8275, allocations: 252 kB / 1.045 GB, free: 5.035 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008117/0.8284, allocations: 178.9 kB / 1.045 GB, free: 4.859 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002562/0.8309, allocations: 1.521 MB / 1.047 GB, free: 3.309 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000761/0.8317, allocations: 1.014 MB / 1.048 GB, free: 2.266 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0004396/0.8322, allocations: 184.5 kB / 1.048 GB, free: 2.086 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001147/0.8323, allocations: 35.44 kB / 1.048 GB, free: 2.055 MB / 0.795 GB Notification: Performance of SimCode: time 2.51e-07/0.8323, allocations: 0 / 1.048 GB, free: 2.055 MB / 0.795 GB Notification: Performance of Templates: time 0.0164/0.8487, allocations: 8.422 MB / 1.056 GB, free: 9.75 MB / 0.8106 GB make -j1 -f Buildings_10_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.makefile (rm -f Buildings_10_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe ; mkfifo Buildings_10_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe ; head -c 1048576 < Buildings_10_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe >> ../files/Buildings_10_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.sim & ./Buildings_10_Buildings.HeatTransfer.Examples.ConductorMultiLayer2 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.HeatTransfer.Examples.ConductorMultiLayer2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_HeatTransfer_Examples_ConductorMultiLayer2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches