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: "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorSingleLayer,fileNamePrefix="Buildings_9_Buildings_HeatTransfer_Examples_ConductorSingleLayer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorSingleLayer,fileNamePrefix="Buildings_9_Buildings_HeatTransfer_Examples_ConductorSingleLayer",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005585/0.005585, allocations: 101.4 kB / 15.73 MB, free: 6.043 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.001276/0.001277, allocations: 190 kB / 16.67 MB, free: 5.977 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.415/1.415, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.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.524/2.524, allocations: 390.2 MB / 0.6648 GB, free: 196 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00127/0.00127, allocations: 62.16 kB / 0.9504 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2852/0.2865, allocations: 140.4 MB / 1.087 GB, free: 2.012 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayer): time 0.005196/0.2917, allocations: 3.726 MB / 1.091 GB, free: 14.26 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.004403/0.2962, allocations: 2.499 MB / 1.094 GB, free: 11.75 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006156/0.2968, allocations: 19.88 kB / 1.094 GB, free: 11.73 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0009103/0.2978, allocations: 250.7 kB / 1.094 GB, free: 11.48 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.00151/0.2993, allocations: 497.6 kB / 1.094 GB, free: 11 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001713/0.301, allocations: 0.5491 MB / 1.095 GB, free: 10.45 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.00182/0.3029, allocations: 1.375 MB / 1.096 GB, free: 9.07 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003023/0.3032, allocations: 157 kB / 1.096 GB, free: 8.914 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007884/0.304, allocations: 450.5 kB / 1.097 GB, free: 8.473 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008403/0.3048, allocations: 474.2 kB / 1.097 GB, free: 8.008 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001588/0.305, allocations: 52 kB / 1.097 GB, free: 7.957 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001947/0.3052, allocations: 60 kB / 1.097 GB, free: 7.898 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0004032/0.3056, allocations: 354.9 kB / 1.098 GB, free: 7.551 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0006142/0.3063, allocations: 465.5 kB / 1.098 GB, free: 7.094 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001019/0.3073, allocations: 0.9068 MB / 1.099 GB, free: 6.184 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.983e-06/0.3073, allocations: 3.984 kB / 1.099 GB, free: 6.18 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.994e-06/0.3073, allocations: 0 / 1.099 GB, free: 6.18 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 3.536e-05/0.3074, allocations: 0 / 1.099 GB, free: 6.18 MB / 0.8575 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.002838/0.3102, allocations: 1.245 MB / 1.1 GB, free: 4.883 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.037e-05/0.3103, allocations: 12.02 kB / 1.1 GB, free: 4.871 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001001/0.3104, allocations: 66.73 kB / 1.1 GB, free: 4.797 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002207/0.3106, allocations: 107.7 kB / 1.1 GB, free: 4.691 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001196/0.3118, allocations: 0.6636 MB / 1.101 GB, free: 3.984 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.809e-05/0.3119, allocations: 41.03 kB / 1.101 GB, free: 3.945 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.135e-05/0.312, allocations: 60.12 kB / 1.101 GB, free: 3.887 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006498/0.3126, allocations: 399 kB / 1.101 GB, free: 3.461 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.882e-05/0.3127, allocations: 3.938 kB / 1.101 GB, free: 3.457 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.216e-05/0.3127, allocations: 12 kB / 1.101 GB, free: 3.445 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.969e-06/0.3127, allocations: 8 kB / 1.101 GB, free: 3.438 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004233/0.3131, allocations: 226.4 kB / 1.102 GB, free: 3.219 MB / 0.8575 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.003467/0.3166, allocations: 2.502 MB / 1.104 GB, free: 0.5195 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001314/0.318, allocations: 485 kB / 1.105 GB, free: 40 kB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002921/0.3183, allocations: 157.3 kB / 1.105 GB, free: 15.88 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 2.6e-05/0.3183, allocations: 4.234 kB / 1.105 GB, free: 15.88 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.909e-05/0.3184, allocations: 30.8 kB / 1.105 GB, free: 15.84 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=28): time 2.685e-06/0.3184, allocations: 0 / 1.105 GB, free: 15.84 MB / 0.8731 GB Notification: Performance of matching and sorting (n=30): time 0.002926/0.3213, allocations: 1.208 MB / 1.106 GB, free: 14.55 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.683e-05/0.3214, allocations: 55.41 kB / 1.106 GB, free: 14.49 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001574/0.3229, allocations: 0.9192 MB / 1.107 GB, free: 13.56 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 9.29e-05/0.3231, allocations: 41.7 kB / 1.107 GB, free: 13.51 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003494/0.3234, allocations: 372.6 kB / 1.107 GB, free: 13.14 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001379/0.3236, allocations: 110.4 kB / 1.107 GB, free: 13.04 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002717/0.3238, allocations: 166.6 kB / 1.108 GB, free: 12.87 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0002263/0.3241, allocations: 398.7 kB / 1.108 GB, free: 12.47 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004733/0.3246, allocations: 229.8 kB / 1.108 GB, free: 12.24 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006986/0.3253, allocations: 0.6154 MB / 1.109 GB, free: 11.43 MB / 0.8731 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.003145/0.3284, allocations: 1.773 MB / 1.111 GB, free: 9.43 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.678e-05/0.3285, allocations: 7.938 kB / 1.111 GB, free: 9.422 MB / 0.8731 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001616/0.3301, allocations: 0.8958 MB / 1.111 GB, free: 8.516 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.742e-05/0.3301, allocations: 16.19 kB / 1.111 GB, free: 8.5 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.466e-05/0.3302, allocations: 16 kB / 1.111 GB, free: 8.484 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002071/0.3304, allocations: 48.83 kB / 1.111 GB, free: 8.434 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007021/0.3311, allocations: 211.6 kB / 1.112 GB, free: 8.227 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001225/0.3323, allocations: 1.464 MB / 1.113 GB, free: 6.621 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008028/0.3331, allocations: 40.14 kB / 1.113 GB, free: 6.582 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.075e-05/0.3332, allocations: 44 kB / 1.113 GB, free: 6.539 MB / 0.8731 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.0003819/0.3336, allocations: 297.9 kB / 1.113 GB, free: 6.238 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001623/0.3338, allocations: 82.91 kB / 1.114 GB, free: 6.156 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001389/0.3339, allocations: 76.53 kB / 1.114 GB, free: 6.078 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.631e-06/0.3339, allocations: 4 kB / 1.114 GB, free: 6.074 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.3339, allocations: 3.938 kB / 1.114 GB, free: 6.07 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.3339, allocations: 3.984 kB / 1.114 GB, free: 6.066 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001678/0.3356, allocations: 1.134 MB / 1.115 GB, free: 4.859 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.064e-06/0.3357, allocations: 4 kB / 1.115 GB, free: 4.855 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004031/0.3361, allocations: 88 kB / 1.115 GB, free: 4.77 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001358/0.3362, allocations: 32.83 kB / 1.115 GB, free: 4.734 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.132e-05/0.3363, allocations: 8 kB / 1.115 GB, free: 4.727 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001038/0.3373, allocations: 1.445 MB / 1.116 GB, free: 3.145 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.3373, allocations: 0 / 1.116 GB, free: 3.145 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000925/0.3382, allocations: 0.6438 MB / 1.117 GB, free: 2.469 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003115/0.3386, allocations: 200.1 kB / 1.117 GB, free: 2.254 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001098/0.3387, allocations: 12 kB / 1.117 GB, free: 2.242 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004301/0.3391, allocations: 19.97 kB / 1.117 GB, free: 2.223 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.693e-05/0.3392, allocations: 19.92 kB / 1.117 GB, free: 2.203 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.127e-05/0.3392, allocations: 15.98 kB / 1.117 GB, free: 2.188 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0008717/0.3401, allocations: 0.6161 MB / 1.118 GB, free: 1.574 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.7e-07/0.3401, allocations: 0 / 1.118 GB, free: 1.574 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0008314/0.341, allocations: 211.9 kB / 1.118 GB, free: 1.367 MB / 0.8731 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.00124/0.3422, allocations: 1.209 MB / 1.119 GB, free: 120 kB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001236/0.3435, allocations: 0.6409 MB / 1.12 GB, free: 15.46 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 4.017e-06/0.3435, allocations: 1.562 kB / 1.12 GB, free: 15.46 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0003905/0.3439, allocations: 266.8 kB / 1.12 GB, free: 15.19 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001005/0.3449, allocations: 191.9 kB / 1.12 GB, free: 15 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01047/0.3554, allocations: 7.401 MB / 1.127 GB, free: 7.059 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005906/0.356, allocations: 0.9837 MB / 1.128 GB, free: 6.047 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0004909/0.3565, allocations: 153.8 kB / 1.129 GB, free: 5.895 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004334/0.357, allocations: 295.3 kB / 1.129 GB, free: 5.605 MB / 0.8887 GB Notification: Performance of SimCode: time 8.51e-07/0.357, allocations: 0 / 1.129 GB, free: 5.605 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0465/0.4035, allocations: 16.05 MB / 1.144 GB, free: 5.793 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.27/11.68, allocations: 10.28 kB / 1.144 GB, free: 5.785 MB / 0.9044 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayer_res.mat --tempDir=temp_Buildings_9_Buildings_HeatTransfer_Examples_ConductorSingleLayer_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_HeatTransfer_Examples_ConductorSingleLayer.fmu > 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