Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.Fluid.Sensors.Examples.Density,fileNamePrefix="Buildings_9_Buildings_Fluid_Sensors_Examples_Density",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.Density,fileNamePrefix="Buildings_9_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.005028/0.005028, allocations: 103.2 kB / 15.73 MB, free: 6.004 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.001204/0.001204, allocations: 191.2 kB / 16.67 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.325/1.325, allocations: 222.9 MB / 240.4 MB, free: 15.15 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.177/2.177, allocations: 390.3 MB / 0.6648 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001333/0.001334, allocations: 63.91 kB / 0.9504 GB, free: 8.145 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6855/0.6868, allocations: 140.4 MB / 1.087 GB, free: 5.27 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Density): time 0.2099/0.8968, allocations: 185.1 MB / 1.268 GB, free: 4.664 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01055/0.9074, allocations: 6.974 MB / 1.275 GB, free: 13.67 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001204/0.9086, allocations: 31.81 kB / 1.275 GB, free: 13.64 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.001372/0.91, allocations: 401.5 kB / 1.275 GB, free: 13.24 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.00395/0.914, allocations: 1.446 MB / 1.277 GB, free: 11.79 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.002976/0.917, allocations: 1.16 MB / 1.278 GB, free: 10.63 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.002458/0.9195, allocations: 1.946 MB / 1.28 GB, free: 8.684 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001123/0.9206, allocations: 0.657 MB / 1.281 GB, free: 8.016 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001812/0.9225, allocations: 0.825 MB / 1.281 GB, free: 7.188 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00133/0.9238, allocations: 0.6017 MB / 1.282 GB, free: 6.586 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0001589/0.924, allocations: 68 kB / 1.282 GB, free: 6.52 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00367/0.9277, allocations: 1.925 MB / 1.284 GB, free: 4.59 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.000391/0.9281, allocations: 291.2 kB / 1.284 GB, free: 4.305 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.000677/0.9288, allocations: 430 kB / 1.285 GB, free: 3.883 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.003234/0.932, allocations: 1.765 MB / 1.286 GB, free: 2.113 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.932, allocations: 0 / 1.286 GB, free: 2.113 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.663e-06/0.932, allocations: 0 / 1.286 GB, free: 2.113 MB / 1.014 GB Notification: Performance of Transformations before backend: time 2.906e-05/0.9321, allocations: 4 kB / 1.286 GB, free: 2.109 MB / 1.014 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.002158/0.9342, allocations: 1.157 MB / 1.287 GB, free: 0.9023 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4e-05/0.9343, allocations: 8.031 kB / 1.287 GB, free: 0.8945 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001266/0.9344, allocations: 94.52 kB / 1.287 GB, free: 0.793 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002962/0.9374, allocations: 278.7 kB / 1.288 GB, free: 0.5195 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001672/0.9391, allocations: 0.6143 MB / 1.288 GB, free: 15.86 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.496e-05/0.9391, allocations: 37.31 kB / 1.288 GB, free: 15.82 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001493/0.9393, allocations: 60 kB / 1.288 GB, free: 15.77 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001699/0.941, allocations: 0.6361 MB / 1.289 GB, free: 15.11 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.679e-05/0.9411, allocations: 0 / 1.289 GB, free: 15.11 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.581e-05/0.9412, allocations: 20 kB / 1.289 GB, free: 15.09 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.873e-05/0.9412, allocations: 25.31 kB / 1.289 GB, free: 15.07 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001565/0.9428, allocations: 0.5204 MB / 1.29 GB, free: 14.55 MB / 1.029 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.004776/0.9476, allocations: 2.453 MB / 1.292 GB, free: 11.88 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001057/0.9487, allocations: 354.1 kB / 1.292 GB, free: 11.53 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006261/0.9493, allocations: 243 kB / 1.293 GB, free: 11.29 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008268/0.9502, allocations: 311.5 kB / 1.293 GB, free: 10.93 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.92e-05/0.9502, allocations: 38.83 kB / 1.293 GB, free: 10.89 MB / 1.029 GB Notification: Performance of pre-optimization done (n=39): time 3.536e-06/0.9502, allocations: 0 / 1.293 GB, free: 10.89 MB / 1.029 GB Notification: Performance of matching and sorting (n=39): time 0.001862/0.9521, allocations: 0.6186 MB / 1.294 GB, free: 10.26 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.288e-05/0.9522, allocations: 55.41 kB / 1.294 GB, free: 10.2 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006524/0.9528, allocations: 0.4989 MB / 1.294 GB, free: 9.688 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 5.642e-05/0.9529, allocations: 37.7 kB / 1.294 GB, free: 9.645 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002578/0.9532, allocations: 328.4 kB / 1.294 GB, free: 9.316 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001457/0.9533, allocations: 138 kB / 1.295 GB, free: 9.18 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001786/0.9535, allocations: 86.12 kB / 1.295 GB, free: 9.09 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001656/0.9537, allocations: 366.8 kB / 1.295 GB, free: 8.723 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000343/0.954, allocations: 174.5 kB / 1.295 GB, free: 8.551 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004199/0.9544, allocations: 287.4 kB / 1.295 GB, free: 8.227 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007295/0.9552, allocations: 452.2 kB / 1.296 GB, free: 7.754 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.01e-06/0.9552, allocations: 4 kB / 1.296 GB, free: 7.75 MB / 1.029 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0009716/0.9562, allocations: 0.5239 MB / 1.296 GB, free: 7.219 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.339e-05/0.9562, allocations: 4 kB / 1.296 GB, free: 7.215 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.32e-05/0.9562, allocations: 15.98 kB / 1.296 GB, free: 7.199 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.393e-05/0.9563, allocations: 7.984 kB / 1.296 GB, free: 7.191 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000738/0.957, allocations: 132.1 kB / 1.297 GB, free: 7.062 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000346/0.9574, allocations: 0.5938 MB / 1.297 GB, free: 6.445 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005786/0.958, allocations: 47.52 kB / 1.297 GB, free: 6.398 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.31e-05/0.958, allocations: 28.08 kB / 1.297 GB, free: 6.371 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005483/0.9586, allocations: 348.9 kB / 1.298 GB, free: 6.027 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003829/0.959, allocations: 275.4 kB / 1.298 GB, free: 5.723 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007027/0.9597, allocations: 452.6 kB / 1.298 GB, free: 5.25 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.565e-06/0.9597, allocations: 0 / 1.298 GB, free: 5.25 MB / 1.029 GB Notification: Performance of matching and sorting (n=53) (initialization_lambda0): time 0.0009037/0.9606, allocations: 0.528 MB / 1.299 GB, free: 4.715 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.265e-05/0.9606, allocations: 8 kB / 1.299 GB, free: 4.707 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.744e-06/0.9606, allocations: 7.938 kB / 1.299 GB, free: 4.699 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.903e-06/0.9606, allocations: 4 kB / 1.299 GB, free: 4.695 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005513/0.9612, allocations: 111.9 kB / 1.299 GB, free: 4.586 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.137e-05/0.9612, allocations: 11.94 kB / 1.299 GB, free: 4.574 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005766/0.9618, allocations: 43.73 kB / 1.299 GB, free: 4.531 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.09e-05/0.9619, allocations: 20 kB / 1.299 GB, free: 4.512 MB / 1.029 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.0001861/0.9621, allocations: 204.7 kB / 1.299 GB, free: 4.305 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001368/0.9622, allocations: 63.19 kB / 1.299 GB, free: 4.242 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009315/0.9631, allocations: 487.9 kB / 1.3 GB, free: 3.754 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-06/0.9631, allocations: 4 kB / 1.3 GB, free: 3.75 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.9632, allocations: 8 kB / 1.3 GB, free: 3.742 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007855/0.964, allocations: 0.7029 MB / 1.3 GB, free: 2.953 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002013/0.966, allocations: 1.288 MB / 1.302 GB, free: 1.586 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.466e-06/0.966, allocations: 0 / 1.302 GB, free: 1.586 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006325/0.9666, allocations: 127.8 kB / 1.302 GB, free: 1.461 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.556e-06/0.9667, allocations: 0 / 1.302 GB, free: 1.461 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.707e-05/0.9667, allocations: 20.16 kB / 1.302 GB, free: 1.441 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002919/0.967, allocations: 0.5937 MB / 1.302 GB, free: 0.8242 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.093e-06/0.967, allocations: 3.938 kB / 1.302 GB, free: 0.8203 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001176/0.9682, allocations: 0.7902 MB / 1.303 GB, free: 15.99 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002721/0.9685, allocations: 188.2 kB / 1.303 GB, free: 15.79 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.554e-05/0.9686, allocations: 15.94 kB / 1.303 GB, free: 15.77 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004506/0.969, allocations: 19.98 kB / 1.303 GB, free: 15.75 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.574e-05/0.9691, allocations: 23.97 kB / 1.303 GB, free: 15.73 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.12e-05/0.9691, allocations: 19.98 kB / 1.303 GB, free: 15.71 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0003813/0.9695, allocations: 350.8 kB / 1.304 GB, free: 15.37 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9695, allocations: 0 / 1.304 GB, free: 15.37 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0009401/0.9705, allocations: 359.2 kB / 1.304 GB, free: 15.02 MB / 1.045 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.001791/0.9723, allocations: 1.445 MB / 1.305 GB, free: 13.54 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.001491/0.9738, allocations: 0.6683 MB / 1.306 GB, free: 12.87 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 4.619e-06/0.9738, allocations: 1.125 kB / 1.306 GB, free: 12.87 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0004156/0.9742, allocations: 228.1 kB / 1.306 GB, free: 12.64 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001652/0.9759, allocations: 364.2 kB / 1.307 GB, free: 12.3 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006722/0.9826, allocations: 5.011 MB / 1.312 GB, free: 7.109 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000531/0.9832, allocations: 0.9573 MB / 1.312 GB, free: 6.125 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.000671/0.9839, allocations: 200.9 kB / 1.313 GB, free: 5.926 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003305/0.9842, allocations: 227.4 kB / 1.313 GB, free: 5.703 MB / 1.045 GB Notification: Performance of SimCode: time 7.81e-07/0.9842, allocations: 0 / 1.313 GB, free: 5.703 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04593/1.03, allocations: 17.86 MB / 1.33 GB, free: 4.152 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.26/13.29, allocations: 6.188 kB / 1.33 GB, free: 4.148 MB / 1.061 GB (rm -f Buildings_9_Buildings.Fluid.Sensors.Examples.Density.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sensors.Examples.Density.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sensors.Examples.Density.pipe >> ../files/Buildings_9_Buildings.Fluid.Sensors.Examples.Density.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Fluid.Sensors.Examples.Density_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.024 Buildings_9_Buildings_Fluid_Sensors_Examples_Density.fmu > Buildings_9_Buildings.Fluid.Sensors.Examples.Density.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Sensors.Examples.Density_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Sensors_Examples_Density.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Sensors.Examples.Density.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches