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.001434/0.001434, allocations: 113 kB / 16.42 MB, free: 6.453 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.001577/0.001577, allocations: 185.7 kB / 17.35 MB, free: 5.734 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.361/1.361, 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.451/2.451, allocations: 437 MB / 0.7112 GB, free: 4.395 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001352/0.001352, allocations: 67.89 kB / 1.019 GB, free: 9.402 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6883/0.6897, allocations: 151.6 MB / 1.167 GB, free: 3.879 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Density): time 0.1732/0.8629, allocations: 185.1 MB / 1.348 GB, free: 10.12 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.009073/0.872, allocations: 6.985 MB / 1.355 GB, free: 3.113 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008118/0.8728, allocations: 27.88 kB / 1.355 GB, free: 3.086 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.001055/0.8739, allocations: 417.5 kB / 1.355 GB, free: 2.676 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.003247/0.8772, allocations: 1.507 MB / 1.357 GB, free: 1.164 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.002657/0.8799, allocations: 1.174 MB / 1.358 GB, free: 15.99 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.002217/0.8821, allocations: 1.951 MB / 1.36 GB, free: 14.04 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008819/0.883, allocations: 0.657 MB / 1.36 GB, free: 13.37 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001425/0.8845, allocations: 0.848 MB / 1.361 GB, free: 12.52 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001204/0.8857, allocations: 0.5915 MB / 1.362 GB, free: 11.93 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0001414/0.8858, allocations: 68 kB / 1.362 GB, free: 11.86 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003103/0.8889, allocations: 1.937 MB / 1.364 GB, free: 9.918 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0003196/0.8893, allocations: 299.1 kB / 1.364 GB, free: 9.625 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.000515/0.8898, allocations: 430.1 kB / 1.365 GB, free: 9.203 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.0026/0.8924, allocations: 1.761 MB / 1.366 GB, free: 7.438 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.8924, allocations: 4 kB / 1.366 GB, free: 7.434 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.192e-06/0.8924, allocations: 0 / 1.366 GB, free: 7.434 MB / 1.092 GB Notification: Performance of Transformations before backend: time 2.806e-05/0.8925, allocations: 0 / 1.366 GB, free: 7.434 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.001904/0.8944, allocations: 1.194 MB / 1.367 GB, free: 6.188 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 3.567e-05/0.8944, allocations: 8.922 kB / 1.367 GB, free: 6.18 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001898/0.8963, allocations: 279.2 kB / 1.368 GB, free: 5.906 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009654/0.8973, allocations: 0.6149 MB / 1.368 GB, free: 5.246 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.439e-05/0.8973, allocations: 41.31 kB / 1.368 GB, free: 5.207 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.224e-05/0.8974, allocations: 59.95 kB / 1.368 GB, free: 5.148 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001042/0.8985, allocations: 0.6284 MB / 1.369 GB, free: 4.504 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.899e-05/0.8985, allocations: 7.938 kB / 1.369 GB, free: 4.496 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.523e-05/0.8986, allocations: 24 kB / 1.369 GB, free: 4.473 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.854e-05/0.8986, allocations: 21.25 kB / 1.369 GB, free: 4.453 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009376/0.8996, allocations: 0.5204 MB / 1.37 GB, free: 3.934 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.002912/0.9025, allocations: 2.457 MB / 1.372 GB, free: 1.262 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006586/0.9032, allocations: 369.2 kB / 1.372 GB, free: 0.8945 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003791/0.9035, allocations: 235.6 kB / 1.373 GB, free: 0.6641 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005571/0.9041, allocations: 307.6 kB / 1.373 GB, free: 316 kB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.199e-05/0.9041, allocations: 34.89 kB / 1.373 GB, free: 272 kB / 1.092 GB Notification: Performance of pre-optimization done (n=39): time 1.904e-06/0.9042, allocations: 0 / 1.373 GB, free: 272 kB / 1.092 GB Notification: Performance of matching and sorting (n=39): time 0.001398/0.9056, allocations: 0.62 MB / 1.373 GB, free: 15.64 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.579e-05/0.9056, allocations: 59.34 kB / 1.374 GB, free: 15.57 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005306/0.9061, allocations: 0.4989 MB / 1.374 GB, free: 15.05 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 4.59e-05/0.9062, allocations: 37.7 kB / 1.374 GB, free: 15.01 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002125/0.9064, allocations: 329 kB / 1.374 GB, free: 14.69 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001136/0.9065, allocations: 146.7 kB / 1.374 GB, free: 14.55 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001422/0.9067, allocations: 94.08 kB / 1.375 GB, free: 14.45 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001274/0.9068, allocations: 362.7 kB / 1.375 GB, free: 14.09 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003429/0.9072, allocations: 178.5 kB / 1.375 GB, free: 13.91 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004122/0.9076, allocations: 283.4 kB / 1.375 GB, free: 13.59 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007365/0.9083, allocations: 452.2 kB / 1.376 GB, free: 13.12 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.9084, allocations: 0 / 1.376 GB, free: 13.12 MB / 1.107 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.000935/0.9093, allocations: 0.5281 MB / 1.376 GB, free: 12.59 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 1.547e-05/0.9093, allocations: 6.469 kB / 1.376 GB, free: 12.58 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/0.9093, allocations: 8.062 kB / 1.376 GB, free: 12.57 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.717e-05/0.9094, allocations: 8 kB / 1.376 GB, free: 12.57 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007359/0.9101, allocations: 135.8 kB / 1.376 GB, free: 12.43 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003366/0.9104, allocations: 0.5899 MB / 1.377 GB, free: 11.82 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005401/0.911, allocations: 63.72 kB / 1.377 GB, free: 11.76 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.215e-05/0.9111, allocations: 16 kB / 1.377 GB, free: 11.74 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005157/0.9116, allocations: 348.9 kB / 1.377 GB, free: 11.4 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004104/0.912, allocations: 288.3 kB / 1.378 GB, free: 11.08 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007259/0.9127, allocations: 456.3 kB / 1.378 GB, free: 10.6 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.024e-06/0.9127, allocations: 0 / 1.378 GB, free: 10.6 MB / 1.107 GB Notification: Performance of matching and sorting (n=53) (initialization_lambda0): time 0.0009196/0.9137, allocations: 0.5204 MB / 1.379 GB, free: 10.07 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 9.778e-06/0.9137, allocations: 7.938 kB / 1.379 GB, free: 10.07 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.9137, allocations: 4 kB / 1.379 GB, free: 10.06 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.135e-06/0.9137, allocations: 7.938 kB / 1.379 GB, free: 10.05 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005339/0.9143, allocations: 120.1 kB / 1.379 GB, free: 9.938 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.323e-06/0.9143, allocations: 8 kB / 1.379 GB, free: 9.93 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005136/0.9148, allocations: 39.81 kB / 1.379 GB, free: 9.891 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.201e-05/0.9148, allocations: 20 kB / 1.379 GB, free: 9.871 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.0001496/0.915, allocations: 210.6 kB / 1.379 GB, free: 9.66 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001026/0.9151, allocations: 59.62 kB / 1.379 GB, free: 9.602 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009399/0.9161, allocations: 498.5 kB / 1.38 GB, free: 9.102 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008072/0.9169, allocations: 0.7026 MB / 1.38 GB, free: 8.312 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.9169, allocations: 0 / 1.38 GB, free: 8.312 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002269/0.9171, allocations: 184.6 kB / 1.38 GB, free: 8.113 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.336e-05/0.9172, allocations: 8 kB / 1.38 GB, free: 8.105 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004138/0.9176, allocations: 15.98 kB / 1.38 GB, free: 8.09 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.374e-05/0.9177, allocations: 23.97 kB / 1.381 GB, free: 8.066 MB / 1.107 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001327/0.9191, allocations: 0.58 MB / 1.381 GB, free: 7.477 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001216/0.9203, allocations: 0.8455 MB / 1.382 GB, free: 6.613 MB / 1.107 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000327/0.9206, allocations: 196.5 kB / 1.382 GB, free: 6.422 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.000381/0.921, allocations: 354.8 kB / 1.382 GB, free: 6.078 MB / 1.107 GB Notification: Performance of Backend: time 3.4e-07/0.921, allocations: 0 / 1.382 GB, free: 6.078 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.002542/0.9236, allocations: 0.9947 MB / 1.383 GB, free: 5.086 MB / 1.107 GB Notification: Performance of SimCode: time 0.002906/0.9265, allocations: 1.959 MB / 1.385 GB, free: 3.082 MB / 1.107 GB Notification: Performance of Templates: time 0.02758/0.9541, allocations: 17.75 MB / 1.403 GB, free: 1.492 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