Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Sensors.Examples.MassFraction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001691/0.001691, allocations: 97.11 kB / 19.7 MB, free: 2.129 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002116/0.002116, allocations: 205.7 kB / 23 MB, free: 4.934 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.513/1.513, allocations: 230.6 MB / 256.8 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.173/3.173, allocations: 0.49 GB / 0.7959 GB, free: 35.48 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Sensors.Examples.MassFraction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|vol.Xi.1.|senMasFra1.X|senMasFra2.X",fileNamePrefix="Buildings_12_Buildings.Fluid.Sensors.Examples.MassFraction") translateModel(Buildings.Fluid.Sensors.Examples.MassFraction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|vol.Xi.1.|senMasFra1.X|senMasFra2.X",fileNamePrefix="Buildings_12_Buildings.Fluid.Sensors.Examples.MassFraction") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002016/0.002016, allocations: 67.56 kB / 1.155 GB, free: 25.15 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3027/0.3047, allocations: 176.1 MB / 1.327 GB, free: 0.9766 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.MassFraction): time 0.2233/0.5281, allocations: 165.2 MB / 1.488 GB, free: 11.14 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.007718/0.5358, allocations: 4.3 MB / 1.493 GB, free: 6.836 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005733/0.5364, allocations: 43.62 kB / 1.493 GB, free: 6.793 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.001046/0.5374, allocations: 401.5 kB / 1.493 GB, free: 6.398 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.003095/0.5405, allocations: 1.397 MB / 1.494 GB, free: 4.996 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.001763/0.5423, allocations: 0.7793 MB / 1.495 GB, free: 4.223 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.002236/0.5445, allocations: 2.011 MB / 1.497 GB, free: 2.203 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007178/0.5452, allocations: 0.5114 MB / 1.498 GB, free: 1.68 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003198/0.5484, allocations: 1.347 MB / 1.499 GB, free: 348 kB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009727/0.5494, allocations: 0.6234 MB / 1.5 GB, free: 15.71 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0001134/0.5495, allocations: 68 kB / 1.5 GB, free: 15.65 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002052/0.5515, allocations: 1.142 MB / 1.501 GB, free: 14.51 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.000331/0.5519, allocations: 299.1 kB / 1.501 GB, free: 14.21 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.000394/0.5523, allocations: 342.6 kB / 1.501 GB, free: 13.88 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.002083/0.5544, allocations: 1.456 MB / 1.503 GB, free: 12.42 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 6.202e-06/0.5544, allocations: 0 / 1.503 GB, free: 12.42 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.493e-06/0.5544, allocations: 0 / 1.503 GB, free: 12.42 MB / 1.201 GB Notification: Performance of Transformations before backend: time 1.143e-05/0.5544, allocations: 0 / 1.503 GB, free: 12.42 MB / 1.201 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 129 * Number of variables: 129 Notification: Performance of Generate backend data structure: time 0.001846/0.5562, allocations: 1.042 MB / 1.504 GB, free: 11.34 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.432e-05/0.5563, allocations: 8.031 kB / 1.504 GB, free: 11.34 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001371/0.5576, allocations: 219.2 kB / 1.504 GB, free: 11.12 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001162/0.5588, allocations: 0.5544 MB / 1.505 GB, free: 10.54 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.327e-05/0.5588, allocations: 41.31 kB / 1.505 GB, free: 10.5 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001002/0.5589, allocations: 56 kB / 1.505 GB, free: 10.45 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001127/0.5601, allocations: 0.721 MB / 1.505 GB, free: 9.684 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.598e-05/0.5601, allocations: 3.938 kB / 1.505 GB, free: 9.68 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.645e-05/0.5601, allocations: 20 kB / 1.505 GB, free: 9.66 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.555e-05/0.5602, allocations: 25.31 kB / 1.505 GB, free: 9.633 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000832/0.561, allocations: 496.9 kB / 1.506 GB, free: 9.145 MB / 1.201 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.002666/0.5637, allocations: 1.509 MB / 1.507 GB, free: 7.594 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000635/0.5643, allocations: 346.7 kB / 1.508 GB, free: 7.246 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003152/0.5646, allocations: 196.7 kB / 1.508 GB, free: 7.051 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005027/0.5651, allocations: 79.91 kB / 1.508 GB, free: 6.973 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.711e-05/0.5652, allocations: 34.56 kB / 1.508 GB, free: 6.93 MB / 1.201 GB Notification: Performance of pre-optimization done (n=36): time 1.944e-06/0.5652, allocations: 4 kB / 1.508 GB, free: 6.926 MB / 1.201 GB Notification: Performance of matching and sorting (n=36): time 0.001176/0.5663, allocations: 0.5414 MB / 1.509 GB, free: 6.379 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.473e-05/0.5664, allocations: 55.41 kB / 1.509 GB, free: 6.312 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005152/0.5669, allocations: 446 kB / 1.509 GB, free: 5.867 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 4.351e-05/0.5669, allocations: 37.7 kB / 1.509 GB, free: 5.824 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002551/0.5672, allocations: 328.9 kB / 1.509 GB, free: 5.496 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001258/0.5673, allocations: 138.8 kB / 1.509 GB, free: 5.359 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001533/0.5675, allocations: 86.09 kB / 1.51 GB, free: 5.266 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001768/0.5677, allocations: 370.7 kB / 1.51 GB, free: 4.895 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002595/0.5679, allocations: 154.5 kB / 1.51 GB, free: 4.742 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004342/0.5683, allocations: 417.9 kB / 1.51 GB, free: 4.258 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006029/0.569, allocations: 410.2 kB / 1.511 GB, free: 3.828 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.569, allocations: 3.938 kB / 1.511 GB, free: 3.824 MB / 1.201 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0007666/0.5697, allocations: 485.5 kB / 1.511 GB, free: 3.344 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 1.719e-05/0.5697, allocations: 13.84 kB / 1.511 GB, free: 3.332 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.674e-06/0.5697, allocations: 4 kB / 1.511 GB, free: 3.328 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.747e-05/0.5698, allocations: 4 kB / 1.511 GB, free: 3.324 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005872/0.5703, allocations: 95.88 kB / 1.511 GB, free: 3.23 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004299/0.5708, allocations: 0.5977 MB / 1.512 GB, free: 2.609 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004651/0.5712, allocations: 39.72 kB / 1.512 GB, free: 2.57 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.019e-05/0.5713, allocations: 20 kB / 1.512 GB, free: 2.551 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004524/0.5717, allocations: 325 kB / 1.512 GB, free: 2.227 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004269/0.5722, allocations: 421.6 kB / 1.513 GB, free: 1.742 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005737/0.5727, allocations: 392.6 kB / 1.513 GB, free: 1.328 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.933e-06/0.5727, allocations: 7.984 kB / 1.513 GB, free: 1.32 MB / 1.201 GB Notification: Performance of matching and sorting (n=49) (initialization_lambda0): time 0.0007465/0.5735, allocations: 488.8 kB / 1.514 GB, free: 0.8359 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 1.075e-05/0.5735, allocations: 8 kB / 1.514 GB, free: 0.8281 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.5735, allocations: 4 kB / 1.514 GB, free: 0.8242 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.692e-06/0.5735, allocations: 4 kB / 1.514 GB, free: 0.8203 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003795/0.5739, allocations: 91.97 kB / 1.514 GB, free: 0.7305 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.053e-05/0.5739, allocations: 12.2 kB / 1.514 GB, free: 0.7188 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000435/0.5743, allocations: 31.84 kB / 1.514 GB, free: 0.6875 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.708e-05/0.5744, allocations: 19.98 kB / 1.514 GB, free: 0.668 MB / 1.201 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 (49): * Single equations (assignments): 48 * 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.0001758/0.5746, allocations: 207 kB / 1.514 GB, free: 472 kB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.833e-05/0.5746, allocations: 51.67 kB / 1.514 GB, free: 420 kB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007767/0.5754, allocations: 451.1 kB / 1.514 GB, free: 15.96 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006919/0.5761, allocations: 0.6519 MB / 1.515 GB, free: 15.22 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.5761, allocations: 0 / 1.515 GB, free: 15.22 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000239/0.5764, allocations: 95.56 kB / 1.515 GB, free: 15.12 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.013e-05/0.5764, allocations: 8 kB / 1.515 GB, free: 15.12 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003214/0.5768, allocations: 9.688 kB / 1.515 GB, free: 15.11 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.703e-05/0.5768, allocations: 23.95 kB / 1.515 GB, free: 15.09 MB / 1.217 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001036/0.5778, allocations: 0.5056 MB / 1.516 GB, free: 14.57 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001025/0.5789, allocations: 0.7598 MB / 1.516 GB, free: 13.8 MB / 1.217 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002506/0.5791, allocations: 159.8 kB / 1.517 GB, free: 13.64 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0003666/0.5795, allocations: 318.9 kB / 1.517 GB, free: 13.33 MB / 1.217 GB Notification: Performance of Backend: time 6.31e-07/0.5795, allocations: 4 kB / 1.517 GB, free: 13.33 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.002085/0.5816, allocations: 0.7665 MB / 1.518 GB, free: 12.55 MB / 1.217 GB Notification: Performance of SimCode: time 0.002965/0.5845, allocations: 1.882 MB / 1.52 GB, free: 10.62 MB / 1.217 GB Notification: Performance of Templates: time 0.02738/0.6119, allocations: 16.35 MB / 1.535 GB, free: 10.51 MB / 1.232 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.Sensors.Examples.MassFraction.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Sensors.Examples.MassFraction.pipe ; mkfifo Buildings_12_Buildings.Fluid.Sensors.Examples.MassFraction.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Sensors.Examples.MassFraction.pipe >> ../files/Buildings_12_Buildings.Fluid.Sensors.Examples.MassFraction.sim & ./Buildings_12_Buildings.Fluid.Sensors.Examples.MassFraction -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Sensors.Examples.MassFraction.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Sensors.Examples.MassFraction_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Sensors_Examples_MassFraction.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Sensors.Examples.MassFraction.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: 9.261953070003074]