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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001511/0.001511, allocations: 118.2 kB / 17.13 MB, free: 5.918 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001805/0.001805, allocations: 194.2 kB / 20.08 MB, free: 2.988 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.432/1.432, allocations: 225.6 MB / 248.5 MB, free: 3.602 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.632/2.632, allocations: 443.5 MB / 0.7293 GB, free: 14.5 MB / 0.5762 GB " [Timeout remaining time 177] 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=2500,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=2500,variableFilter="time|masFloRat.ports.1..m_flow|senDenVol.d|senDenFlo.d",fileNamePrefix="Buildings_10_Buildings.Fluid.Sensors.Examples.Density") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001936/0.001936, allocations: 67.89 kB / 1.057 GB, free: 1.945 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3496/0.3516, allocations: 160.7 MB / 1.214 GB, free: 0.9102 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Density): time 0.9616/1.313, allocations: 185.7 MB / 1.395 GB, free: 13.67 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.01236/1.326, allocations: 7.003 MB / 1.402 GB, free: 8.004 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001521/1.327, allocations: 26.78 kB / 1.402 GB, free: 7.996 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.001426/1.329, allocations: 421 kB / 1.403 GB, free: 7.652 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.005153/1.334, allocations: 1.504 MB / 1.404 GB, free: 6.504 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.003859/1.338, allocations: 1.175 MB / 1.405 GB, free: 5.633 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.003526/1.341, allocations: 1.95 MB / 1.407 GB, free: 4.512 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001075/1.342, allocations: 0.5627 MB / 1.408 GB, free: 4.133 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002258/1.344, allocations: 0.8394 MB / 1.409 GB, free: 3.637 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00181/1.346, allocations: 0.637 MB / 1.409 GB, free: 3.258 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0001483/1.346, allocations: 70.94 kB / 1.409 GB, free: 3.254 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005229/1.352, allocations: 2.034 MB / 1.411 GB, free: 2.086 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0005994/1.352, allocations: 303.3 kB / 1.412 GB, free: 1.879 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0008335/1.353, allocations: 427 kB / 1.412 GB, free: 1.617 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.004682/1.358, allocations: 1.771 MB / 1.414 GB, free: 0.5234 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/1.358, allocations: 0 / 1.414 GB, free: 0.5234 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.894e-06/1.358, allocations: 0 / 1.414 GB, free: 0.5234 MB / 1.076 GB Notification: Performance of Transformations before backend: time 2.473e-05/1.358, allocations: 0 / 1.414 GB, free: 0.5234 MB / 1.076 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.002494/1.36, allocations: 1.192 MB / 1.415 GB, free: 15.57 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.853e-05/1.36, allocations: 10.44 kB / 1.415 GB, free: 15.57 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002056/1.362, allocations: 278.9 kB / 1.415 GB, free: 15.44 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001359/1.364, allocations: 0.6122 MB / 1.416 GB, free: 14.94 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.497e-05/1.364, allocations: 44.19 kB / 1.416 GB, free: 14.92 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001062/1.364, allocations: 54.34 kB / 1.416 GB, free: 14.9 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001246/1.365, allocations: 0.6342 MB / 1.416 GB, free: 14.52 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.261e-05/1.365, allocations: 3.938 kB / 1.416 GB, free: 14.52 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.372e-05/1.365, allocations: 29.19 kB / 1.416 GB, free: 14.49 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.458e-05/1.365, allocations: 22.59 kB / 1.416 GB, free: 14.49 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009645/1.366, allocations: 0.5158 MB / 1.417 GB, free: 14.24 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.003899/1.37, allocations: 2.46 MB / 1.419 GB, free: 12.09 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007049/1.371, allocations: 351.9 kB / 1.42 GB, free: 11.9 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004271/1.371, allocations: 227.8 kB / 1.42 GB, free: 11.79 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000682/1.372, allocations: 305.2 kB / 1.42 GB, free: 11.48 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.784e-05/1.372, allocations: 37.55 kB / 1.42 GB, free: 11.43 MB / 1.092 GB Notification: Performance of pre-optimization done (n=39): time 2.916e-06/1.372, allocations: 1.812 kB / 1.42 GB, free: 11.43 MB / 1.092 GB Notification: Performance of matching and sorting (n=39): time 0.001499/1.373, allocations: 0.6209 MB / 1.421 GB, free: 11.12 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.664e-05/1.373, allocations: 56 kB / 1.421 GB, free: 11.06 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006323/1.374, allocations: 0.4915 MB / 1.421 GB, free: 10.76 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 5.551e-05/1.374, allocations: 38.36 kB / 1.421 GB, free: 10.72 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003104/1.374, allocations: 324.6 kB / 1.422 GB, free: 10.43 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001532/1.375, allocations: 148.3 kB / 1.422 GB, free: 10.3 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000152/1.375, allocations: 88.86 kB / 1.422 GB, free: 10.25 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0002111/1.375, allocations: 375.5 kB / 1.422 GB, free: 9.887 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003353/1.375, allocations: 172.8 kB / 1.422 GB, free: 9.797 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004413/1.376, allocations: 289.1 kB / 1.423 GB, free: 9.582 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007507/1.377, allocations: 448 kB / 1.423 GB, free: 9.305 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/1.377, allocations: 2.781 kB / 1.423 GB, free: 9.305 MB / 1.092 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0009847/1.377, allocations: 0.528 MB / 1.424 GB, free: 9.027 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 2.457e-05/1.378, allocations: 11.27 kB / 1.424 GB, free: 9.023 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.765e-06/1.378, allocations: 2.844 kB / 1.424 GB, free: 9.023 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.267e-05/1.378, allocations: 2.5 kB / 1.424 GB, free: 9.023 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007527/1.378, allocations: 135.2 kB / 1.424 GB, free: 8.988 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000491/1.379, allocations: 0.5961 MB / 1.424 GB, free: 8.387 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005989/1.379, allocations: 42.88 kB / 1.424 GB, free: 8.359 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.591e-05/1.379, allocations: 23.08 kB / 1.425 GB, free: 8.352 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006001/1.38, allocations: 350.7 kB / 1.425 GB, free: 8.133 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004291/1.38, allocations: 284.3 kB / 1.425 GB, free: 7.922 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007437/1.381, allocations: 455.6 kB / 1.426 GB, free: 7.637 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.663e-06/1.381, allocations: 0 / 1.426 GB, free: 7.637 MB / 1.092 GB Notification: Performance of matching and sorting (n=53) (initialization_lambda0): time 0.0009463/1.382, allocations: 0.5165 MB / 1.426 GB, free: 7.371 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 1.08e-05/1.382, allocations: 7.75 kB / 1.426 GB, free: 7.371 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/1.382, allocations: 2.344 kB / 1.426 GB, free: 7.371 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.168e-05/1.382, allocations: 15.14 kB / 1.426 GB, free: 7.359 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004977/1.383, allocations: 120.7 kB / 1.426 GB, free: 7.328 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.106e-06/1.383, allocations: 6.812 kB / 1.426 GB, free: 7.328 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000557/1.383, allocations: 44.27 kB / 1.426 GB, free: 7.297 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.753e-05/1.383, allocations: 23.19 kB / 1.426 GB, free: 7.289 MB / 1.092 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.0002483/1.384, allocations: 216.3 kB / 1.426 GB, free: 7.078 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001148/1.384, allocations: 59.47 kB / 1.427 GB, free: 7.047 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001052/1.385, allocations: 497.3 kB / 1.427 GB, free: 6.594 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.849e-06/1.385, allocations: 4 kB / 1.427 GB, free: 6.59 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.192e-06/1.385, allocations: 0 / 1.427 GB, free: 6.59 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009542/1.386, allocations: 0.7027 MB / 1.428 GB, free: 5.801 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002286/1.388, allocations: 1.277 MB / 1.429 GB, free: 4.445 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.008e-06/1.388, allocations: 4.031 kB / 1.429 GB, free: 4.441 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000651/1.389, allocations: 127.8 kB / 1.429 GB, free: 4.316 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.276e-06/1.389, allocations: 4 kB / 1.429 GB, free: 4.312 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.688e-05/1.389, allocations: 12 kB / 1.429 GB, free: 4.301 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004574/1.389, allocations: 0.5976 MB / 1.43 GB, free: 3.68 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.649e-06/1.389, allocations: 4.031 kB / 1.43 GB, free: 3.676 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001379/1.39, allocations: 0.7991 MB / 1.43 GB, free: 2.84 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003219/1.391, allocations: 188.7 kB / 1.431 GB, free: 2.637 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.391e-05/1.391, allocations: 14.62 kB / 1.431 GB, free: 2.625 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004217/1.391, allocations: 18.39 kB / 1.431 GB, free: 2.609 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001255/1.391, allocations: 35.91 kB / 1.431 GB, free: 2.574 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.517e-05/1.391, allocations: 15.98 kB / 1.431 GB, free: 2.559 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0004934/1.392, allocations: 354.8 kB / 1.431 GB, free: 2.215 MB / 1.092 GB Notification: Performance of sort global known variables: time 8e-08/1.392, allocations: 0 / 1.431 GB, free: 2.215 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.001192/1.393, allocations: 363.3 kB / 1.431 GB, free: 1.859 MB / 1.092 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.0005887/1.394, allocations: 208.8 kB / 1.432 GB, free: 1.656 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.001617/1.395, allocations: 0.6375 MB / 1.432 GB, free: 1.02 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 4.028e-06/1.395, allocations: 8.062 kB / 1.432 GB, free: 1.012 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0004519/1.396, allocations: 211.7 kB / 1.432 GB, free: 0.8047 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001672/1.398, allocations: 363.8 kB / 1.433 GB, free: 476 kB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002963/1.4, allocations: 1.457 MB / 1.434 GB, free: 14.96 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000766/1.401, allocations: 0.9457 MB / 1.435 GB, free: 13.98 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000219/1.401, allocations: 55.42 kB / 1.435 GB, free: 13.93 MB / 1.107 GB Notification: Performance of SimCode: time 1.703e-06/1.401, allocations: 0 / 1.435 GB, free: 13.93 MB / 1.107 GB Notification: Performance of Templates: time 0.02284/1.424, allocations: 13.08 MB / 1.448 GB, free: 0.9375 MB / 1.107 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Fluid.Sensors.Examples.Density.makefile [Timeout 300] (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=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Sensors.Examples.Density.pipe 2>&1) [Timeout 400] 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_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Sensors.Examples.Density.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 13.965266806073487]