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: translateModel(Buildings.Fluid.Sensors.Examples.Density,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|masFloRat.ports.1..m_flow|senDenVol.d|senDenFlo.d",fileNamePrefix="Buildings_10_Buildings.Fluid.Sensors.Examples.Density") translateModel(Buildings.Fluid.Sensors.Examples.Density,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|masFloRat.ports.1..m_flow|senDenVol.d|senDenFlo.d",fileNamePrefix="Buildings_10_Buildings.Fluid.Sensors.Examples.Density") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001834/0.001834, allocations: 101.1 kB / 16.27 MB, free: 6.414 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.00184/0.00184, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.403/1.403, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.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.651/2.651, allocations: 437.1 MB / 0.711 GB, free: 4.516 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002128/0.002128, allocations: 68.48 kB / 0.8699 GB, free: 2.203 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3506/0.3527, allocations: 151.6 MB / 1.018 GB, free: 10.65 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Density): time 0.8178/1.171, allocations: 185.1 MB / 1.199 GB, free: 9.859 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.01093/1.182, allocations: 6.961 MB / 1.205 GB, free: 4.215 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001318/1.183, allocations: 37.66 kB / 1.206 GB, free: 4.195 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001238/1.184, allocations: 399 kB / 1.206 GB, free: 3.867 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.00407/1.188, allocations: 1.445 MB / 1.207 GB, free: 2.754 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.003354/1.192, allocations: 1.159 MB / 1.208 GB, free: 1.891 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.00315/1.195, allocations: 1.945 MB / 1.21 GB, free: 0.7891 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001123/1.196, allocations: 0.6508 MB / 1.211 GB, free: 396 kB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001913/1.198, allocations: 0.8166 MB / 1.212 GB, free: 15.91 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001495/1.199, allocations: 0.5916 MB / 1.212 GB, free: 15.56 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0001209/1.2, allocations: 67.88 kB / 1.212 GB, free: 15.56 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004158/1.204, allocations: 1.941 MB / 1.214 GB, free: 14.46 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0004765/1.204, allocations: 288.5 kB / 1.215 GB, free: 14.27 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0006603/1.205, allocations: 428.5 kB / 1.215 GB, free: 14.01 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.003846/1.209, allocations: 1.751 MB / 1.217 GB, free: 12.92 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 6.232e-06/1.209, allocations: 0 / 1.217 GB, free: 12.92 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.264e-06/1.209, allocations: 2.531 kB / 1.217 GB, free: 12.92 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.381e-05/1.209, allocations: 0 / 1.217 GB, free: 12.92 MB / 0.92 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.002054/1.211, allocations: 1.158 MB / 1.218 GB, free: 12 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.168e-05/1.211, allocations: 14.66 kB / 1.218 GB, free: 12 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00187/1.213, allocations: 260.8 kB / 1.218 GB, free: 11.89 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009657/1.214, allocations: 0.5883 MB / 1.219 GB, free: 11.4 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.894e-05/1.214, allocations: 44.44 kB / 1.219 GB, free: 11.38 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001058/1.214, allocations: 55.08 kB / 1.219 GB, free: 11.36 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001115/1.215, allocations: 0.6341 MB / 1.219 GB, free: 10.97 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.801e-05/1.215, allocations: 0 / 1.219 GB, free: 10.97 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.988e-05/1.215, allocations: 24.69 kB / 1.219 GB, free: 10.95 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.873e-05/1.215, allocations: 19.16 kB / 1.219 GB, free: 10.95 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009669/1.216, allocations: 0.527 MB / 1.22 GB, free: 10.7 MB / 0.92 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.00354/1.22, allocations: 2.466 MB / 1.222 GB, free: 8.035 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007404/1.221, allocations: 364.2 kB / 1.223 GB, free: 7.672 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004255/1.221, allocations: 240 kB / 1.223 GB, free: 7.438 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006251/1.222, allocations: 315.5 kB / 1.223 GB, free: 7.074 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.048e-05/1.222, allocations: 38.89 kB / 1.223 GB, free: 7.027 MB / 0.92 GB Notification: Performance of pre-optimization done (n=39): time 2.425e-06/1.222, allocations: 0 / 1.223 GB, free: 7.027 MB / 0.92 GB Notification: Performance of matching and sorting (n=39): time 0.001515/1.223, allocations: 0.6116 MB / 1.224 GB, free: 6.41 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.884e-05/1.223, allocations: 55.41 kB / 1.224 GB, free: 6.344 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006835/1.224, allocations: 0.495 MB / 1.224 GB, free: 5.844 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 5.01e-05/1.224, allocations: 33.7 kB / 1.224 GB, free: 5.805 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002721/1.224, allocations: 324.4 kB / 1.225 GB, free: 5.48 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001503/1.224, allocations: 134 kB / 1.225 GB, free: 5.348 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001504/1.225, allocations: 97.97 kB / 1.225 GB, free: 5.246 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0002106/1.225, allocations: 370.7 kB / 1.225 GB, free: 4.875 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003524/1.225, allocations: 182.4 kB / 1.226 GB, free: 4.695 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004533/1.226, allocations: 279.4 kB / 1.226 GB, free: 4.383 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000773/1.226, allocations: 452.2 kB / 1.226 GB, free: 3.91 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.879e-06/1.226, allocations: 3.938 kB / 1.226 GB, free: 3.91 MB / 0.92 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001027/1.227, allocations: 0.5241 MB / 1.227 GB, free: 3.379 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.931e-05/1.227, allocations: 11.92 kB / 1.227 GB, free: 3.367 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.087e-06/1.227, allocations: 4 kB / 1.227 GB, free: 3.363 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.832e-05/1.228, allocations: 4 kB / 1.227 GB, free: 3.359 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007572/1.228, allocations: 129.4 kB / 1.227 GB, free: 3.234 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004586/1.229, allocations: 0.6016 MB / 1.227 GB, free: 2.609 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005859/1.229, allocations: 51.52 kB / 1.227 GB, free: 2.559 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.525e-05/1.229, allocations: 23.98 kB / 1.228 GB, free: 2.535 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006026/1.23, allocations: 351.3 kB / 1.228 GB, free: 2.191 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004559/1.23, allocations: 279.5 kB / 1.228 GB, free: 1.883 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007794/1.231, allocations: 448.4 kB / 1.229 GB, free: 1.414 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.468e-06/1.231, allocations: 7.984 kB / 1.229 GB, free: 1.406 MB / 0.92 GB Notification: Performance of matching and sorting (n=53) (initialization_lambda0): time 0.001038/1.232, allocations: 0.5239 MB / 1.229 GB, free: 0.875 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.216e-05/1.232, allocations: 8 kB / 1.229 GB, free: 0.8672 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/1.232, allocations: 4 kB / 1.229 GB, free: 0.8633 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.678e-06/1.232, allocations: 8.219 kB / 1.229 GB, free: 0.8555 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005297/1.233, allocations: 115.9 kB / 1.229 GB, free: 0.7422 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.095e-05/1.233, allocations: 15.88 kB / 1.229 GB, free: 0.7266 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005488/1.233, allocations: 39.67 kB / 1.229 GB, free: 0.6875 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.112e-05/1.234, allocations: 23.98 kB / 1.229 GB, free: 0.6641 MB / 0.92 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.0002146/1.234, allocations: 200.2 kB / 1.229 GB, free: 472 kB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001135/1.234, allocations: 59.34 kB / 1.23 GB, free: 412 kB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001022/1.235, allocations: 486.8 kB / 1.23 GB, free: 15.92 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.823e-06/1.235, allocations: 4 kB / 1.23 GB, free: 15.91 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.171e-06/1.235, allocations: 4 kB / 1.23 GB, free: 15.91 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009203/1.236, allocations: 0.6988 MB / 1.231 GB, free: 15.12 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002202/1.238, allocations: 1.285 MB / 1.232 GB, free: 13.76 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.589e-06/1.238, allocations: 4.219 kB / 1.232 GB, free: 13.76 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006394/1.239, allocations: 123.8 kB / 1.232 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.891e-06/1.239, allocations: 0 / 1.232 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.725e-05/1.239, allocations: 12.5 kB / 1.232 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004/1.239, allocations: 0.5938 MB / 1.233 GB, free: 13.01 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/1.239, allocations: 11.98 kB / 1.233 GB, free: 13 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001321/1.241, allocations: 0.7944 MB / 1.233 GB, free: 12.16 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003143/1.241, allocations: 180.3 kB / 1.234 GB, free: 11.97 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.683e-05/1.241, allocations: 23.88 kB / 1.234 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004156/1.241, allocations: 15.98 kB / 1.234 GB, free: 11.93 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.012e-05/1.241, allocations: 27.97 kB / 1.234 GB, free: 11.91 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.834e-05/1.242, allocations: 19.98 kB / 1.234 GB, free: 11.89 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0004528/1.242, allocations: 346.8 kB / 1.234 GB, free: 11.55 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2.2e-07/1.242, allocations: 0 / 1.234 GB, free: 11.55 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.001017/1.243, allocations: 367.1 kB / 1.234 GB, free: 11.19 MB / 0.9356 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.0004895/1.244, allocations: 208 kB / 1.235 GB, free: 10.99 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001691/1.245, allocations: 0.7231 MB / 1.235 GB, free: 10.27 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.968e-06/1.245, allocations: 4.062 kB / 1.235 GB, free: 10.26 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0004563/1.246, allocations: 231.9 kB / 1.235 GB, free: 10.04 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001711/1.247, allocations: 361.7 kB / 1.236 GB, free: 9.695 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002625/1.25, allocations: 1.434 MB / 1.237 GB, free: 8.207 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000652/1.251, allocations: 0.9496 MB / 1.238 GB, free: 7.23 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001912/1.251, allocations: 59.42 kB / 1.238 GB, free: 7.172 MB / 0.9356 GB Notification: Performance of SimCode: time 7.41e-07/1.251, allocations: 0 / 1.238 GB, free: 7.172 MB / 0.9356 GB Notification: Performance of Templates: time 0.01997/1.271, allocations: 12.95 MB / 1.251 GB, free: 10.31 MB / 0.9512 GB make -j1 -f Buildings_10_Buildings.Fluid.Sensors.Examples.Density.makefile (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 & ./Buildings_10_Buildings.Fluid.Sensors.Examples.Density -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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