Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayer.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.ConductorSingleLayer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.T.1.|con.T.2.|con.port_a.T|con.port_b.T|con1.port_a.T|con1.port_b.T|con2.port_a.T|con2.port_b.T|cheEqu.y",fileNamePrefix="Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayer") translateModel(Buildings.HeatTransfer.Examples.ConductorSingleLayer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.T.1.|con.T.2.|con.port_a.T|con.port_b.T|con1.port_a.T|con1.port_b.T|con2.port_a.T|con2.port_b.T|cheEqu.y",fileNamePrefix="Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001087/0.001087, allocations: 108.2 kB / 15.99 MB, free: 6.359 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.001217/0.001217, allocations: 196.3 kB / 16.91 MB, free: 6.199 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.388/1.388, allocations: 222.9 MB / 240.6 MB, free: 15.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.259/2.259, allocations: 390.2 MB / 0.665 GB, free: 0.793 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001509/0.001509, allocations: 64.02 kB / 0.8127 GB, free: 33.2 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2992/0.3007, allocations: 140.4 MB / 0.9497 GB, free: 9.203 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayer): time 0.005677/0.3064, allocations: 3.756 MB / 0.9534 GB, free: 5.418 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.004282/0.3108, allocations: 2.494 MB / 0.9559 GB, free: 2.914 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005966/0.3114, allocations: 11.94 kB / 0.9559 GB, free: 2.902 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0009635/0.3124, allocations: 218.8 kB / 0.9561 GB, free: 2.688 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.001381/0.3138, allocations: 469.9 kB / 0.9565 GB, free: 2.227 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001553/0.3154, allocations: 491.1 kB / 0.957 GB, free: 1.746 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.002034/0.3174, allocations: 1.371 MB / 0.9583 GB, free: 380 kB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003392/0.3178, allocations: 149.1 kB / 0.9585 GB, free: 232 kB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009618/0.3187, allocations: 450.3 kB / 0.9589 GB, free: 15.79 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009437/0.3197, allocations: 0.5021 MB / 0.9594 GB, free: 15.28 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0001862/0.3199, allocations: 63.94 kB / 0.9595 GB, free: 15.22 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002504/0.3202, allocations: 56 kB / 0.9595 GB, free: 15.16 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0004198/0.3206, allocations: 351 kB / 0.9598 GB, free: 14.82 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0007071/0.3213, allocations: 453.7 kB / 0.9603 GB, free: 14.38 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.0008067/0.3221, allocations: 0.7015 MB / 0.961 GB, free: 13.67 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.3221, allocations: 0 / 0.961 GB, free: 13.67 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.714e-06/0.3221, allocations: 0 / 0.961 GB, free: 13.67 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 4.344e-05/0.3222, allocations: 0 / 0.961 GB, free: 13.67 MB / 0.7481 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 80 * Number of variables: 80 Notification: Performance of Generate backend data structure: time 0.002622/0.3248, allocations: 1.254 MB / 0.9622 GB, free: 12.36 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.657e-05/0.3249, allocations: 8.031 kB / 0.9622 GB, free: 12.36 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002455/0.3251, allocations: 103.7 kB / 0.9623 GB, free: 12.25 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001181/0.3263, allocations: 0.6481 MB / 0.9629 GB, free: 11.56 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.647e-05/0.3264, allocations: 41.03 kB / 0.963 GB, free: 11.52 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.954e-05/0.3265, allocations: 60.28 kB / 0.963 GB, free: 11.46 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000688/0.3272, allocations: 402.9 kB / 0.9634 GB, free: 11.04 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.328e-05/0.3272, allocations: 0 / 0.9634 GB, free: 11.04 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.551e-05/0.3272, allocations: 16 kB / 0.9634 GB, free: 11.02 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.131e-05/0.3273, allocations: 12 kB / 0.9634 GB, free: 11.01 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004332/0.3277, allocations: 222.4 kB / 0.9636 GB, free: 10.79 MB / 0.7481 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.003458/0.3312, allocations: 2.502 MB / 0.9661 GB, free: 8.094 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001272/0.3325, allocations: 483.2 kB / 0.9665 GB, free: 7.613 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002484/0.3327, allocations: 157.2 kB / 0.9667 GB, free: 7.457 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 2.105e-05/0.3327, allocations: 4.234 kB / 0.9667 GB, free: 7.453 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.168e-05/0.3328, allocations: 34.8 kB / 0.9667 GB, free: 7.41 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=28): time 2.094e-06/0.3328, allocations: 0 / 0.9667 GB, free: 7.41 MB / 0.7481 GB Notification: Performance of matching and sorting (n=30): time 0.002287/0.3351, allocations: 1.212 MB / 0.9679 GB, free: 6.125 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.868e-05/0.3351, allocations: 59.39 kB / 0.968 GB, free: 6.055 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001289/0.3364, allocations: 0.9192 MB / 0.9689 GB, free: 5.125 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 4.906e-05/0.3365, allocations: 37.7 kB / 0.9689 GB, free: 5.082 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002842/0.3368, allocations: 372.8 kB / 0.9693 GB, free: 4.711 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001101/0.3369, allocations: 110.4 kB / 0.9694 GB, free: 4.602 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000208/0.3371, allocations: 166.6 kB / 0.9695 GB, free: 4.434 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0002068/0.3373, allocations: 394.7 kB / 0.9699 GB, free: 4.039 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003842/0.3377, allocations: 225.8 kB / 0.9701 GB, free: 3.816 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007549/0.3385, allocations: 0.627 MB / 0.9707 GB, free: 3 MB / 0.7481 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: con.T[4] = con.T_a_start + (con.T_b_start - con.T_a_start) * con.UA * (con.RNod[1] + con.RNod[2] + con.RNod[3]) (TB.T = con.T_a_start + (con.T_b_start - con.T_a_start) * con.UA * (con.RNod[1] + con.RNod[2] + con.RNod[3])) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: con2.T[2] = con2.T_a_start + (con2.T_b_start - con2.T_a_start) * con2.UA * (con2.RNod[1] + con2.RNod[2]) (TB1.T = con2.T_a_start + (con2.T_b_start - con2.T_a_start) * con2.UA * (con2.RNod[1] + con2.RNod[2])) Notification: Performance of analyzeInitialSystem (initialization): time 0.00298/0.3415, allocations: 1.758 MB / 0.9724 GB, free: 1.012 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.037e-05/0.3415, allocations: 11.94 kB / 0.9725 GB, free: 1 MB / 0.7481 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001493/0.343, allocations: 0.9067 MB / 0.9733 GB, free: 84 kB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.457e-05/0.3431, allocations: 8.844 kB / 0.9734 GB, free: 76 kB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.95e-05/0.3431, allocations: 19.94 kB / 0.9734 GB, free: 56 kB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002095/0.3433, allocations: 56.88 kB / 0.9734 GB, free: 15.99 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006816/0.344, allocations: 207.6 kB / 0.9736 GB, free: 15.79 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001208/0.3452, allocations: 1.46 MB / 0.975 GB, free: 14.19 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008025/0.346, allocations: 48.12 kB / 0.9751 GB, free: 14.14 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.688e-05/0.3461, allocations: 44 kB / 0.9751 GB, free: 14.1 MB / 0.7637 GB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization system: con.T[4] = con.T_a_start + (con.T_b_start - con.T_a_start) * con.UA * (con.RNod[1] + con.RNod[2] + con.RNod[3]) con2.T[2] = con2.T_a_start + (con2.T_b_start - con2.T_a_start) * con2.UA * (con2.RNod[1] + con2.RNod[2]). Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 63 * 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 (97): * Single equations (assignments): 96 * 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.0003957/0.3465, allocations: 308.1 kB / 0.9754 GB, free: 13.79 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000161/0.3467, allocations: 78.97 kB / 0.9755 GB, free: 13.71 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001448/0.3468, allocations: 76.47 kB / 0.9756 GB, free: 13.64 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.999e-06/0.3468, allocations: 4 kB / 0.9756 GB, free: 13.63 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.3468, allocations: 4 kB / 0.9756 GB, free: 13.63 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.49e-06/0.3468, allocations: 3.984 kB / 0.9756 GB, free: 13.62 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001689/0.3485, allocations: 1.145 MB / 0.9767 GB, free: 12.41 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.3486, allocations: 128 / 0.9767 GB, free: 12.41 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003919/0.349, allocations: 87.88 kB / 0.9768 GB, free: 12.32 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001223/0.3491, allocations: 32.83 kB / 0.9768 GB, free: 12.29 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.002e-05/0.3491, allocations: 8 kB / 0.9768 GB, free: 12.28 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001053/0.3502, allocations: 1.429 MB / 0.9782 GB, free: 10.71 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.3502, allocations: 4.062 kB / 0.9782 GB, free: 10.71 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008917/0.3511, allocations: 0.6624 MB / 0.9789 GB, free: 10.02 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002835/0.3514, allocations: 192.1 kB / 0.9791 GB, free: 9.809 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001103/0.3515, allocations: 8 kB / 0.9791 GB, free: 9.801 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004383/0.352, allocations: 23.97 kB / 0.9791 GB, free: 9.777 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.806e-05/0.352, allocations: 23.91 kB / 0.9791 GB, free: 9.754 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.74e-05/0.3521, allocations: 8 kB / 0.9791 GB, free: 9.746 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.0008401/0.3529, allocations: 0.62 MB / 0.9797 GB, free: 9.129 MB / 0.7637 GB Notification: Performance of sort global known variables: time 2.5e-07/0.3529, allocations: 4 kB / 0.9797 GB, free: 9.125 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.0007628/0.3537, allocations: 204 kB / 0.9799 GB, free: 8.926 MB / 0.7637 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 6 (con.T[1],con.T[2],con.T[3],con1.T[1],con1.T[2],con2.T[1]) * 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 (29): * Single equations (assignments): 28 * 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.0001586/0.3539, allocations: 119.1 kB / 0.98 GB, free: 8.797 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.001251/0.3551, allocations: 0.6849 MB / 0.9807 GB, free: 8.102 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.3551, allocations: 0 / 0.9807 GB, free: 8.102 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.0003818/0.3555, allocations: 266.5 kB / 0.981 GB, free: 7.828 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008995/0.3564, allocations: 172.6 kB / 0.9811 GB, free: 7.66 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002708/0.3591, allocations: 1.92 MB / 0.983 GB, free: 5.691 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006146/0.3598, allocations: 0.9836 MB / 0.984 GB, free: 4.68 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001751/0.36, allocations: 51.44 kB / 0.984 GB, free: 4.629 MB / 0.7637 GB Notification: Performance of SimCode: time 3.91e-07/0.36, allocations: 0 / 0.984 GB, free: 4.629 MB / 0.7637 GB Notification: Performance of Templates: time 0.0179/0.3779, allocations: 12.08 MB / 0.9958 GB, free: 8.59 MB / 0.7794 GB make -j1 -f Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayer.makefile (rm -f Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayer.sim & ./Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayer_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_HeatTransfer_Examples_ConductorSingleLayer.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches