Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.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_10_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_10_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.001411/0.001411, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001552/0.001553, allocations: 190.2 kB / 16.25 MB, free: 6.637 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.483/1.483, allocations: 222.9 MB / 239.9 MB, free: 4.508 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.808/2.808, allocations: 437 MB / 0.7101 GB, free: 5.297 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001881/0.001881, allocations: 71.89 kB / 0.8687 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6828/0.6847, allocations: 151.6 MB / 1.017 GB, free: 2.75 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorMultiLayer3): time 0.004282/0.689, allocations: 2.786 MB / 1.02 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.004219/0.6932, allocations: 2.768 MB / 1.022 GB, free: 13.17 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002263/0.6935, allocations: 7.938 kB / 1.022 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.001412/0.6949, allocations: 458.4 kB / 1.023 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0005457/0.6955, allocations: 243.1 kB / 1.023 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.001101/0.6966, allocations: 371.2 kB / 1.023 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.001963/0.6986, allocations: 1.552 MB / 1.025 GB, free: 10.55 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002539/0.6988, allocations: 140.3 kB / 1.025 GB, free: 10.41 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007563/0.6996, allocations: 494.7 kB / 1.025 GB, free: 9.926 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006293/0.7002, allocations: 434.6 kB / 1.026 GB, free: 9.5 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 9.302e-05/0.7003, allocations: 48 kB / 1.026 GB, free: 9.453 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001109/0.7005, allocations: 52 kB / 1.026 GB, free: 9.402 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0002862/0.7007, allocations: 263.3 kB / 1.026 GB, free: 9.145 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0004229/0.7012, allocations: 374.2 kB / 1.026 GB, free: 8.777 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0009608/0.7021, allocations: 0.8996 MB / 1.027 GB, free: 7.875 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.7022, allocations: 0 / 1.027 GB, free: 7.875 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.314e-06/0.7022, allocations: 4 kB / 1.027 GB, free: 7.871 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 9.779e-06/0.7022, allocations: 0 / 1.027 GB, free: 7.871 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.00229/0.7045, allocations: 1.144 MB / 1.028 GB, free: 6.676 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5.003e-05/0.7045, allocations: 12.03 kB / 1.028 GB, free: 6.664 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001521/0.7047, allocations: 76 kB / 1.029 GB, free: 6.59 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001095/0.7058, allocations: 0.6525 MB / 1.029 GB, free: 5.895 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.293e-05/0.7059, allocations: 28.94 kB / 1.029 GB, free: 5.867 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.223e-05/0.706, allocations: 40.38 kB / 1.029 GB, free: 5.828 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007011/0.7067, allocations: 374.9 kB / 1.03 GB, free: 5.438 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.725e-05/0.7067, allocations: 3.938 kB / 1.03 GB, free: 5.434 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.748e-05/0.7067, allocations: 12 kB / 1.03 GB, free: 5.422 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.45e-05/0.7068, allocations: 11.98 kB / 1.03 GB, free: 5.41 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004514/0.7072, allocations: 233.5 kB / 1.03 GB, free: 5.184 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.004277/0.7115, allocations: 2.451 MB / 1.032 GB, free: 2.543 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001087/0.7126, allocations: 402.4 kB / 1.033 GB, free: 2.141 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002385/0.7128, allocations: 136.7 kB / 1.033 GB, free: 2.004 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.406e-05/0.7129, allocations: 4 kB / 1.033 GB, free: 2 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.102e-05/0.7129, allocations: 34.56 kB / 1.033 GB, free: 1.957 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=18): time 2.074e-06/0.7129, allocations: 0 / 1.033 GB, free: 1.957 MB / 0.7794 GB Notification: Performance of matching and sorting (n=18): time 0.0012/0.7141, allocations: 0.5441 MB / 1.033 GB, free: 1.387 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.713e-05/0.7142, allocations: 51.41 kB / 1.033 GB, free: 1.324 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001276/0.7155, allocations: 0.9337 MB / 1.034 GB, free: 392 kB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 4.182e-05/0.7155, allocations: 37.7 kB / 1.034 GB, free: 348 kB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002882/0.7158, allocations: 304.4 kB / 1.035 GB, free: 40 kB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001009/0.7159, allocations: 59.28 kB / 1.035 GB, free: 15.98 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001754/0.7161, allocations: 126.1 kB / 1.035 GB, free: 15.85 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.00021/0.7163, allocations: 390.7 kB / 1.035 GB, free: 15.46 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003795/0.7167, allocations: 240.8 kB / 1.035 GB, free: 15.22 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005832/0.7173, allocations: 0.4975 MB / 1.036 GB, free: 14.59 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008916/0.7182, allocations: 0.7038 MB / 1.037 GB, free: 13.76 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.508e-06/0.7182, allocations: 0 / 1.037 GB, free: 13.76 MB / 0.795 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001303/0.7195, allocations: 0.8135 MB / 1.037 GB, free: 12.94 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 3.599e-05/0.7196, allocations: 8 kB / 1.037 GB, free: 12.93 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.626e-05/0.7196, allocations: 12 kB / 1.037 GB, free: 12.92 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000229/0.7198, allocations: 53.42 kB / 1.037 GB, free: 12.86 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005021/0.7203, allocations: 143.7 kB / 1.038 GB, free: 12.72 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00163/0.722, allocations: 1.55 MB / 1.039 GB, free: 11.04 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007961/0.7228, allocations: 123.2 kB / 1.039 GB, free: 10.91 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.224e-05/0.7229, allocations: 28 kB / 1.039 GB, free: 10.89 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.0004526/0.7233, allocations: 346.2 kB / 1.04 GB, free: 10.54 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001319/0.7234, allocations: 67.09 kB / 1.04 GB, free: 10.47 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001406/0.7236, allocations: 66 kB / 1.04 GB, free: 10.4 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.7236, allocations: 0 / 1.04 GB, free: 10.4 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/0.7236, allocations: 4 kB / 1.04 GB, free: 10.39 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.621e-06/0.7236, allocations: 3.984 kB / 1.04 GB, free: 10.39 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007538/0.7244, allocations: 0.5714 MB / 1.04 GB, free: 9.77 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.7244, allocations: 3.938 kB / 1.04 GB, free: 9.766 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002678/0.7247, allocations: 51.89 kB / 1.04 GB, free: 9.715 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001431/0.7248, allocations: 44.81 kB / 1.04 GB, free: 9.668 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.044e-05/0.7249, allocations: 8 kB / 1.04 GB, free: 9.66 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001373/0.7262, allocations: 1.519 MB / 1.042 GB, free: 8.004 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.107e-06/0.7263, allocations: 4 kB / 1.042 GB, free: 8 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008813/0.7271, allocations: 0.574 MB / 1.042 GB, free: 7.406 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002825/0.7274, allocations: 196.3 kB / 1.043 GB, free: 7.195 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.042e-05/0.7275, allocations: 11.98 kB / 1.043 GB, free: 7.184 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004552/0.728, allocations: 55.77 kB / 1.043 GB, free: 7.129 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.72e-05/0.7281, allocations: 11.92 kB / 1.043 GB, free: 7.117 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.518e-05/0.7281, allocations: 8 kB / 1.043 GB, free: 7.109 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0009983/0.7291, allocations: 0.6629 MB / 1.043 GB, free: 6.453 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7291, allocations: 0 / 1.043 GB, free: 6.453 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0007694/0.7299, allocations: 183.8 kB / 1.044 GB, free: 6.273 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.000169/0.73, allocations: 103.8 kB / 1.044 GB, free: 6.16 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.001111/0.7312, allocations: 0.6048 MB / 1.044 GB, free: 5.547 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 5.45e-06/0.7312, allocations: 3.938 kB / 1.044 GB, free: 5.543 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.000373/0.7316, allocations: 254.9 kB / 1.044 GB, free: 5.281 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008879/0.7325, allocations: 166.8 kB / 1.045 GB, free: 5.121 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002607/0.7351, allocations: 1.702 MB / 1.046 GB, free: 3.391 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000746/0.7359, allocations: 1.018 MB / 1.047 GB, free: 2.344 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0004616/0.7363, allocations: 180.5 kB / 1.047 GB, free: 2.168 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001207/0.7365, allocations: 35.44 kB / 1.047 GB, free: 2.137 MB / 0.795 GB Notification: Performance of SimCode: time 7.01e-07/0.7365, allocations: 4 kB / 1.047 GB, free: 2.133 MB / 0.795 GB Notification: Performance of Templates: time 0.01673/0.7532, allocations: 8.387 MB / 1.056 GB, free: 9.863 MB / 0.8106 GB make -j1 -f Buildings_10_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.makefile (rm -f Buildings_10_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.pipe ; mkfifo Buildings_10_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.pipe ; head -c 1048576 < Buildings_10_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.pipe >> ../files/Buildings_10_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.sim & ./Buildings_10_Buildings.HeatTransfer.Examples.ConductorMultiLayer3 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.HeatTransfer.Examples.ConductorMultiLayer3_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_HeatTransfer_Examples_ConductorMultiLayer3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches