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: 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_9_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_9_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.006056/0.006057, allocations: 100.3 kB / 15.73 MB, free: 6.027 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.00168/0.00168, allocations: 187.2 kB / 16.67 MB, free: 5.965 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.377/1.377, allocations: 222.9 MB / 240.4 MB, free: 4.172 MB / 190.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.408/2.408, allocations: 390.2 MB / 0.6648 GB, free: 180 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001191/0.001191, allocations: 66.88 kB / 0.9509 GB, free: 5.543 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2699/0.2711, allocations: 140.4 MB / 1.088 GB, free: 1.484 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Density): time 0.8802/1.151, allocations: 185 MB / 1.269 GB, free: 3.496 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.01123/1.163, allocations: 6.975 MB / 1.275 GB, free: 3.441 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001368/1.164, allocations: 31.41 kB / 1.275 GB, free: 3.441 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.001368/1.165, allocations: 401.3 kB / 1.276 GB, free: 3.434 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.004333/1.17, allocations: 1.454 MB / 1.277 GB, free: 3.371 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.003801/1.174, allocations: 1.16 MB / 1.278 GB, free: 3.336 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.004457/1.178, allocations: 1.941 MB / 1.28 GB, free: 3.336 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00153/1.18, allocations: 0.6593 MB / 1.281 GB, free: 3.285 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002675/1.182, allocations: 0.8367 MB / 1.282 GB, free: 3.277 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002113/1.184, allocations: 0.5963 MB / 1.282 GB, free: 3.277 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0001887/1.185, allocations: 67.16 kB / 1.282 GB, free: 3.277 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004797/1.189, allocations: 1.928 MB / 1.284 GB, free: 3.258 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0005499/1.19, allocations: 295.6 kB / 1.285 GB, free: 3.254 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0008433/1.191, allocations: 431.5 kB / 1.285 GB, free: 3.254 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.004745/1.196, allocations: 1.762 MB / 1.287 GB, free: 3.156 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/1.196, allocations: 0.9375 kB / 1.287 GB, free: 3.156 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.934e-06/1.196, allocations: 4.062 kB / 1.287 GB, free: 3.156 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.408e-05/1.196, allocations: 0 / 1.287 GB, free: 3.156 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.002262/1.198, allocations: 1.155 MB / 1.288 GB, free: 2.477 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.166e-05/1.198, allocations: 12.27 kB / 1.288 GB, free: 2.477 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002105/1.2, allocations: 271.8 kB / 1.288 GB, free: 2.434 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001093/1.201, allocations: 0.6095 MB / 1.289 GB, free: 2.148 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.693e-05/1.201, allocations: 44.47 kB / 1.289 GB, free: 2.148 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001047/1.201, allocations: 58.03 kB / 1.289 GB, free: 2.148 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00121/1.203, allocations: 0.6399 MB / 1.289 GB, free: 2.07 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.959e-05/1.203, allocations: 0.875 kB / 1.289 GB, free: 2.07 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.053e-05/1.203, allocations: 24.22 kB / 1.289 GB, free: 2.07 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.577e-05/1.203, allocations: 19.27 kB / 1.289 GB, free: 2.07 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009608/1.204, allocations: 0.5199 MB / 1.29 GB, free: 2.062 MB / 1.014 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.003549/1.207, allocations: 2.455 MB / 1.292 GB, free: 16.74 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006854/1.208, allocations: 365.2 kB / 1.293 GB, free: 16.71 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000372/1.208, allocations: 237.4 kB / 1.293 GB, free: 16.71 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006099/1.209, allocations: 305.6 kB / 1.293 GB, free: 16.43 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.627e-05/1.209, allocations: 40.3 kB / 1.293 GB, free: 16.39 MB / 1.029 GB Notification: Performance of pre-optimization done (n=39): time 3.226e-06/1.209, allocations: 0.9062 kB / 1.293 GB, free: 16.39 MB / 1.029 GB Notification: Performance of matching and sorting (n=39): time 0.001459/1.21, allocations: 0.6216 MB / 1.294 GB, free: 16.31 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.055e-05/1.211, allocations: 56.31 kB / 1.294 GB, free: 16.25 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00072/1.211, allocations: 0.4929 MB / 1.294 GB, free: 16.13 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 5.92e-05/1.211, allocations: 31.73 kB / 1.294 GB, free: 16.1 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002578/1.212, allocations: 334.6 kB / 1.295 GB, free: 15.94 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001365/1.212, allocations: 136.1 kB / 1.295 GB, free: 15.85 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001596/1.212, allocations: 86.61 kB / 1.295 GB, free: 15.84 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001745/1.212, allocations: 364.5 kB / 1.295 GB, free: 15.52 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003346/1.212, allocations: 175.5 kB / 1.296 GB, free: 15.52 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004124/1.213, allocations: 287.1 kB / 1.296 GB, free: 15.41 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006927/1.214, allocations: 456.2 kB / 1.296 GB, free: 15.32 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/1.214, allocations: 0 / 1.296 GB, free: 15.32 MB / 1.029 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001014/1.215, allocations: 0.5303 MB / 1.297 GB, free: 15.25 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.414e-05/1.215, allocations: 10.22 kB / 1.297 GB, free: 15.25 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.789e-06/1.215, allocations: 3.062 kB / 1.297 GB, free: 15.25 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.124e-05/1.215, allocations: 5.219 kB / 1.297 GB, free: 15.25 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007376/1.215, allocations: 131.6 kB / 1.297 GB, free: 15.25 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004147/1.216, allocations: 0.5935 MB / 1.297 GB, free: 14.66 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006501/1.217, allocations: 55.81 kB / 1.298 GB, free: 14.64 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.887e-05/1.217, allocations: 18.73 kB / 1.298 GB, free: 14.64 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006866/1.217, allocations: 354 kB / 1.298 GB, free: 14.55 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004482/1.218, allocations: 277.6 kB / 1.298 GB, free: 14.45 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007679/1.218, allocations: 449.4 kB / 1.299 GB, free: 14.36 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.519e-06/1.219, allocations: 3.812 kB / 1.299 GB, free: 14.36 MB / 1.029 GB Notification: Performance of matching and sorting (n=53) (initialization_lambda0): time 0.0009613/1.219, allocations: 0.5204 MB / 1.299 GB, free: 14.29 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.427e-05/1.219, allocations: 8 kB / 1.299 GB, free: 14.29 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/1.22, allocations: 3.75 kB / 1.299 GB, free: 14.29 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.674e-06/1.22, allocations: 3.875 kB / 1.299 GB, free: 14.29 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005142/1.22, allocations: 122.1 kB / 1.299 GB, free: 14.29 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.189e-05/1.22, allocations: 8.953 kB / 1.299 GB, free: 14.29 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005587/1.221, allocations: 44.64 kB / 1.299 GB, free: 14.28 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.104e-05/1.221, allocations: 18.88 kB / 1.299 GB, free: 14.28 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.0002127/1.221, allocations: 209.2 kB / 1.299 GB, free: 14.09 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001175/1.221, allocations: 60.25 kB / 1.3 GB, free: 14.06 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00102/1.222, allocations: 482.7 kB / 1.3 GB, free: 14.02 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.247e-06/1.222, allocations: 3.906 kB / 1.3 GB, free: 14.02 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.164e-06/1.222, allocations: 2.281 kB / 1.3 GB, free: 14.02 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009009/1.223, allocations: 0.713 MB / 1.301 GB, free: 13.57 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002291/1.225, allocations: 1.29 MB / 1.302 GB, free: 13.19 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.959e-06/1.225, allocations: 3.312 kB / 1.302 GB, free: 13.19 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006515/1.226, allocations: 124.5 kB / 1.302 GB, free: 13.19 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.894e-06/1.226, allocations: 4.562 kB / 1.302 GB, free: 13.19 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.702e-05/1.226, allocations: 14.42 kB / 1.302 GB, free: 13.19 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003398/1.226, allocations: 0.5835 MB / 1.303 GB, free: 12.61 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.43e-06/1.226, allocations: 7.5 kB / 1.303 GB, free: 12.61 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001257/1.228, allocations: 0.7984 MB / 1.303 GB, free: 12.38 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003091/1.228, allocations: 180.6 kB / 1.304 GB, free: 12.25 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.119e-05/1.228, allocations: 14.03 kB / 1.304 GB, free: 12.25 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004237/1.229, allocations: 20.73 kB / 1.304 GB, free: 12.25 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001051/1.229, allocations: 30.45 kB / 1.304 GB, free: 12.25 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.957e-05/1.229, allocations: 18.11 kB / 1.304 GB, free: 12.25 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0005184/1.229, allocations: 356.1 kB / 1.304 GB, free: 12.16 MB / 1.029 GB Notification: Performance of sort global known variables: time 2.1e-07/1.229, allocations: 1.938 kB / 1.304 GB, free: 12.16 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.00127/1.23, allocations: 358.5 kB / 1.304 GB, free: 12.11 MB / 1.029 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.0005055/1.231, allocations: 204.7 kB / 1.305 GB, free: 12.02 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001567/1.233, allocations: 0.6732 MB / 1.305 GB, free: 12.01 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 4.84e-06/1.233, allocations: 0 / 1.305 GB, free: 12.01 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0004249/1.233, allocations: 226.6 kB / 1.305 GB, free: 12 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001567/1.235, allocations: 357.8 kB / 1.306 GB, free: 11.96 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002411/1.237, allocations: 1.397 MB / 1.307 GB, free: 11.39 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005486/1.238, allocations: 0.9508 MB / 1.308 GB, free: 10.68 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0007769/1.238, allocations: 207.1 kB / 1.308 GB, free: 10.64 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001421/1.239, allocations: 47.72 kB / 1.308 GB, free: 10.63 MB / 1.029 GB Notification: Performance of SimCode: time 8.32e-07/1.239, allocations: 0 / 1.308 GB, free: 10.63 MB / 1.029 GB Notification: Performance of Templates: time 0.02242/1.261, allocations: 12.69 MB / 1.321 GB, free: 9.785 MB / 1.029 GB make -j1 -f Buildings_9_Buildings.Fluid.Sensors.Examples.Density.makefile (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 & ./Buildings_9_Buildings.Fluid.Sensors.Examples.Density -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Sensors.Examples.Density.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Sensors.Examples.Density_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Sensors_Examples_Density.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Sensors.Examples.Density.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches