Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001344/0.001344, allocations: 112.6 kB / 17.08 MB, free: 5.941 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.001315/0.001315, allocations: 194.2 kB / 20.03 MB, free: 3.027 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.399/1.399, allocations: 222.9 MB / 245.7 MB, free: 4.188 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.929/2.929, allocations: 489.3 MB / 0.7687 GB, free: 3.75 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_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_latest_Buildings.Fluid.Sensors.Examples.Density") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002038/0.002038, allocations: 71.89 kB / 1.103 GB, free: 0.7305 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9499/0.952, allocations: 163.8 MB / 1.263 GB, free: 7.973 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Density): time 0.2393/1.191, allocations: 185.1 MB / 1.443 GB, free: 12.84 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.01079/1.202, allocations: 6.985 MB / 1.45 GB, free: 7.176 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001224/1.203, allocations: 25.12 kB / 1.45 GB, free: 7.168 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.001221/1.205, allocations: 402.6 kB / 1.451 GB, free: 6.836 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.003981/1.209, allocations: 1.439 MB / 1.452 GB, free: 5.727 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.003371/1.212, allocations: 1.174 MB / 1.453 GB, free: 4.848 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.00301/1.215, allocations: 1.933 MB / 1.455 GB, free: 2.941 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001011/1.216, allocations: 0.6531 MB / 1.456 GB, free: 2.273 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002306/1.218, allocations: 1.024 MB / 1.457 GB, free: 1.246 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001367/1.22, allocations: 0.5953 MB / 1.457 GB, free: 0.6523 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.0001356/1.22, allocations: 68 kB / 1.457 GB, free: 0.5859 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004002/1.224, allocations: 1.914 MB / 1.459 GB, free: 14.66 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0003691/1.224, allocations: 287.1 kB / 1.459 GB, free: 14.39 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0005746/1.225, allocations: 438 kB / 1.46 GB, free: 13.96 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.003282/1.228, allocations: 1.771 MB / 1.462 GB, free: 12.18 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/1.228, allocations: 0 / 1.462 GB, free: 12.18 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.553e-06/1.228, allocations: 0 / 1.462 GB, free: 12.18 MB / 1.154 GB Notification: Performance of Transformations before backend: time 1.071e-05/1.228, allocations: 0 / 1.462 GB, free: 12.18 MB / 1.154 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.002009/1.23, allocations: 1.186 MB / 1.463 GB, free: 10.95 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.156e-05/1.23, allocations: 8.031 kB / 1.463 GB, free: 10.94 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001865/1.232, allocations: 271.2 kB / 1.463 GB, free: 10.67 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001045/1.233, allocations: 0.6148 MB / 1.464 GB, free: 10.02 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.085e-05/1.233, allocations: 45.31 kB / 1.464 GB, free: 9.977 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001127/1.233, allocations: 52 kB / 1.464 GB, free: 9.926 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001145/1.235, allocations: 0.644 MB / 1.464 GB, free: 9.266 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.371e-05/1.235, allocations: 3.938 kB / 1.464 GB, free: 9.262 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.487e-05/1.235, allocations: 23.94 kB / 1.464 GB, free: 9.238 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.274e-05/1.235, allocations: 21.31 kB / 1.464 GB, free: 9.219 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009863/1.236, allocations: 0.5204 MB / 1.465 GB, free: 8.699 MB / 1.154 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.003371/1.239, allocations: 2.525 MB / 1.467 GB, free: 5.938 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007203/1.24, allocations: 367.5 kB / 1.468 GB, free: 5.57 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004076/1.24, allocations: 236.2 kB / 1.468 GB, free: 5.34 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005952/1.241, allocations: 307.6 kB / 1.468 GB, free: 4.984 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.983e-05/1.241, allocations: 42.88 kB / 1.468 GB, free: 4.934 MB / 1.154 GB Notification: Performance of pre-optimization done (n=39): time 2.094e-06/1.241, allocations: 0 / 1.468 GB, free: 4.934 MB / 1.154 GB Notification: Performance of matching and sorting (n=39): time 0.001507/1.242, allocations: 0.6228 MB / 1.469 GB, free: 4.305 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.509e-05/1.242, allocations: 55.41 kB / 1.469 GB, free: 4.238 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006169/1.243, allocations: 0.4989 MB / 1.469 GB, free: 3.727 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 4.625e-05/1.243, allocations: 33.7 kB / 1.469 GB, free: 3.688 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.000265/1.243, allocations: 332.9 kB / 1.47 GB, free: 3.359 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001513/1.244, allocations: 150.7 kB / 1.47 GB, free: 3.211 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001517/1.244, allocations: 86.08 kB / 1.47 GB, free: 3.121 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0002005/1.244, allocations: 370.7 kB / 1.47 GB, free: 2.75 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003565/1.244, allocations: 182.5 kB / 1.471 GB, free: 2.57 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004517/1.245, allocations: 279.3 kB / 1.471 GB, free: 2.258 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008037/1.246, allocations: 467.9 kB / 1.471 GB, free: 1.77 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.916e-06/1.246, allocations: 0 / 1.471 GB, free: 1.77 MB / 1.154 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0009769/1.247, allocations: 0.5245 MB / 1.472 GB, free: 1.238 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.808e-05/1.247, allocations: 8.031 kB / 1.472 GB, free: 1.23 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.238e-06/1.247, allocations: 4 kB / 1.472 GB, free: 1.227 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.983e-05/1.247, allocations: 4 kB / 1.472 GB, free: 1.223 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007108/1.247, allocations: 131.8 kB / 1.472 GB, free: 1.094 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004545/1.248, allocations: 0.5938 MB / 1.472 GB, free: 488 kB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005154/1.248, allocations: 47.72 kB / 1.473 GB, free: 440 kB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.484e-05/1.248, allocations: 20 kB / 1.473 GB, free: 420 kB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000572/1.249, allocations: 352.4 kB / 1.473 GB, free: 68 kB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004727/1.249, allocations: 291.3 kB / 1.473 GB, free: 15.75 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007777/1.25, allocations: 444.6 kB / 1.474 GB, free: 15.28 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.897e-06/1.25, allocations: 4 kB / 1.474 GB, free: 15.28 MB / 1.17 GB Notification: Performance of matching and sorting (n=53) (initialization_lambda0): time 0.0009288/1.251, allocations: 0.5243 MB / 1.474 GB, free: 14.75 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.025e-05/1.251, allocations: 4 kB / 1.474 GB, free: 14.74 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/1.251, allocations: 4 kB / 1.474 GB, free: 14.74 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.686e-06/1.251, allocations: 7.938 kB / 1.474 GB, free: 14.73 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005061/1.252, allocations: 124.1 kB / 1.474 GB, free: 14.61 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.502e-06/1.252, allocations: 4 kB / 1.474 GB, free: 14.61 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005193/1.252, allocations: 47.7 kB / 1.474 GB, free: 14.56 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.055e-05/1.252, allocations: 20 kB / 1.474 GB, free: 14.54 MB / 1.17 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.0002404/1.253, allocations: 204.1 kB / 1.474 GB, free: 14.33 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000124/1.253, allocations: 63.56 kB / 1.475 GB, free: 14.27 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001101/1.254, allocations: 490.8 kB / 1.475 GB, free: 13.78 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.133e-06/1.254, allocations: 4 kB / 1.475 GB, free: 13.78 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/1.254, allocations: 0 / 1.475 GB, free: 13.78 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009616/1.255, allocations: 0.712 MB / 1.476 GB, free: 12.98 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002395/1.257, allocations: 1.281 MB / 1.477 GB, free: 11.62 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.173e-06/1.257, allocations: 7.922 kB / 1.477 GB, free: 11.61 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006923/1.258, allocations: 124.1 kB / 1.477 GB, free: 11.49 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.227e-05/1.258, allocations: 4 kB / 1.477 GB, free: 11.49 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.55e-05/1.258, allocations: 15.92 kB / 1.477 GB, free: 11.47 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004694/1.259, allocations: 0.5938 MB / 1.478 GB, free: 10.86 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.559e-06/1.259, allocations: 4 kB / 1.478 GB, free: 10.85 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001387/1.26, allocations: 0.7982 MB / 1.478 GB, free: 10.01 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002909/1.26, allocations: 180.6 kB / 1.479 GB, free: 9.816 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.396e-05/1.26, allocations: 15.94 kB / 1.479 GB, free: 9.801 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004079/1.261, allocations: 19.97 kB / 1.479 GB, free: 9.781 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.69e-05/1.261, allocations: 27.91 kB / 1.479 GB, free: 9.754 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.246e-05/1.261, allocations: 16 kB / 1.479 GB, free: 9.738 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0004607/1.261, allocations: 354.8 kB / 1.479 GB, free: 9.395 MB / 1.17 GB Notification: Performance of sort global known variables: time 1e-07/1.261, allocations: 0 / 1.479 GB, free: 9.395 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.001017/1.262, allocations: 371.2 kB / 1.479 GB, free: 9.031 MB / 1.17 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.0005472/1.263, allocations: 199.1 kB / 1.48 GB, free: 8.836 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.00155/1.264, allocations: 0.6761 MB / 1.48 GB, free: 8.16 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 3.927e-06/1.265, allocations: 5.062 kB / 1.48 GB, free: 8.156 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.0004672/1.265, allocations: 232.4 kB / 1.48 GB, free: 7.93 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001685/1.267, allocations: 353.5 kB / 1.481 GB, free: 7.594 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002512/1.269, allocations: 1.444 MB / 1.482 GB, free: 6.09 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006676/1.27, allocations: 0.9496 MB / 1.483 GB, free: 5.113 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001769/1.27, allocations: 51.44 kB / 1.483 GB, free: 5.062 MB / 1.17 GB Notification: Performance of SimCode: time 2.624e-06/1.27, allocations: 4 kB / 1.483 GB, free: 5.059 MB / 1.17 GB Notification: Performance of Templates: time 0.0202/1.29, allocations: 13.01 MB / 1.496 GB, free: 8.113 MB / 1.186 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.Sensors.Examples.Density.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Sensors.Examples.Density.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Examples.Density.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Examples.Density.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.Density.sim & ./Buildings_latest_Buildings.Fluid.Sensors.Examples.Density -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sensors.Examples.Density.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.Sensors.Examples.Density_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sensors_Examples_Density.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_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.593776539899409]