Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sensors.Examples.Density.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.Fluid.Sensors.Examples.Density,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sensors_Examples_Density",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.Density,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sensors_Examples_Density",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.004732/0.004732, allocations: 97.62 kB / 15.73 MB, free: 6.059 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.0014/0.0014, allocations: 197.7 kB / 16.68 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.355/1.355, 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 12.0.0-master/package.mo): time 2.559/2.559, allocations: 482.6 MB / 0.755 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001689/0.001689, allocations: 71.89 kB / 1.083 GB, free: 12.23 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2563/0.258, allocations: 162.3 MB / 1.242 GB, free: 9.836 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Density): time 0.6602/0.9183, allocations: 185.1 MB / 1.423 GB, free: 9.828 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.008682/0.927, allocations: 6.97 MB / 1.429 GB, free: 4.18 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004162/0.9274, allocations: 33.41 kB / 1.429 GB, free: 4.164 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.000877/0.9283, allocations: 401.9 kB / 1.43 GB, free: 3.832 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.002636/0.931, allocations: 1.441 MB / 1.431 GB, free: 2.723 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.002104/0.9331, allocations: 1.164 MB / 1.432 GB, free: 1.855 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.001733/0.9348, allocations: 1.944 MB / 1.434 GB, free: 0.7305 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006795/0.9355, allocations: 0.6478 MB / 1.435 GB, free: 344 kB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001432/0.937, allocations: 1.025 MB / 1.436 GB, free: 15.72 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001001/0.938, allocations: 0.5921 MB / 1.437 GB, free: 15.37 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 9.231e-05/0.9381, allocations: 68.91 kB / 1.437 GB, free: 15.37 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002762/0.9409, allocations: 1.915 MB / 1.438 GB, free: 13.93 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0002828/0.9412, allocations: 291.2 kB / 1.439 GB, free: 13.64 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.0004162/0.9416, allocations: 434 kB / 1.439 GB, free: 13.22 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.002199/0.9438, allocations: 1.774 MB / 1.441 GB, free: 11.44 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 2.855e-06/0.9438, allocations: 0 / 1.441 GB, free: 11.44 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.303e-06/0.9438, allocations: 0 / 1.441 GB, free: 11.44 MB / 1.139 GB Notification: Performance of Transformations before backend: time 8.766e-06/0.9438, allocations: 0 / 1.441 GB, free: 11.44 MB / 1.139 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 131 * Number of variables: 131 Notification: Performance of Generate backend data structure: time 0.00164/0.9455, allocations: 1.19 MB / 1.442 GB, free: 10.2 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 3.244e-05/0.9455, allocations: 8.031 kB / 1.442 GB, free: 10.19 MB / 1.139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001097/0.9456, allocations: 99.77 kB / 1.442 GB, free: 10.09 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001668/0.9473, allocations: 279.2 kB / 1.442 GB, free: 9.812 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008666/0.9482, allocations: 0.6187 MB / 1.443 GB, free: 9.152 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.368e-05/0.9482, allocations: 41.31 kB / 1.443 GB, free: 9.113 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.79e-05/0.9483, allocations: 59.89 kB / 1.443 GB, free: 9.055 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009745/0.9493, allocations: 0.6401 MB / 1.444 GB, free: 8.398 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.753e-05/0.9493, allocations: 3.938 kB / 1.444 GB, free: 8.395 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.287e-05/0.9494, allocations: 20 kB / 1.444 GB, free: 8.375 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.512e-05/0.9494, allocations: 21.31 kB / 1.444 GB, free: 8.355 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008731/0.9503, allocations: 0.5204 MB / 1.444 GB, free: 7.836 MB / 1.139 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.002775/0.9531, allocations: 2.537 MB / 1.447 GB, free: 5.066 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006076/0.9537, allocations: 356.2 kB / 1.447 GB, free: 4.711 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003677/0.9541, allocations: 239.6 kB / 1.447 GB, free: 4.477 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005303/0.9546, allocations: 307.6 kB / 1.448 GB, free: 4.121 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.504e-05/0.9546, allocations: 37.02 kB / 1.448 GB, free: 4.078 MB / 1.139 GB Notification: Performance of pre-optimization done (n=39): time 1.353e-06/0.9546, allocations: 0 / 1.448 GB, free: 4.078 MB / 1.139 GB Notification: Performance of matching and sorting (n=39): time 0.001284/0.9559, allocations: 0.6267 MB / 1.448 GB, free: 3.445 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.575e-05/0.956, allocations: 55.41 kB / 1.448 GB, free: 3.379 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005344/0.9565, allocations: 0.4911 MB / 1.449 GB, free: 2.875 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 4.316e-05/0.9566, allocations: 37.7 kB / 1.449 GB, free: 2.832 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002245/0.9568, allocations: 325 kB / 1.449 GB, free: 2.512 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001241/0.9569, allocations: 150.7 kB / 1.449 GB, free: 2.363 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001302/0.9571, allocations: 90.08 kB / 1.449 GB, free: 2.27 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001644/0.9572, allocations: 374.7 kB / 1.45 GB, free: 1.895 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003123/0.9576, allocations: 170.5 kB / 1.45 GB, free: 1.723 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003959/0.958, allocations: 287.3 kB / 1.45 GB, free: 1.402 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006867/0.9586, allocations: 456.2 kB / 1.451 GB, free: 0.9258 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.9587, allocations: 0 / 1.451 GB, free: 0.9258 MB / 1.139 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0008551/0.9595, allocations: 0.5282 MB / 1.451 GB, free: 400 kB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 1.316e-05/0.9595, allocations: 7.984 kB / 1.451 GB, free: 392 kB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.231e-06/0.9596, allocations: 4 kB / 1.451 GB, free: 388 kB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.364e-05/0.9596, allocations: 4 kB / 1.451 GB, free: 384 kB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006297/0.9602, allocations: 137.5 kB / 1.451 GB, free: 248 kB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003708/0.9606, allocations: 0.5899 MB / 1.452 GB, free: 15.63 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004434/0.961, allocations: 47.69 kB / 1.452 GB, free: 15.58 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.179e-05/0.9611, allocations: 23.98 kB / 1.452 GB, free: 15.56 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004796/0.9616, allocations: 353 kB / 1.452 GB, free: 15.21 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00039/0.962, allocations: 286.7 kB / 1.453 GB, free: 14.89 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006739/0.9627, allocations: 448.4 kB / 1.453 GB, free: 14.43 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.709e-06/0.9627, allocations: 4 kB / 1.453 GB, free: 14.42 MB / 1.154 GB Notification: Performance of matching and sorting (n=53) (initialization_lambda0): time 0.0008412/0.9635, allocations: 0.5206 MB / 1.453 GB, free: 13.89 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 8.536e-06/0.9635, allocations: 8.031 kB / 1.453 GB, free: 13.89 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.108e-06/0.9635, allocations: 4 kB / 1.453 GB, free: 13.88 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.302e-06/0.9636, allocations: 7.938 kB / 1.453 GB, free: 13.88 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00046/0.964, allocations: 126.9 kB / 1.454 GB, free: 13.75 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.982e-06/0.964, allocations: 5.562 kB / 1.454 GB, free: 13.75 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004153/0.9645, allocations: 35.83 kB / 1.454 GB, free: 13.71 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.124e-05/0.9645, allocations: 20 kB / 1.454 GB, free: 13.7 MB / 1.154 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (53): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001422/0.9646, allocations: 216.1 kB / 1.454 GB, free: 13.48 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.154e-05/0.9647, allocations: 63.56 kB / 1.454 GB, free: 13.41 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008338/0.9656, allocations: 482.7 kB / 1.454 GB, free: 12.93 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.429e-06/0.9656, allocations: 4 kB / 1.454 GB, free: 12.93 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.9656, allocations: 0 / 1.454 GB, free: 12.93 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007904/0.9664, allocations: 0.712 MB / 1.455 GB, free: 12.13 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001756/0.9682, allocations: 1.284 MB / 1.456 GB, free: 10.77 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.9682, allocations: 0 / 1.456 GB, free: 10.77 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005594/0.9687, allocations: 125.2 kB / 1.456 GB, free: 10.64 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.25e-06/0.9688, allocations: 7.938 kB / 1.456 GB, free: 10.64 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.926e-05/0.9688, allocations: 12 kB / 1.456 GB, free: 10.62 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003057/0.9691, allocations: 0.5939 MB / 1.457 GB, free: 10.01 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.9691, allocations: 4.031 kB / 1.457 GB, free: 10 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001112/0.9702, allocations: 0.8019 MB / 1.458 GB, free: 9.16 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002049/0.9704, allocations: 192.6 kB / 1.458 GB, free: 8.953 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.134e-05/0.9705, allocations: 11.94 kB / 1.458 GB, free: 8.941 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00037/0.9709, allocations: 23.09 kB / 1.458 GB, free: 8.922 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.933e-05/0.971, allocations: 23.97 kB / 1.458 GB, free: 8.898 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.823e-05/0.971, allocations: 19.98 kB / 1.458 GB, free: 8.879 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0003709/0.9714, allocations: 358.8 kB / 1.458 GB, free: 8.531 MB / 1.154 GB Notification: Performance of sort global known variables: time 1.51e-07/0.9714, allocations: 0 / 1.458 GB, free: 8.531 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0007598/0.9722, allocations: 359.3 kB / 1.459 GB, free: 8.18 MB / 1.154 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (vol.dynBal.medium.Xi[1],vol.dynBal.U,vol.dynBal.m,senDenFlo.d) * 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 (39): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001693/0.9739, allocations: 1.447 MB / 1.46 GB, free: 6.695 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.001287/0.9752, allocations: 0.6758 MB / 1.461 GB, free: 6.02 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.9752, allocations: 0 / 1.461 GB, free: 6.02 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.0003976/0.9756, allocations: 216.8 kB / 1.461 GB, free: 5.809 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001444/0.977, allocations: 355.8 kB / 1.461 GB, free: 5.473 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006131/0.9832, allocations: 5.048 MB / 1.466 GB, free: 248 kB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005469/0.9837, allocations: 0.9535 MB / 1.467 GB, free: 15.26 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.0005211/0.9842, allocations: 200.9 kB / 1.467 GB, free: 15.07 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002952/0.9846, allocations: 227.4 kB / 1.468 GB, free: 14.84 MB / 1.17 GB Notification: Performance of SimCode: time 2.6e-07/0.9846, allocations: 4 kB / 1.468 GB, free: 14.84 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.092/3.076, allocations: 17.87 MB / 1.485 GB, free: 13.25 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.72/23.8, allocations: 10.58 kB / 1.485 GB, free: 13.25 MB / 1.186 GB (rm -f Buildings_latest_Buildings.Fluid.Sensors.Examples.Density.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Examples.Density.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Examples.Density.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.Density.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Sensors.Examples.Density_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Sensors_Examples_Density_fmu --startTime=0 --stopTime=60 --timeout=400 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Sensors_Examples_Density.fmu > Buildings_latest_Buildings.Fluid.Sensors.Examples.Density.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Sensors.Examples.Density_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sensors_Examples_Density.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sensors.Examples.Density.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches