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.001459/0.001459, 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.002136/0.002136, allocations: 191.7 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.484/1.484, allocations: 222.9 MB / 239.9 MB, free: 4.52 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.58/2.58, allocations: 437 MB / 0.71 GB, free: 5.328 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001251/0.001251, allocations: 67.89 kB / 0.8687 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7963/0.7976, allocations: 151.6 MB / 1.017 GB, free: 2.723 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorMultiLayer2): time 0.004541/0.8022, allocations: 2.786 MB / 1.019 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.004269/0.8065, allocations: 2.764 MB / 1.022 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000293/0.8069, allocations: 7.938 kB / 1.022 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.001478/0.8083, allocations: 458.3 kB / 1.023 GB, free: 12.69 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0005612/0.809, allocations: 247 kB / 1.023 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009823/0.81, allocations: 359.3 kB / 1.023 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.001737/0.8117, allocations: 1.563 MB / 1.025 GB, free: 10.52 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002559/0.812, allocations: 138.2 kB / 1.025 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007469/0.8127, allocations: 486.8 kB / 1.025 GB, free: 9.906 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000564/0.8133, allocations: 434.6 kB / 1.026 GB, free: 9.48 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 7.452e-05/0.8134, allocations: 52 kB / 1.026 GB, free: 9.43 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001074/0.8135, allocations: 52 kB / 1.026 GB, free: 9.379 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0002501/0.8138, allocations: 267.2 kB / 1.026 GB, free: 9.117 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0003669/0.8141, allocations: 370.2 kB / 1.026 GB, free: 8.754 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0009588/0.8151, allocations: 0.9034 MB / 1.027 GB, free: 7.848 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.8151, allocations: 0 / 1.027 GB, free: 7.848 MB / 0.7794 GB Notification: Performance of FrontEnd: time 3.617e-06/0.8151, allocations: 0 / 1.027 GB, free: 7.848 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.677e-05/0.8152, allocations: 3.938 kB / 1.027 GB, free: 7.844 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.002042/0.8172, allocations: 1.149 MB / 1.028 GB, free: 6.645 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.896e-05/0.8173, allocations: 8.031 kB / 1.028 GB, free: 6.637 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001299/0.8174, allocations: 80 kB / 1.029 GB, free: 6.559 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000923/0.8183, allocations: 0.6448 MB / 1.029 GB, free: 5.871 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.652e-05/0.8184, allocations: 28.94 kB / 1.029 GB, free: 5.844 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.272e-05/0.8184, allocations: 36.38 kB / 1.029 GB, free: 5.809 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000584/0.819, allocations: 378.8 kB / 1.03 GB, free: 5.418 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.287e-05/0.8191, allocations: 4 kB / 1.03 GB, free: 5.414 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.783e-05/0.8191, allocations: 8 kB / 1.03 GB, free: 5.406 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.035e-05/0.8191, allocations: 8 kB / 1.03 GB, free: 5.398 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003895/0.8195, allocations: 241.4 kB / 1.03 GB, free: 5.164 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.003832/0.8233, allocations: 2.455 MB / 1.032 GB, free: 2.52 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001118/0.8245, allocations: 394.5 kB / 1.033 GB, free: 2.125 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002874/0.8248, allocations: 140.7 kB / 1.033 GB, free: 1.984 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.784e-05/0.8248, allocations: 0 / 1.033 GB, free: 1.984 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.469e-05/0.8248, allocations: 38.5 kB / 1.033 GB, free: 1.938 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=18): time 1.493e-06/0.8248, allocations: 4 kB / 1.033 GB, free: 1.934 MB / 0.7794 GB Notification: Performance of matching and sorting (n=18): time 0.001011/0.8259, allocations: 0.5325 MB / 1.033 GB, free: 1.375 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.001e-05/0.8259, allocations: 55.41 kB / 1.033 GB, free: 1.309 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001275/0.8272, allocations: 0.9337 MB / 1.034 GB, free: 376 kB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.682e-05/0.8272, allocations: 33.7 kB / 1.034 GB, free: 336 kB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002855/0.8275, allocations: 308.4 kB / 1.035 GB, free: 24 kB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 9.146e-05/0.8276, allocations: 67.05 kB / 1.035 GB, free: 15.96 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001571/0.8278, allocations: 126.1 kB / 1.035 GB, free: 15.83 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001904/0.828, allocations: 382.7 kB / 1.035 GB, free: 15.45 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003335/0.8283, allocations: 240.9 kB / 1.035 GB, free: 15.21 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005098/0.8288, allocations: 0.513 MB / 1.036 GB, free: 14.57 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007767/0.8296, allocations: 0.696 MB / 1.037 GB, free: 13.74 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.682e-06/0.8296, allocations: 8 kB / 1.037 GB, free: 13.73 MB / 0.795 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001199/0.8309, allocations: 0.8081 MB / 1.037 GB, free: 12.92 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.117e-05/0.8309, allocations: 12.16 kB / 1.037 GB, free: 12.91 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.481e-05/0.8309, allocations: 12 kB / 1.037 GB, free: 12.89 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002168/0.8311, allocations: 48.83 kB / 1.037 GB, free: 12.84 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004719/0.8316, allocations: 143.7 kB / 1.038 GB, free: 12.7 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001358/0.833, allocations: 1.546 MB / 1.039 GB, free: 11.02 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007378/0.8337, allocations: 127.4 kB / 1.039 GB, free: 10.89 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.162e-05/0.8338, allocations: 28 kB / 1.039 GB, free: 10.87 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.0004309/0.8342, allocations: 346.1 kB / 1.04 GB, free: 10.52 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001006/0.8343, allocations: 67.09 kB / 1.04 GB, free: 10.45 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001134/0.8345, allocations: 66 kB / 1.04 GB, free: 10.38 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.048e-06/0.8345, allocations: 4 kB / 1.04 GB, free: 10.38 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.8345, allocations: 0 / 1.04 GB, free: 10.38 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.8345, allocations: 4 kB / 1.04 GB, free: 10.37 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006782/0.8352, allocations: 0.5752 MB / 1.04 GB, free: 9.746 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.8352, allocations: 0 / 1.04 GB, free: 9.746 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000266/0.8354, allocations: 59.83 kB / 1.04 GB, free: 9.688 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001297/0.8356, allocations: 36.83 kB / 1.04 GB, free: 9.648 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.884e-05/0.8356, allocations: 11.98 kB / 1.04 GB, free: 9.637 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001203/0.8368, allocations: 1.527 MB / 1.042 GB, free: 7.973 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.8368, allocations: 0 / 1.042 GB, free: 7.973 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008276/0.8377, allocations: 0.5617 MB / 1.042 GB, free: 7.391 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000248/0.8379, allocations: 200.3 kB / 1.043 GB, free: 7.176 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.139e-05/0.838, allocations: 8 kB / 1.043 GB, free: 7.168 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004505/0.8385, allocations: 59.81 kB / 1.043 GB, free: 7.109 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.999e-05/0.8386, allocations: 15.92 kB / 1.043 GB, free: 7.094 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.225e-05/0.8386, allocations: 4 kB / 1.043 GB, free: 7.09 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.000868/0.8394, allocations: 0.6629 MB / 1.043 GB, free: 6.434 MB / 0.795 GB Notification: Performance of sort global known variables: time 2.024e-06/0.8395, allocations: 0 / 1.043 GB, free: 6.434 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0006746/0.8401, allocations: 183.8 kB / 1.043 GB, free: 6.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.0002227/0.8404, allocations: 111.2 kB / 1.044 GB, free: 6.133 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.001011/0.8414, allocations: 0.6029 MB / 1.044 GB, free: 5.52 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.8414, allocations: 0 / 1.044 GB, free: 5.52 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0003514/0.8418, allocations: 246.5 kB / 1.044 GB, free: 5.266 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008219/0.8426, allocations: 179.7 kB / 1.045 GB, free: 5.09 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002432/0.845, allocations: 1.694 MB / 1.046 GB, free: 3.367 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005949/0.8456, allocations: 1.014 MB / 1.047 GB, free: 2.324 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0004392/0.8461, allocations: 184.5 kB / 1.047 GB, free: 2.145 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001182/0.8462, allocations: 35.44 kB / 1.047 GB, free: 2.113 MB / 0.795 GB Notification: Performance of SimCode: time 4.31e-07/0.8462, allocations: 0 / 1.047 GB, free: 2.113 MB / 0.795 GB Notification: Performance of Templates: time 0.01456/0.8608, allocations: 8.392 MB / 1.056 GB, free: 9.84 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=480 -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