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.001258/0.001258, allocations: 106.7 kB / 16.41 MB, free: 6.453 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.001367/0.001367, allocations: 192.2 kB / 17.34 MB, free: 5.719 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.29/1.29, allocations: 222.9 MB / 241 MB, free: 15.07 MB / 206.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.41/2.41, allocations: 437 MB / 0.7112 GB, free: 4.379 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001734/0.001734, allocations: 55.91 kB / 1.019 GB, free: 9.453 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.818/0.8197, allocations: 151.6 MB / 1.167 GB, free: 3.855 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorMultiLayer2): time 0.00368/0.8235, allocations: 2.73 MB / 1.17 GB, free: 1.105 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.004605/0.8281, allocations: 2.789 MB / 1.173 GB, free: 14.31 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003552/0.8285, allocations: 7.938 kB / 1.173 GB, free: 14.3 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.00169/0.8302, allocations: 0.4921 MB / 1.173 GB, free: 13.81 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0006082/0.8308, allocations: 250.9 kB / 1.173 GB, free: 13.56 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.001077/0.8319, allocations: 400.4 kB / 1.174 GB, free: 13.17 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.001741/0.8337, allocations: 1.528 MB / 1.175 GB, free: 11.64 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002571/0.8339, allocations: 142.3 kB / 1.175 GB, free: 11.49 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006592/0.8346, allocations: 474.8 kB / 1.176 GB, free: 11.03 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005121/0.8351, allocations: 386.6 kB / 1.176 GB, free: 10.65 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 7.129e-05/0.8352, allocations: 52 kB / 1.176 GB, free: 10.6 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 9.077e-05/0.8353, allocations: 48 kB / 1.176 GB, free: 10.55 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0002516/0.8356, allocations: 271.3 kB / 1.177 GB, free: 10.29 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.000322/0.8359, allocations: 374.2 kB / 1.177 GB, free: 9.918 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0007524/0.8367, allocations: 0.9191 MB / 1.178 GB, free: 8.996 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.8367, allocations: 0 / 1.178 GB, free: 8.996 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.754e-06/0.8367, allocations: 0 / 1.178 GB, free: 8.996 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 9.558e-06/0.8367, allocations: 0 / 1.178 GB, free: 8.996 MB / 0.9044 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.001963/0.8387, allocations: 1.148 MB / 1.179 GB, free: 7.797 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.779e-05/0.8387, allocations: 8.031 kB / 1.179 GB, free: 7.789 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001456/0.8389, allocations: 76 kB / 1.179 GB, free: 7.715 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001072/0.84, allocations: 0.676 MB / 1.18 GB, free: 7 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.449e-05/0.84, allocations: 24.94 kB / 1.18 GB, free: 6.977 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.729e-05/0.8401, allocations: 48.3 kB / 1.18 GB, free: 6.93 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005024/0.8406, allocations: 370.9 kB / 1.18 GB, free: 6.547 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.162e-05/0.8406, allocations: 0 / 1.18 GB, free: 6.547 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.831e-05/0.8406, allocations: 12 kB / 1.18 GB, free: 6.535 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.156e-06/0.8406, allocations: 8 kB / 1.18 GB, free: 6.527 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003665/0.841, allocations: 237.5 kB / 1.18 GB, free: 6.297 MB / 0.9044 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.003474/0.8445, allocations: 2.447 MB / 1.183 GB, free: 3.66 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001003/0.8455, allocations: 410.3 kB / 1.183 GB, free: 3.25 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001988/0.8457, allocations: 140.7 kB / 1.183 GB, free: 3.109 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 1.519e-05/0.8457, allocations: 0 / 1.183 GB, free: 3.109 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.587e-05/0.8458, allocations: 38.55 kB / 1.183 GB, free: 3.062 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=18): time 1.283e-06/0.8458, allocations: 4 kB / 1.183 GB, free: 3.059 MB / 0.9044 GB Notification: Performance of matching and sorting (n=18): time 0.0009097/0.8467, allocations: 0.5285 MB / 1.184 GB, free: 2.504 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.259e-05/0.8468, allocations: 55.34 kB / 1.184 GB, free: 2.438 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001095/0.8479, allocations: 0.9414 MB / 1.185 GB, free: 1.488 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 3.769e-05/0.8479, allocations: 33.7 kB / 1.185 GB, free: 1.449 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.000229/0.8481, allocations: 304.4 kB / 1.185 GB, free: 1.148 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 7.642e-05/0.8482, allocations: 67.02 kB / 1.185 GB, free: 1.082 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001528/0.8484, allocations: 126.2 kB / 1.185 GB, free: 0.9531 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001477/0.8485, allocations: 382.7 kB / 1.186 GB, free: 0.5703 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003282/0.8489, allocations: 240.9 kB / 1.186 GB, free: 336 kB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004881/0.8494, allocations: 0.5051 MB / 1.186 GB, free: 15.7 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007349/0.8501, allocations: 0.7014 MB / 1.187 GB, free: 14.87 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.001e-06/0.8501, allocations: 8 kB / 1.187 GB, free: 14.86 MB / 0.92 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001135/0.8513, allocations: 0.8099 MB / 1.188 GB, free: 14.04 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.268e-05/0.8513, allocations: 8.156 kB / 1.188 GB, free: 14.04 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.567e-05/0.8513, allocations: 16 kB / 1.188 GB, free: 14.02 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002072/0.8515, allocations: 44.83 kB / 1.188 GB, free: 13.97 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004534/0.852, allocations: 143.7 kB / 1.188 GB, free: 13.83 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001162/0.8532, allocations: 1.547 MB / 1.19 GB, free: 12.14 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006475/0.8538, allocations: 127.2 kB / 1.19 GB, free: 12.02 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.593e-05/0.8539, allocations: 28 kB / 1.19 GB, free: 11.99 MB / 0.92 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.0003286/0.8542, allocations: 341.5 kB / 1.19 GB, free: 11.65 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.548e-05/0.8543, allocations: 59.19 kB / 1.19 GB, free: 11.59 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001019/0.8544, allocations: 74 kB / 1.19 GB, free: 11.51 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.993e-06/0.8544, allocations: 0 / 1.19 GB, free: 11.51 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.8544, allocations: 0 / 1.19 GB, free: 11.51 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.05e-06/0.8544, allocations: 3.984 kB / 1.19 GB, free: 11.5 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005812/0.855, allocations: 0.5752 MB / 1.191 GB, free: 10.88 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.855, allocations: 0 / 1.191 GB, free: 10.88 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002418/0.8553, allocations: 55.83 kB / 1.191 GB, free: 10.82 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001145/0.8554, allocations: 48.81 kB / 1.191 GB, free: 10.77 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.338e-05/0.8554, allocations: 8 kB / 1.191 GB, free: 10.77 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009931/0.8564, allocations: 1.527 MB / 1.192 GB, free: 9.102 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.8565, allocations: 0 / 1.192 GB, free: 9.102 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006921/0.8572, allocations: 0.576 MB / 1.193 GB, free: 8.508 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003048/0.8575, allocations: 200.2 kB / 1.193 GB, free: 8.293 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.117e-05/0.8576, allocations: 15.98 kB / 1.193 GB, free: 8.277 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003842/0.8579, allocations: 43.86 kB / 1.193 GB, free: 8.234 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.467e-05/0.858, allocations: 11.98 kB / 1.193 GB, free: 8.223 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.108e-05/0.858, allocations: 4 kB / 1.193 GB, free: 8.219 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0007818/0.8588, allocations: 0.659 MB / 1.194 GB, free: 7.562 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.8e-07/0.8588, allocations: 4 kB / 1.194 GB, free: 7.559 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0005919/0.8594, allocations: 183.8 kB / 1.194 GB, free: 7.379 MB / 0.92 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.0001243/0.8595, allocations: 103.2 kB / 1.194 GB, free: 7.27 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0008669/0.8604, allocations: 0.5813 MB / 1.195 GB, free: 6.68 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.8604, allocations: 0 / 1.195 GB, free: 6.68 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0003153/0.8608, allocations: 250.5 kB / 1.195 GB, free: 6.422 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008509/0.8616, allocations: 174.3 kB / 1.195 GB, free: 6.254 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002151/0.8638, allocations: 1.543 MB / 1.197 GB, free: 4.676 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005443/0.8644, allocations: 1.006 MB / 1.198 GB, free: 3.641 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001429/0.8645, allocations: 39.44 kB / 1.198 GB, free: 3.602 MB / 0.92 GB Notification: Performance of SimCode: time 7.41e-07/0.8645, allocations: 0 / 1.198 GB, free: 3.602 MB / 0.92 GB Notification: Performance of Templates: time 0.0211/0.8856, allocations: 12.37 MB / 1.21 GB, free: 7.277 MB / 0.9356 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches