Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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: "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorSingleLayer,fileNamePrefix="Buildings_10_Buildings_HeatTransfer_Examples_ConductorSingleLayer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorSingleLayer,fileNamePrefix="Buildings_10_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.005673/0.005673, allocations: 105.4 kB / 15.74 MB, free: 6.012 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.001321/0.001321, allocations: 199.9 kB / 16.68 MB, free: 5.93 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.423/1.423, allocations: 222.9 MB / 240.4 MB, free: 4.152 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.738/2.738, allocations: 437 MB / 0.7105 GB, free: 4.941 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001393/0.001393, allocations: 63.91 kB / 1.018 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3372/0.3386, allocations: 151.6 MB / 1.166 GB, free: 7.305 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayer): time 0.005087/0.3437, allocations: 3.721 MB / 1.17 GB, free: 3.551 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.004486/0.3482, allocations: 2.504 MB / 1.172 GB, free: 1.039 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005797/0.3488, allocations: 19.88 kB / 1.172 GB, free: 1.02 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.001009/0.3499, allocations: 246.7 kB / 1.172 GB, free: 0.7773 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.001403/0.3513, allocations: 0.4938 MB / 1.173 GB, free: 288 kB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.001605/0.353, allocations: 0.5417 MB / 1.173 GB, free: 15.74 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.001821/0.3548, allocations: 1.367 MB / 1.175 GB, free: 14.37 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003291/0.3551, allocations: 149.1 kB / 1.175 GB, free: 14.21 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009104/0.3561, allocations: 450.5 kB / 1.175 GB, free: 13.77 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009302/0.357, allocations: 486.1 kB / 1.176 GB, free: 13.3 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0002147/0.3572, allocations: 52 kB / 1.176 GB, free: 13.25 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002781/0.3575, allocations: 64 kB / 1.176 GB, free: 13.18 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0005054/0.358, allocations: 347 kB / 1.176 GB, free: 12.84 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0007807/0.3588, allocations: 461.6 kB / 1.177 GB, free: 12.39 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.00123/0.3601, allocations: 0.9107 MB / 1.178 GB, free: 11.48 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 6.512e-06/0.3601, allocations: 3.938 kB / 1.178 GB, free: 11.47 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.264e-06/0.3601, allocations: 0 / 1.178 GB, free: 11.47 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.149e-05/0.3602, allocations: 0 / 1.178 GB, free: 11.47 MB / 0.9356 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.002627/0.3628, allocations: 1.245 MB / 1.179 GB, free: 10.18 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.749e-05/0.3629, allocations: 11.97 kB / 1.179 GB, free: 10.16 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001005/0.363, allocations: 70.72 kB / 1.179 GB, free: 10.09 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002281/0.3632, allocations: 99.81 kB / 1.179 GB, free: 9.988 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001366/0.3646, allocations: 0.6636 MB / 1.18 GB, free: 9.285 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.385e-05/0.3647, allocations: 49.02 kB / 1.18 GB, free: 9.238 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.865e-05/0.3648, allocations: 60.12 kB / 1.18 GB, free: 9.18 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006808/0.3654, allocations: 399 kB / 1.18 GB, free: 8.754 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.3e-05/0.3655, allocations: 0 / 1.18 GB, free: 8.754 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.109e-05/0.3655, allocations: 20 kB / 1.18 GB, free: 8.734 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.215e-05/0.3655, allocations: 8 kB / 1.18 GB, free: 8.727 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000403/0.3659, allocations: 222.4 kB / 1.18 GB, free: 8.512 MB / 0.9356 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.003408/0.3694, allocations: 2.498 MB / 1.183 GB, free: 5.816 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001332/0.3707, allocations: 487.1 kB / 1.183 GB, free: 5.332 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000256/0.371, allocations: 161.1 kB / 1.183 GB, free: 5.172 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.325e-05/0.371, allocations: 240 / 1.183 GB, free: 5.172 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.516e-05/0.3711, allocations: 38.8 kB / 1.183 GB, free: 5.125 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=28): time 1.954e-06/0.3711, allocations: 4 kB / 1.183 GB, free: 5.121 MB / 0.9356 GB Notification: Performance of matching and sorting (n=30): time 0.00225/0.3733, allocations: 1.198 MB / 1.185 GB, free: 3.852 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.794e-05/0.3734, allocations: 59.41 kB / 1.185 GB, free: 3.781 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001305/0.3747, allocations: 0.9193 MB / 1.186 GB, free: 2.852 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 6.508e-05/0.3748, allocations: 41.7 kB / 1.186 GB, free: 2.805 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003026/0.3751, allocations: 372.7 kB / 1.186 GB, free: 2.438 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001161/0.3752, allocations: 106.4 kB / 1.186 GB, free: 2.332 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002503/0.3755, allocations: 170.6 kB / 1.186 GB, free: 2.16 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.000182/0.3757, allocations: 398.7 kB / 1.187 GB, free: 1.762 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003877/0.3761, allocations: 225.8 kB / 1.187 GB, free: 1.539 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006114/0.3767, allocations: 0.6192 MB / 1.187 GB, free: 0.7305 MB / 0.9356 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.003106/0.3798, allocations: 1.765 MB / 1.189 GB, free: 14.73 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.339e-05/0.3798, allocations: 11.94 kB / 1.189 GB, free: 14.72 MB / 0.9512 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001616/0.3814, allocations: 0.8957 MB / 1.19 GB, free: 13.82 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 3.169e-05/0.3815, allocations: 12 kB / 1.19 GB, free: 13.8 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.444e-05/0.3815, allocations: 15.98 kB / 1.19 GB, free: 13.79 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002093/0.3817, allocations: 49.28 kB / 1.19 GB, free: 13.74 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007012/0.3825, allocations: 215.6 kB / 1.19 GB, free: 13.53 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001205/0.3837, allocations: 1.46 MB / 1.192 GB, free: 11.93 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007881/0.3845, allocations: 43.97 kB / 1.192 GB, free: 11.88 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.427e-05/0.3846, allocations: 40 kB / 1.192 GB, free: 11.84 MB / 0.9512 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.0003936/0.385, allocations: 305 kB / 1.192 GB, free: 11.54 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001733/0.3851, allocations: 90.75 kB / 1.192 GB, free: 11.45 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001492/0.3853, allocations: 84.52 kB / 1.192 GB, free: 11.36 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/0.3853, allocations: 4 kB / 1.192 GB, free: 11.36 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.3853, allocations: 0 / 1.192 GB, free: 11.36 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.3853, allocations: 0 / 1.192 GB, free: 11.36 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00173/0.3871, allocations: 1.141 MB / 1.193 GB, free: 10.15 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.1e-06/0.3871, allocations: 4 kB / 1.193 GB, free: 10.14 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004342/0.3875, allocations: 79.88 kB / 1.194 GB, free: 10.07 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001362/0.3877, allocations: 40.78 kB / 1.194 GB, free: 10.02 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.624e-05/0.3877, allocations: 16.11 kB / 1.194 GB, free: 10.01 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00104/0.3888, allocations: 1.445 MB / 1.195 GB, free: 8.422 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.3888, allocations: 0 / 1.195 GB, free: 8.422 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009645/0.3898, allocations: 0.6584 MB / 1.196 GB, free: 7.73 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003474/0.3901, allocations: 204 kB / 1.196 GB, free: 7.512 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001296/0.3903, allocations: 8 kB / 1.196 GB, free: 7.504 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004488/0.3907, allocations: 15.98 kB / 1.196 GB, free: 7.488 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.237e-05/0.3908, allocations: 19.97 kB / 1.196 GB, free: 7.469 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.849e-05/0.3908, allocations: 8 kB / 1.196 GB, free: 7.461 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.000907/0.3917, allocations: 0.6239 MB / 1.196 GB, free: 6.844 MB / 0.9512 GB Notification: Performance of sort global known variables: time 2.7e-07/0.3917, allocations: 0 / 1.196 GB, free: 6.844 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0008107/0.3926, allocations: 215.9 kB / 1.197 GB, free: 6.633 MB / 0.9512 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.001165/0.3937, allocations: 1.188 MB / 1.198 GB, free: 5.402 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.001224/0.395, allocations: 0.6461 MB / 1.198 GB, free: 4.746 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.918e-06/0.395, allocations: 0 / 1.198 GB, free: 4.746 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0003944/0.3954, allocations: 270.5 kB / 1.199 GB, free: 4.469 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009484/0.3963, allocations: 169.7 kB / 1.199 GB, free: 4.301 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01089/0.4072, allocations: 7.399 MB / 1.206 GB, free: 12.36 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006461/0.408, allocations: 0.976 MB / 1.207 GB, free: 11.35 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0004686/0.4084, allocations: 157.8 kB / 1.207 GB, free: 11.2 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004227/0.4089, allocations: 299.3 kB / 1.208 GB, free: 10.91 MB / 0.9669 GB Notification: Performance of SimCode: time 8.01e-07/0.4089, allocations: 0 / 1.208 GB, free: 10.91 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04598/0.4549, allocations: 16.07 MB / 1.223 GB, free: 11.09 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.18/11.63, allocations: 0 / 1.223 GB, free: 11.09 MB / 0.9825 GB (rm -f Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe ; mkfifo Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe ; head -c 1048576 < Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe >> ../files/Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayer.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayer_res.mat --tempDir=temp_Buildings_10_Buildings_HeatTransfer_Examples_ConductorSingleLayer_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_HeatTransfer_Examples_ConductorSingleLayer.fmu > Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayer_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_HeatTransfer_Examples_ConductorSingleLayer.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches