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.001324/0.001324, allocations: 115 kB / 16.42 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.001367/0.001367, allocations: 186.6 kB / 17.35 MB, free: 5.625 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.306/1.306, allocations: 222.9 MB / 241.1 MB, free: 15.17 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.504/2.504, allocations: 437 MB / 0.7112 GB, free: 4.422 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001313/0.001313, allocations: 63.89 kB / 1.019 GB, free: 9.414 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7008/0.7022, allocations: 151.6 MB / 1.167 GB, free: 3.848 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Density): time 0.1843/0.8865, allocations: 185.1 MB / 1.348 GB, free: 10.09 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.009293/0.8958, allocations: 6.987 MB / 1.355 GB, free: 3.086 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000895/0.8967, allocations: 27.81 kB / 1.355 GB, free: 3.059 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.001104/0.8979, allocations: 417.5 kB / 1.355 GB, free: 2.648 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.003343/0.9013, allocations: 1.494 MB / 1.357 GB, free: 1.148 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.002884/0.9042, allocations: 1.183 MB / 1.358 GB, free: 15.97 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.002145/0.9063, allocations: 1.948 MB / 1.36 GB, free: 14.02 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007541/0.9071, allocations: 0.657 MB / 1.36 GB, free: 13.34 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001238/0.9083, allocations: 0.8557 MB / 1.361 GB, free: 12.49 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001105/0.9094, allocations: 0.5954 MB / 1.362 GB, free: 11.89 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0001066/0.9096, allocations: 68 kB / 1.362 GB, free: 11.83 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00319/0.9128, allocations: 1.941 MB / 1.364 GB, free: 9.883 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0002854/0.9131, allocations: 291.1 kB / 1.364 GB, free: 9.598 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0004062/0.9135, allocations: 430.1 kB / 1.365 GB, free: 9.176 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.002354/0.9158, allocations: 1.769 MB / 1.366 GB, free: 7.402 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 4.379e-06/0.9159, allocations: 0 / 1.366 GB, free: 7.402 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.573e-06/0.9159, allocations: 0 / 1.366 GB, free: 7.402 MB / 1.092 GB Notification: Performance of Transformations before backend: time 1.515e-05/0.9159, allocations: 0 / 1.366 GB, free: 7.402 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.001661/0.9175, allocations: 1.19 MB / 1.367 GB, free: 6.16 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.102e-05/0.9176, allocations: 12.92 kB / 1.367 GB, free: 6.148 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00186/0.9195, allocations: 275.2 kB / 1.368 GB, free: 5.879 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009008/0.9204, allocations: 0.6109 MB / 1.368 GB, free: 5.223 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.691e-05/0.9204, allocations: 49.25 kB / 1.368 GB, free: 5.176 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.55e-05/0.9205, allocations: 55.95 kB / 1.368 GB, free: 5.121 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001008/0.9215, allocations: 0.6362 MB / 1.369 GB, free: 4.469 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.946e-05/0.9216, allocations: 3.938 kB / 1.369 GB, free: 4.465 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.159e-05/0.9216, allocations: 23.98 kB / 1.369 GB, free: 4.441 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.087e-05/0.9217, allocations: 17.31 kB / 1.369 GB, free: 4.426 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009172/0.9226, allocations: 0.5243 MB / 1.37 GB, free: 3.902 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.002778/0.9254, allocations: 2.457 MB / 1.372 GB, free: 1.23 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006507/0.926, allocations: 367.5 kB / 1.372 GB, free: 0.8633 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003753/0.9264, allocations: 236 kB / 1.373 GB, free: 0.6328 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000558/0.927, allocations: 311.6 kB / 1.373 GB, free: 280 kB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.566e-05/0.927, allocations: 34.89 kB / 1.373 GB, free: 236 kB / 1.092 GB Notification: Performance of pre-optimization done (n=39): time 1.964e-06/0.927, allocations: 0 / 1.373 GB, free: 236 kB / 1.092 GB Notification: Performance of matching and sorting (n=39): time 0.001331/0.9284, allocations: 0.6161 MB / 1.373 GB, free: 15.61 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.986e-05/0.9284, allocations: 63.34 kB / 1.374 GB, free: 15.54 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005154/0.9289, allocations: 0.495 MB / 1.374 GB, free: 15.03 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 3.799e-05/0.929, allocations: 33.7 kB / 1.374 GB, free: 14.99 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002071/0.9292, allocations: 337 kB / 1.374 GB, free: 14.66 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.000108/0.9293, allocations: 146.7 kB / 1.374 GB, free: 14.51 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001365/0.9295, allocations: 86.09 kB / 1.375 GB, free: 14.42 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001307/0.9296, allocations: 374.7 kB / 1.375 GB, free: 14.05 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003287/0.9299, allocations: 178.5 kB / 1.375 GB, free: 13.87 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003883/0.9303, allocations: 271.4 kB / 1.375 GB, free: 13.57 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006915/0.931, allocations: 452.3 kB / 1.376 GB, free: 13.09 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.418e-06/0.931, allocations: 4 kB / 1.376 GB, free: 13.09 MB / 1.107 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0008772/0.9319, allocations: 0.5322 MB / 1.376 GB, free: 12.55 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 1.581e-05/0.9319, allocations: 8 kB / 1.376 GB, free: 12.54 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.582e-06/0.932, allocations: 0 / 1.376 GB, free: 12.54 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.704e-05/0.932, allocations: 4 kB / 1.376 GB, free: 12.54 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006892/0.9327, allocations: 131.8 kB / 1.376 GB, free: 12.41 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00034/0.933, allocations: 0.6016 MB / 1.377 GB, free: 11.79 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004818/0.9335, allocations: 59.7 kB / 1.377 GB, free: 11.73 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.109e-05/0.9336, allocations: 16 kB / 1.377 GB, free: 11.71 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004938/0.9341, allocations: 348.9 kB / 1.377 GB, free: 11.37 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003871/0.9345, allocations: 285.2 kB / 1.378 GB, free: 11.05 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006665/0.9351, allocations: 460.3 kB / 1.378 GB, free: 10.57 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.723e-06/0.9352, allocations: 0 / 1.378 GB, free: 10.57 MB / 1.107 GB Notification: Performance of matching and sorting (n=53) (initialization_lambda0): time 0.0008403/0.936, allocations: 0.5204 MB / 1.379 GB, free: 10.04 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 9.267e-06/0.936, allocations: 4 kB / 1.379 GB, free: 10.04 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.936, allocations: 4 kB / 1.379 GB, free: 10.04 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.432e-06/0.936, allocations: 11.88 kB / 1.379 GB, free: 10.02 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000494/0.9365, allocations: 124.1 kB / 1.379 GB, free: 9.902 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.133e-06/0.9366, allocations: 4 kB / 1.379 GB, free: 9.898 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004575/0.937, allocations: 39.83 kB / 1.379 GB, free: 9.859 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.582e-05/0.9371, allocations: 15.98 kB / 1.379 GB, free: 9.844 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.0001335/0.9372, allocations: 208.5 kB / 1.379 GB, free: 9.633 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.315e-05/0.9373, allocations: 59.62 kB / 1.379 GB, free: 9.574 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008906/0.9382, allocations: 498.5 kB / 1.38 GB, free: 9.074 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007664/0.939, allocations: 0.7066 MB / 1.38 GB, free: 8.281 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.993e-06/0.939, allocations: 3.938 kB / 1.38 GB, free: 8.277 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002056/0.9392, allocations: 180.6 kB / 1.38 GB, free: 8.082 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.541e-05/0.9393, allocations: 4 kB / 1.38 GB, free: 8.078 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003932/0.9397, allocations: 25.7 kB / 1.38 GB, free: 8.055 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.631e-05/0.9398, allocations: 23.97 kB / 1.381 GB, free: 8.031 MB / 1.107 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001271/0.9411, allocations: 0.5722 MB / 1.381 GB, free: 7.449 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001144/0.9422, allocations: 0.8494 MB / 1.382 GB, free: 6.582 MB / 1.107 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003185/0.9425, allocations: 196.5 kB / 1.382 GB, free: 6.391 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.0003594/0.9429, allocations: 350.8 kB / 1.382 GB, free: 6.051 MB / 1.107 GB Notification: Performance of Backend: time 4.7e-07/0.9429, allocations: 0 / 1.382 GB, free: 6.051 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.002461/0.9454, allocations: 0.9948 MB / 1.383 GB, free: 5.059 MB / 1.107 GB Notification: Performance of SimCode: time 0.00278/0.9482, allocations: 1.966 MB / 1.385 GB, free: 3.047 MB / 1.107 GB Notification: Performance of Templates: time 0.02519/0.9734, allocations: 17.74 MB / 1.403 GB, free: 1.465 MB / 1.123 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