Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings_HeatTransfer_Examples_ConductorSingleLayer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorSingleLayer,fileNamePrefix="Buildings_latest_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.007419/0.007419, allocations: 99.64 kB / 15.73 MB, free: 6.469 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.001542/0.001543, allocations: 191.9 kB / 16.67 MB, free: 6.379 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.491/1.491, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.838/2.838, allocations: 461.9 MB / 0.7348 GB, free: 14.6 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001467/0.001467, allocations: 71.89 kB / 1.054 GB, free: 7.648 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3548/0.3563, allocations: 157.4 MB / 1.207 GB, free: 10.14 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayer): time 0.005595/0.3619, allocations: 3.724 MB / 1.211 GB, free: 6.387 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.004676/0.3666, allocations: 2.497 MB / 1.213 GB, free: 3.883 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000699/0.3673, allocations: 11.94 kB / 1.213 GB, free: 3.871 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.001053/0.3684, allocations: 254.3 kB / 1.214 GB, free: 3.621 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001405/0.3699, allocations: 0.4977 MB / 1.214 GB, free: 3.121 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001613/0.3715, allocations: 0.5402 MB / 1.215 GB, free: 2.582 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.001843/0.3733, allocations: 1.367 MB / 1.216 GB, free: 1.211 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002819/0.3736, allocations: 149.1 kB / 1.216 GB, free: 1.066 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007213/0.3744, allocations: 454.4 kB / 1.216 GB, free: 0.6211 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006484/0.375, allocations: 482.1 kB / 1.217 GB, free: 152 kB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 8.476e-05/0.3751, allocations: 56 kB / 1.217 GB, free: 96 kB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001167/0.3753, allocations: 60 kB / 1.217 GB, free: 36 kB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0003719/0.3756, allocations: 347 kB / 1.217 GB, free: 15.7 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0004164/0.3761, allocations: 453.6 kB / 1.218 GB, free: 15.25 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0008237/0.3769, allocations: 0.9107 MB / 1.219 GB, free: 14.34 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.3769, allocations: 8 kB / 1.219 GB, free: 14.33 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.713e-06/0.3769, allocations: 0 / 1.219 GB, free: 14.33 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.426e-05/0.3769, allocations: 4 kB / 1.219 GB, free: 14.32 MB / 0.9825 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.002041/0.379, allocations: 1.245 MB / 1.22 GB, free: 13.02 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.497e-05/0.379, allocations: 16.62 kB / 1.22 GB, free: 13 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.063e-05/0.3791, allocations: 66.72 kB / 1.22 GB, free: 12.93 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001425/0.3793, allocations: 103.7 kB / 1.22 GB, free: 12.83 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009364/0.3802, allocations: 0.6676 MB / 1.221 GB, free: 12.12 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.25e-05/0.3802, allocations: 37.03 kB / 1.221 GB, free: 12.08 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.633e-05/0.3803, allocations: 64.06 kB / 1.221 GB, free: 12.02 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005451/0.3809, allocations: 399 kB / 1.221 GB, free: 11.6 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.188e-05/0.3809, allocations: 0 / 1.221 GB, free: 11.6 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.471e-05/0.3809, allocations: 12 kB / 1.221 GB, free: 11.59 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.879e-06/0.381, allocations: 8 kB / 1.221 GB, free: 11.58 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003669/0.3813, allocations: 230.4 kB / 1.221 GB, free: 11.35 MB / 0.9825 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.00275/0.3841, allocations: 2.494 MB / 1.224 GB, free: 8.66 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001288/0.3854, allocations: 495.1 kB / 1.224 GB, free: 8.168 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002308/0.3856, allocations: 153.2 kB / 1.225 GB, free: 8.016 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.085e-05/0.3857, allocations: 8.234 kB / 1.225 GB, free: 8.008 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.26e-05/0.3857, allocations: 34.8 kB / 1.225 GB, free: 7.965 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=28): time 1.763e-06/0.3857, allocations: 0 / 1.225 GB, free: 7.965 MB / 0.9825 GB Notification: Performance of matching and sorting (n=30): time 0.002021/0.3877, allocations: 1.209 MB / 1.226 GB, free: 6.684 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.201e-05/0.3878, allocations: 55.41 kB / 1.226 GB, free: 6.617 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001117/0.3889, allocations: 0.9193 MB / 1.227 GB, free: 5.691 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.772e-05/0.389, allocations: 37.7 kB / 1.227 GB, free: 5.648 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002754/0.3892, allocations: 368.7 kB / 1.227 GB, free: 5.281 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001025/0.3893, allocations: 114.4 kB / 1.227 GB, free: 5.168 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001993/0.3896, allocations: 170.6 kB / 1.227 GB, free: 4.996 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000174/0.3897, allocations: 390.7 kB / 1.228 GB, free: 4.605 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003546/0.3901, allocations: 237.8 kB / 1.228 GB, free: 4.371 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007019/0.3908, allocations: 0.6192 MB / 1.229 GB, free: 3.562 MB / 0.9825 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.002861/0.3937, allocations: 1.755 MB / 1.23 GB, free: 1.578 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.666e-06/0.3937, allocations: 15.88 kB / 1.23 GB, free: 1.562 MB / 0.9825 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001431/0.3951, allocations: 0.9028 MB / 1.231 GB, free: 0.6484 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.785e-05/0.3952, allocations: 12.84 kB / 1.231 GB, free: 0.6367 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.73e-05/0.3952, allocations: 19.94 kB / 1.231 GB, free: 0.6172 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001931/0.3954, allocations: 52.83 kB / 1.231 GB, free: 0.5625 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006766/0.3961, allocations: 207.6 kB / 1.231 GB, free: 368 kB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001209/0.3973, allocations: 1.464 MB / 1.233 GB, free: 14.76 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007267/0.3981, allocations: 39.98 kB / 1.233 GB, free: 14.72 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.353e-05/0.3981, allocations: 44 kB / 1.233 GB, free: 14.68 MB / 0.9981 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.0003971/0.3985, allocations: 297.7 kB / 1.233 GB, free: 14.38 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001519/0.3987, allocations: 86.89 kB / 1.233 GB, free: 14.29 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001426/0.3988, allocations: 72.53 kB / 1.233 GB, free: 14.22 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.078e-06/0.3988, allocations: 4 kB / 1.233 GB, free: 14.21 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.3989, allocations: 0 / 1.233 GB, free: 14.21 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.322e-06/0.3989, allocations: 3.984 kB / 1.233 GB, free: 14.21 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001745/0.4006, allocations: 1.138 MB / 1.235 GB, free: 13 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.247e-06/0.4006, allocations: 4 kB / 1.235 GB, free: 13 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000386/0.401, allocations: 79.88 kB / 1.235 GB, free: 12.92 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001218/0.4012, allocations: 36.95 kB / 1.235 GB, free: 12.88 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.209e-05/0.4012, allocations: 8 kB / 1.235 GB, free: 12.87 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00109/0.4023, allocations: 1.441 MB / 1.236 GB, free: 11.29 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.4023, allocations: 0 / 1.236 GB, free: 11.29 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009515/0.4033, allocations: 0.6508 MB / 1.237 GB, free: 10.6 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003682/0.4036, allocations: 204.1 kB / 1.237 GB, free: 10.38 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001342/0.4038, allocations: 8 kB / 1.237 GB, free: 10.38 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004194/0.4042, allocations: 19.97 kB / 1.237 GB, free: 10.36 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.701e-05/0.4043, allocations: 19.98 kB / 1.237 GB, free: 10.34 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.896e-05/0.4043, allocations: 8 kB / 1.237 GB, free: 10.33 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.00092/0.4053, allocations: 0.6239 MB / 1.238 GB, free: 9.707 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.4053, allocations: 0 / 1.238 GB, free: 9.707 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0008194/0.4061, allocations: 211.9 kB / 1.238 GB, free: 9.5 MB / 0.9981 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.001254/0.4073, allocations: 1.207 MB / 1.239 GB, free: 8.25 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001172/0.4085, allocations: 0.6375 MB / 1.24 GB, free: 7.602 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.4085, allocations: 0 / 1.24 GB, free: 7.602 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003764/0.4089, allocations: 272.3 kB / 1.24 GB, free: 7.324 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009413/0.4099, allocations: 175.3 kB / 1.24 GB, free: 7.148 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6234/1.033, allocations: 7.382 MB / 1.247 GB, free: 37.2 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006937/1.034, allocations: 0.9844 MB / 1.248 GB, free: 36.5 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.000698/1.035, allocations: 154.1 kB / 1.248 GB, free: 36.49 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004058/1.035, allocations: 292.5 kB / 1.249 GB, free: 36.48 MB / 0.9981 GB Notification: Performance of SimCode: time 1.502e-06/1.035, allocations: 1.062 kB / 1.249 GB, free: 36.48 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0556/1.091, allocations: 16.39 MB / 1.265 GB, free: 35.42 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.68/11.77, allocations: 5.156 kB / 1.265 GB, free: 35.42 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer_res.mat --tempDir=temp_Buildings_latest_Buildings_HeatTransfer_Examples_ConductorSingleLayer_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_HeatTransfer_Examples_ConductorSingleLayer.fmu > Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Examples_ConductorSingleLayer.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches