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 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.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.006715/0.006715, allocations: 99.56 kB / 15.73 MB, free: 6.422 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.001439/0.001439, allocations: 195.3 kB / 16.67 MB, free: 6.34 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.47/1.47, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.792/2.792, allocations: 461.9 MB / 0.7348 GB, free: 14.55 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0014/0.0014, allocations: 67.84 kB / 1.054 GB, free: 7.621 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3357/0.3371, allocations: 157.4 MB / 1.207 GB, free: 10.11 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Density): time 0.9488/1.286, allocations: 185.1 MB / 1.388 GB, free: 3.684 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.0121/1.298, allocations: 6.969 MB / 1.395 GB, free: 14.03 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001783/1.3, allocations: 29.12 kB / 1.395 GB, free: 14.02 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.0017/1.302, allocations: 402.6 kB / 1.395 GB, free: 13.69 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.005358/1.307, allocations: 1.449 MB / 1.397 GB, free: 12.57 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.003969/1.311, allocations: 1.17 MB / 1.398 GB, free: 11.7 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.003719/1.315, allocations: 1.938 MB / 1.4 GB, free: 10.59 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001438/1.316, allocations: 0.6586 MB / 1.4 GB, free: 10.18 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002351/1.319, allocations: 0.8397 MB / 1.401 GB, free: 9.68 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002146/1.321, allocations: 0.6031 MB / 1.402 GB, free: 9.328 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0003085/1.321, allocations: 67.62 kB / 1.402 GB, free: 9.328 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005444/1.327, allocations: 1.925 MB / 1.404 GB, free: 8.246 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0006468/1.327, allocations: 298.8 kB / 1.404 GB, free: 8.043 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.001356/1.329, allocations: 430.9 kB / 1.404 GB, free: 7.777 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.004845/1.333, allocations: 1.755 MB / 1.406 GB, free: 6.695 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 6.843e-06/1.333, allocations: 2.875 kB / 1.406 GB, free: 6.695 MB / 1.092 GB Notification: Performance of FrontEnd: time 4.077e-06/1.334, allocations: 0 / 1.406 GB, free: 6.695 MB / 1.092 GB Notification: Performance of Transformations before backend: time 5.045e-05/1.334, allocations: 3.938 kB / 1.406 GB, free: 6.691 MB / 1.092 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.002962/1.337, allocations: 1.166 MB / 1.407 GB, free: 5.766 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 5.189e-05/1.337, allocations: 10.09 kB / 1.407 GB, free: 5.766 MB / 1.092 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001945/1.337, allocations: 94.27 kB / 1.407 GB, free: 5.684 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002198/1.339, allocations: 270.1 kB / 1.408 GB, free: 5.562 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001457/1.34, allocations: 0.609 MB / 1.408 GB, free: 5.062 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.939e-05/1.341, allocations: 40.28 kB / 1.408 GB, free: 5.047 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001251/1.341, allocations: 56.97 kB / 1.408 GB, free: 5.027 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0013/1.342, allocations: 0.6354 MB / 1.409 GB, free: 4.645 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.748e-05/1.342, allocations: 7.875 kB / 1.409 GB, free: 4.637 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.534e-05/1.342, allocations: 20.91 kB / 1.409 GB, free: 4.621 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.344e-05/1.342, allocations: 19.38 kB / 1.409 GB, free: 4.621 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001116/1.343, allocations: 0.5282 MB / 1.409 GB, free: 4.363 MB / 1.092 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.003986/1.347, allocations: 2.451 MB / 1.412 GB, free: 2.215 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007284/1.348, allocations: 370 kB / 1.412 GB, free: 2.02 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003977/1.348, allocations: 233.6 kB / 1.412 GB, free: 1.906 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00062/1.349, allocations: 305.3 kB / 1.413 GB, free: 1.598 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.637e-05/1.349, allocations: 43.97 kB / 1.413 GB, free: 1.551 MB / 1.092 GB Notification: Performance of pre-optimization done (n=39): time 2.214e-06/1.349, allocations: 0 / 1.413 GB, free: 1.551 MB / 1.092 GB Notification: Performance of matching and sorting (n=39): time 0.001603/1.351, allocations: 0.6108 MB / 1.413 GB, free: 1.246 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.028e-05/1.351, allocations: 65.38 kB / 1.413 GB, free: 1.176 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007039/1.351, allocations: 0.4905 MB / 1.414 GB, free: 0.8789 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 5.427e-05/1.352, allocations: 32.55 kB / 1.414 GB, free: 0.8438 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002799/1.352, allocations: 333.3 kB / 1.414 GB, free: 0.5469 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.000153/1.352, allocations: 136.2 kB / 1.414 GB, free: 440 kB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001786/1.352, allocations: 93.41 kB / 1.414 GB, free: 380 kB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001833/1.352, allocations: 367.7 kB / 1.415 GB, free: 16 kB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003919/1.353, allocations: 178.2 kB / 1.415 GB, free: 15.92 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004514/1.353, allocations: 281.9 kB / 1.415 GB, free: 15.71 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007837/1.354, allocations: 455.5 kB / 1.416 GB, free: 15.43 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.559e-06/1.354, allocations: 1.812 kB / 1.416 GB, free: 15.43 MB / 1.107 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001103/1.355, allocations: 0.5234 MB / 1.416 GB, free: 15.16 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 2.031e-05/1.355, allocations: 4.406 kB / 1.416 GB, free: 15.16 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.025e-05/1.355, allocations: 6.938 kB / 1.416 GB, free: 15.16 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.741e-05/1.355, allocations: 4.906 kB / 1.416 GB, free: 15.16 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007549/1.356, allocations: 130.8 kB / 1.416 GB, free: 15.12 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005775/1.357, allocations: 0.5996 MB / 1.417 GB, free: 14.52 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007477/1.357, allocations: 55.8 kB / 1.417 GB, free: 14.48 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.412e-05/1.357, allocations: 19.22 kB / 1.417 GB, free: 14.47 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007291/1.358, allocations: 349 kB / 1.417 GB, free: 14.25 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005803/1.359, allocations: 283.9 kB / 1.418 GB, free: 14.04 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008366/1.36, allocations: 450.5 kB / 1.418 GB, free: 13.76 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.577e-06/1.36, allocations: 0 / 1.418 GB, free: 13.76 MB / 1.107 GB Notification: Performance of matching and sorting (n=53) (initialization_lambda0): time 0.001176/1.361, allocations: 0.5238 MB / 1.419 GB, free: 13.49 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 1.591e-05/1.361, allocations: 5.094 kB / 1.419 GB, free: 13.49 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/1.361, allocations: 2.75 kB / 1.419 GB, free: 13.49 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.463e-05/1.361, allocations: 8.75 kB / 1.419 GB, free: 13.48 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005494/1.361, allocations: 124.2 kB / 1.419 GB, free: 13.45 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.078e-05/1.361, allocations: 2.125 kB / 1.419 GB, free: 13.45 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006621/1.362, allocations: 43.47 kB / 1.419 GB, free: 13.42 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.999e-05/1.362, allocations: 20.81 kB / 1.419 GB, free: 13.42 MB / 1.107 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.0002872/1.362, allocations: 207.8 kB / 1.419 GB, free: 13.21 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001813/1.363, allocations: 66.83 kB / 1.419 GB, free: 13.18 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00111/1.364, allocations: 488 kB / 1.419 GB, free: 12.9 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.286e-06/1.364, allocations: 4.312 kB / 1.419 GB, free: 12.9 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.205e-06/1.364, allocations: 0 / 1.419 GB, free: 12.9 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009659/1.365, allocations: 0.7105 MB / 1.42 GB, free: 12.29 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002531/1.367, allocations: 1.282 MB / 1.421 GB, free: 11.1 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.626e-06/1.367, allocations: 4.562 kB / 1.421 GB, free: 11.09 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006748/1.368, allocations: 124.1 kB / 1.422 GB, free: 10.97 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.07e-05/1.368, allocations: 7.938 kB / 1.422 GB, free: 10.96 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.432e-05/1.368, allocations: 15.42 kB / 1.422 GB, free: 10.95 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004018/1.369, allocations: 0.5976 MB / 1.422 GB, free: 10.33 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.179e-06/1.369, allocations: 4.031 kB / 1.422 GB, free: 10.33 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001354/1.37, allocations: 0.7977 MB / 1.423 GB, free: 9.488 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004132/1.37, allocations: 176.3 kB / 1.423 GB, free: 9.297 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000164/1.371, allocations: 11.94 kB / 1.423 GB, free: 9.285 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005204/1.371, allocations: 23.97 kB / 1.423 GB, free: 9.262 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001024/1.371, allocations: 31.91 kB / 1.423 GB, free: 9.23 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.277e-05/1.371, allocations: 16 kB / 1.423 GB, free: 9.215 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.0005382/1.372, allocations: 358.8 kB / 1.424 GB, free: 8.867 MB / 1.107 GB Notification: Performance of sort global known variables: time 4.91e-07/1.372, allocations: 3.938 kB / 1.424 GB, free: 8.863 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.001391/1.373, allocations: 363.1 kB / 1.424 GB, free: 8.508 MB / 1.107 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.002266/1.375, allocations: 1.445 MB / 1.425 GB, free: 7.023 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.001747/1.377, allocations: 0.6689 MB / 1.426 GB, free: 6.355 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 5.16e-06/1.377, allocations: 0 / 1.426 GB, free: 6.355 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.0004834/1.378, allocations: 211.8 kB / 1.426 GB, free: 6.148 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001917/1.38, allocations: 360.5 kB / 1.426 GB, free: 5.812 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008113/1.388, allocations: 5.026 MB / 1.431 GB, free: 0.6055 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000746/1.389, allocations: 0.9457 MB / 1.432 GB, free: 15.63 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.0008142/1.389, allocations: 208.9 kB / 1.433 GB, free: 15.43 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003942/1.39, allocations: 227.4 kB / 1.433 GB, free: 15.21 MB / 1.123 GB Notification: Performance of SimCode: time 5e-07/1.39, allocations: 0 / 1.433 GB, free: 15.21 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05158/1.441, allocations: 18.14 MB / 1.45 GB, free: 13.35 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.46/13.9, allocations: 3.859 kB / 1.45 GB, free: 13.35 MB / 1.139 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=50 --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