Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.Conversions.Examples.To_VolumeFraction,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|limPID.u_s|limPID.u_m|limPID.y|conVolFlo.y|conMasVolFra.V",fileNamePrefix="Buildings_11_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction") translateModel(Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|limPID.u_s|limPID.u_m|limPID.y|conVolFlo.y|conMasVolFra.V",fileNamePrefix="Buildings_11_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001236/0.001236, allocations: 117.3 kB / 16.81 MB, free: 5.754 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.001264/0.001264, allocations: 199.1 kB / 17.77 MB, free: 5.125 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.399/1.399, allocations: 225.6 MB / 244.2 MB, free: 13.88 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.741/2.741, allocations: 476.7 MB / 0.7556 GB, free: 11.32 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.00195/0.00195, allocations: 68.81 kB / 1.097 GB, free: 11.74 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3137/0.3156, allocations: 168.7 MB / 1.262 GB, free: 12.97 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction): time 0.2238/0.5395, allocations: 198.7 MB / 1.456 GB, free: 5.523 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.01593/0.5554, allocations: 10.98 MB / 1.467 GB, free: 10.52 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001441/0.5568, allocations: 43.75 kB / 1.467 GB, free: 10.47 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.001626/0.5585, allocations: 0.5432 MB / 1.467 GB, free: 9.926 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.004734/0.5632, allocations: 1.864 MB / 1.469 GB, free: 8.055 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.003228/0.5664, allocations: 1.186 MB / 1.47 GB, free: 6.875 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.004078/0.5705, allocations: 2.799 MB / 1.473 GB, free: 4.062 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001681/0.5722, allocations: 0.9984 MB / 1.474 GB, free: 3.039 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004506/0.5767, allocations: 1.67 MB / 1.476 GB, free: 1.375 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00192/0.5786, allocations: 1.012 MB / 1.477 GB, free: 372 kB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0002277/0.5788, allocations: 124 kB / 1.477 GB, free: 248 kB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003609/0.5825, allocations: 1.808 MB / 1.479 GB, free: 14.43 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0006684/0.5831, allocations: 0.5296 MB / 1.479 GB, free: 13.9 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.001008/0.5841, allocations: 0.7114 MB / 1.48 GB, free: 13.18 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.004091/0.5882, allocations: 2.371 MB / 1.482 GB, free: 10.8 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.5882, allocations: 0 / 1.482 GB, free: 10.8 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.803e-06/0.5882, allocations: 0 / 1.482 GB, free: 10.8 MB / 1.201 GB Notification: Performance of Transformations before backend: time 2.449e-05/0.5883, allocations: 0 / 1.482 GB, free: 10.8 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: 253 * Number of variables: 253 Notification: Performance of Generate backend data structure: time 0.002992/0.5912, allocations: 1.742 MB / 1.484 GB, free: 9.008 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.355e-05/0.5913, allocations: 8.031 kB / 1.484 GB, free: 9 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001904/0.5932, allocations: 326.8 kB / 1.484 GB, free: 8.68 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001669/0.5949, allocations: 0.9335 MB / 1.485 GB, free: 7.703 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.672e-05/0.5949, allocations: 82 kB / 1.485 GB, free: 7.621 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001756/0.5951, allocations: 104 kB / 1.485 GB, free: 7.52 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001956/0.5971, allocations: 1.175 MB / 1.486 GB, free: 6.309 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.862e-05/0.5971, allocations: 4 kB / 1.486 GB, free: 6.305 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.46e-05/0.5972, allocations: 40 kB / 1.486 GB, free: 6.266 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-05/0.5972, allocations: 38 kB / 1.486 GB, free: 6.227 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001636/0.5989, allocations: 0.9368 MB / 1.487 GB, free: 5.289 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.005919/0.6048, allocations: 4.739 MB / 1.492 GB, free: 168 kB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001274/0.6061, allocations: 0.6852 MB / 1.493 GB, free: 15.47 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005797/0.6067, allocations: 370.9 kB / 1.493 GB, free: 15.11 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006656/0.6073, allocations: 315.8 kB / 1.493 GB, free: 14.74 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.202e-05/0.6074, allocations: 47.06 kB / 1.493 GB, free: 14.69 MB / 1.217 GB Notification: Performance of pre-optimization done (n=68): time 3.757e-06/0.6074, allocations: 0 / 1.493 GB, free: 14.69 MB / 1.217 GB Notification: Performance of matching and sorting (n=68): time 0.002142/0.6095, allocations: 1.006 MB / 1.494 GB, free: 13.68 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.963e-05/0.6096, allocations: 59.97 kB / 1.494 GB, free: 13.61 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001065/0.6106, allocations: 0.7949 MB / 1.495 GB, free: 12.79 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 6.893e-05/0.6107, allocations: 37.7 kB / 1.495 GB, free: 12.75 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004835/0.6112, allocations: 0.5474 MB / 1.496 GB, free: 12.19 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002529/0.6114, allocations: 257.7 kB / 1.496 GB, free: 11.94 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002418/0.6117, allocations: 146.6 kB / 1.496 GB, free: 11.79 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001659/0.6118, allocations: 337.9 kB / 1.496 GB, free: 11.45 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005168/0.6123, allocations: 304.7 kB / 1.497 GB, free: 11.15 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007152/0.6131, allocations: 0.4929 MB / 1.497 GB, free: 10.58 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001197/0.6143, allocations: 0.7952 MB / 1.498 GB, free: 9.723 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.468e-06/0.6143, allocations: 0 / 1.498 GB, free: 9.723 MB / 1.217 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001545/0.6158, allocations: 0.9145 MB / 1.499 GB, free: 8.801 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 2.085e-05/0.6158, allocations: 4 kB / 1.499 GB, free: 8.797 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.481e-05/0.6158, allocations: 11.98 kB / 1.499 GB, free: 8.785 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.553e-05/0.6159, allocations: 8 kB / 1.499 GB, free: 8.777 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008823/0.6168, allocations: 175.8 kB / 1.499 GB, free: 8.605 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004355/0.6172, allocations: 0.6096 MB / 1.5 GB, free: 7.973 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007275/0.6179, allocations: 87.33 kB / 1.5 GB, free: 7.887 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.179e-05/0.618, allocations: 35.98 kB / 1.5 GB, free: 7.852 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009151/0.6189, allocations: 0.5409 MB / 1.5 GB, free: 7.309 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006761/0.6196, allocations: 0.4891 MB / 1.501 GB, free: 6.742 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001211/0.6208, allocations: 0.7952 MB / 1.502 GB, free: 5.883 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.775e-06/0.6208, allocations: 0 / 1.502 GB, free: 5.883 MB / 1.217 GB Notification: Performance of matching and sorting (n=96) (initialization_lambda0): time 0.001529/0.6223, allocations: 0.9063 MB / 1.502 GB, free: 4.969 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 1.397e-05/0.6223, allocations: 11.94 kB / 1.502 GB, free: 4.957 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.032e-06/0.6223, allocations: 4 kB / 1.502 GB, free: 4.953 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.117e-05/0.6223, allocations: 12.62 kB / 1.502 GB, free: 4.941 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006509/0.623, allocations: 171.7 kB / 1.503 GB, free: 4.773 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.597e-05/0.623, allocations: 8 kB / 1.503 GB, free: 4.766 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007121/0.6237, allocations: 71.59 kB / 1.503 GB, free: 4.695 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.8e-05/0.6238, allocations: 32 kB / 1.503 GB, free: 4.664 MB / 1.217 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 1 (limPID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (96): * Single equations (assignments): 95 * 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.0002574/0.624, allocations: 230.7 kB / 1.503 GB, free: 4.434 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002004/0.6242, allocations: 111.3 kB / 1.503 GB, free: 4.324 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001452/0.6257, allocations: 0.8015 MB / 1.504 GB, free: 3.508 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00116/0.6268, allocations: 0.8749 MB / 1.505 GB, free: 2.566 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.484e-06/0.6269, allocations: 0 / 1.505 GB, free: 2.566 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000401/0.6273, allocations: 260.2 kB / 1.505 GB, free: 2.293 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001175/0.6274, allocations: 12 kB / 1.505 GB, free: 2.281 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004907/0.6279, allocations: 23.98 kB / 1.505 GB, free: 2.258 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.019e-05/0.628, allocations: 36.52 kB / 1.505 GB, free: 2.219 MB / 1.217 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001778/0.6297, allocations: 0.8625 MB / 1.506 GB, free: 1.352 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001922/0.6317, allocations: 1.337 MB / 1.507 GB, free: 15.99 MB / 1.232 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000513/0.6322, allocations: 312.2 kB / 1.507 GB, free: 15.69 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.0007587/0.6329, allocations: 0.5499 MB / 1.508 GB, free: 15.13 MB / 1.232 GB Notification: Performance of Backend: time 2.4e-07/0.6329, allocations: 0 / 1.508 GB, free: 15.13 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.003392/0.6363, allocations: 1.285 MB / 1.509 GB, free: 13.85 MB / 1.232 GB Notification: Performance of SimCode: time 0.00484/0.6412, allocations: 2.84 MB / 1.512 GB, free: 10.97 MB / 1.232 GB Notification: Performance of Templates: time 0.04537/0.6865, allocations: 24.45 MB / 1.536 GB, free: 2.758 MB / 1.248 GB make -j1 -f Buildings_11_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.makefile (rm -f Buildings_11_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe ; mkfifo Buildings_11_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe >> ../files/Buildings_11_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.sim & ./Buildings_11_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Sensors_Conversions_Examples_To_VolumeFraction.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches