Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.Fluid.Sensors.Examples.Density,fileNamePrefix="Buildings_10_Buildings_Fluid_Sensors_Examples_Density",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.Density,fileNamePrefix="Buildings_10_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.008559/0.008559, allocations: 101.4 kB / 15.73 MB, free: 6.48 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.002219/0.002219, allocations: 196.1 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.501/1.501, allocations: 222.9 MB / 240.4 MB, free: 4.352 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.631/2.631, allocations: 437 MB / 0.7105 GB, free: 5.02 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001478/0.001479, allocations: 63.91 kB / 1.018 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.335/0.3365, allocations: 151.6 MB / 1.166 GB, free: 7.285 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Density): time 0.9822/1.319, allocations: 185.1 MB / 1.347 GB, free: 6.773 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.01136/1.33, allocations: 6.96 MB / 1.354 GB, free: 1.836 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001505/1.332, allocations: 29.94 kB / 1.354 GB, free: 1.824 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001541/1.333, allocations: 412.4 kB / 1.354 GB, free: 1.582 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.004998/1.338, allocations: 1.506 MB / 1.356 GB, free: 0.7656 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.004087/1.342, allocations: 1.189 MB / 1.357 GB, free: 160 kB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.003693/1.346, allocations: 1.946 MB / 1.359 GB, free: 15.27 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00138/1.348, allocations: 0.6594 MB / 1.359 GB, free: 14.97 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002573/1.35, allocations: 0.8523 MB / 1.36 GB, free: 14.59 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001925/1.352, allocations: 0.5999 MB / 1.361 GB, free: 14.33 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0003161/1.352, allocations: 67.84 kB / 1.361 GB, free: 14.33 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004905/1.357, allocations: 1.941 MB / 1.363 GB, free: 13.57 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.000609/1.358, allocations: 286.5 kB / 1.363 GB, free: 13.46 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.001192/1.359, allocations: 430.8 kB / 1.363 GB, free: 13.21 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.004776/1.364, allocations: 1.767 MB / 1.365 GB, free: 12.43 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/1.364, allocations: 0 / 1.365 GB, free: 12.43 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.903e-06/1.364, allocations: 4 kB / 1.365 GB, free: 12.43 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.38e-05/1.364, allocations: 0 / 1.365 GB, free: 12.43 MB / 1.045 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.003255/1.367, allocations: 1.163 MB / 1.366 GB, free: 11.51 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.762e-05/1.367, allocations: 10.94 kB / 1.366 GB, free: 11.51 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001529/1.368, allocations: 96.91 kB / 1.366 GB, free: 11.42 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001997/1.37, allocations: 265.3 kB / 1.367 GB, free: 11.3 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001285/1.371, allocations: 0.6175 MB / 1.367 GB, free: 10.8 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.593e-05/1.371, allocations: 48.69 kB / 1.367 GB, free: 10.77 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001067/1.371, allocations: 52.44 kB / 1.367 GB, free: 10.76 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001174/1.372, allocations: 0.6298 MB / 1.368 GB, free: 10.38 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.972e-05/1.372, allocations: 5.062 kB / 1.368 GB, free: 10.38 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.263e-05/1.372, allocations: 20.88 kB / 1.368 GB, free: 10.36 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.45e-05/1.372, allocations: 27.06 kB / 1.368 GB, free: 10.35 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000918/1.373, allocations: 0.5209 MB / 1.368 GB, free: 10.1 MB / 1.045 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.003167/1.376, allocations: 2.451 MB / 1.371 GB, free: 7.953 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006937/1.377, allocations: 366.1 kB / 1.371 GB, free: 7.766 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004239/1.378, allocations: 237.9 kB / 1.371 GB, free: 7.648 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006158/1.378, allocations: 309.8 kB / 1.372 GB, free: 7.336 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.402e-05/1.378, allocations: 36.67 kB / 1.372 GB, free: 7.293 MB / 1.045 GB Notification: Performance of pre-optimization done (n=39): time 1.813e-06/1.378, allocations: 4 kB / 1.372 GB, free: 7.289 MB / 1.045 GB Notification: Performance of matching and sorting (n=39): time 0.001381/1.38, allocations: 0.6139 MB / 1.372 GB, free: 6.984 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.395e-05/1.38, allocations: 55.53 kB / 1.372 GB, free: 6.922 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006472/1.38, allocations: 0.4887 MB / 1.373 GB, free: 6.625 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 5.005e-05/1.38, allocations: 36.8 kB / 1.373 GB, free: 6.586 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002667/1.381, allocations: 337.9 kB / 1.373 GB, free: 6.289 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001424/1.381, allocations: 134.7 kB / 1.373 GB, free: 6.172 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001906/1.381, allocations: 89.64 kB / 1.373 GB, free: 6.117 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001883/1.381, allocations: 371.2 kB / 1.374 GB, free: 5.758 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00035/1.382, allocations: 175.9 kB / 1.374 GB, free: 5.664 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004648/1.382, allocations: 276 kB / 1.374 GB, free: 5.461 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000921/1.383, allocations: 454.2 kB / 1.375 GB, free: 5.18 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.445e-06/1.383, allocations: 4.875 kB / 1.375 GB, free: 5.176 MB / 1.045 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0009512/1.384, allocations: 0.5301 MB / 1.375 GB, free: 4.898 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.791e-05/1.384, allocations: 5.031 kB / 1.375 GB, free: 4.898 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.155e-06/1.384, allocations: 2.75 kB / 1.375 GB, free: 4.898 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.218e-05/1.384, allocations: 4.969 kB / 1.375 GB, free: 4.898 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006682/1.385, allocations: 127.9 kB / 1.375 GB, free: 4.867 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004561/1.385, allocations: 0.5947 MB / 1.376 GB, free: 4.266 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005861/1.386, allocations: 56.77 kB / 1.376 GB, free: 4.227 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.96e-05/1.386, allocations: 22.95 kB / 1.376 GB, free: 4.219 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005129/1.386, allocations: 349.9 kB / 1.376 GB, free: 4 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003975/1.387, allocations: 279.6 kB / 1.377 GB, free: 3.793 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006943/1.387, allocations: 457.4 kB / 1.377 GB, free: 3.508 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.549e-06/1.387, allocations: 0.7812 kB / 1.377 GB, free: 3.508 MB / 1.045 GB Notification: Performance of matching and sorting (n=53) (initialization_lambda0): time 0.0008882/1.388, allocations: 0.517 MB / 1.378 GB, free: 3.242 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.102e-05/1.388, allocations: 9.531 kB / 1.378 GB, free: 3.238 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.978e-06/1.388, allocations: 6.25 kB / 1.378 GB, free: 3.234 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.317e-06/1.388, allocations: 9 kB / 1.378 GB, free: 3.23 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004589/1.389, allocations: 118.5 kB / 1.378 GB, free: 3.199 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.466e-06/1.389, allocations: 5.062 kB / 1.378 GB, free: 3.199 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005228/1.389, allocations: 44.98 kB / 1.378 GB, free: 3.168 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.377e-05/1.389, allocations: 27.62 kB / 1.378 GB, free: 3.156 MB / 1.045 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.0002039/1.39, allocations: 202.1 kB / 1.378 GB, free: 2.961 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001171/1.39, allocations: 63.72 kB / 1.378 GB, free: 2.926 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008835/1.391, allocations: 487.1 kB / 1.378 GB, free: 2.648 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.371e-06/1.391, allocations: 9.188 kB / 1.378 GB, free: 2.645 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/1.391, allocations: 0 / 1.378 GB, free: 2.645 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007783/1.392, allocations: 0.7024 MB / 1.379 GB, free: 2.043 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001972/1.394, allocations: 1.281 MB / 1.38 GB, free: 1.109 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/1.394, allocations: 2.781 kB / 1.38 GB, free: 1.109 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006007/1.394, allocations: 122.8 kB / 1.381 GB, free: 1.078 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.336e-06/1.394, allocations: 2.969 kB / 1.381 GB, free: 1.078 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.74e-05/1.394, allocations: 12.94 kB / 1.381 GB, free: 1.07 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003263/1.395, allocations: 0.603 MB / 1.381 GB, free: 472 kB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/1.395, allocations: 0 / 1.381 GB, free: 472 kB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001138/1.396, allocations: 0.798 MB / 1.382 GB, free: 15.95 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002807/1.396, allocations: 177.2 kB / 1.382 GB, free: 15.79 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001002/1.396, allocations: 24.38 kB / 1.382 GB, free: 15.77 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004236/1.397, allocations: 18.83 kB / 1.382 GB, free: 15.76 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.95e-05/1.397, allocations: 24.19 kB / 1.382 GB, free: 15.75 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.341e-05/1.397, allocations: 18.36 kB / 1.382 GB, free: 15.74 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0003968/1.397, allocations: 349.2 kB / 1.382 GB, free: 15.54 MB / 1.061 GB Notification: Performance of sort global known variables: time 3.11e-07/1.397, allocations: 0 / 1.382 GB, free: 15.54 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.001066/1.398, allocations: 366.6 kB / 1.383 GB, free: 15.46 MB / 1.061 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.001869/1.4, allocations: 1.454 MB / 1.384 GB, free: 14.36 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.001443/1.401, allocations: 0.6744 MB / 1.385 GB, free: 14.05 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 4.519e-06/1.401, allocations: 3.938 kB / 1.385 GB, free: 14.05 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0004268/1.402, allocations: 220.9 kB / 1.385 GB, free: 13.96 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001544/1.403, allocations: 349.8 kB / 1.385 GB, free: 13.78 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007606/1.411, allocations: 5.014 MB / 1.39 GB, free: 10.42 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005685/1.412, allocations: 0.9481 MB / 1.391 GB, free: 9.602 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0006977/1.412, allocations: 201.8 kB / 1.391 GB, free: 9.516 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003478/1.413, allocations: 228.4 kB / 1.392 GB, free: 9.332 MB / 1.061 GB Notification: Performance of SimCode: time 5.1e-07/1.413, allocations: 4 kB / 1.392 GB, free: 9.328 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04758/1.46, allocations: 17.87 MB / 1.409 GB, free: 11.32 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.48/13.94, allocations: 17.55 kB / 1.409 GB, free: 11.31 MB / 1.076 GB (rm -f Buildings_10_Buildings.Fluid.Sensors.Examples.Density.pipe ; mkfifo Buildings_10_Buildings.Fluid.Sensors.Examples.Density.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Sensors.Examples.Density.pipe >> ../files/Buildings_10_Buildings.Fluid.Sensors.Examples.Density.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.Sensors.Examples.Density_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_Sensors_Examples_Density_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_Sensors_Examples_Density.fmu > Buildings_10_Buildings.Fluid.Sensors.Examples.Density.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Sensors.Examples.Density_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Sensors_Examples_Density.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Sensors.Examples.Density.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches