Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.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_latest_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_latest_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.001103/0.001103, allocations: 112.9 kB / 16.42 MB, free: 6.5 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.001111/0.001111, allocations: 189.6 kB / 17.35 MB, free: 5.762 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.312/1.312, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.534/2.534, allocations: 461.7 MB / 0.7352 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001303/0.001303, allocations: 59.91 kB / 1.055 GB, free: 7.684 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7178/0.7191, allocations: 157.4 MB / 1.208 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction): time 0.1996/0.9187, allocations: 198 MB / 1.402 GB, free: 6.895 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.01531/0.9341, allocations: 10.91 MB / 1.412 GB, free: 11.96 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001508/0.9356, allocations: 43.75 kB / 1.412 GB, free: 11.91 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.001864/0.9376, allocations: 0.5316 MB / 1.413 GB, free: 11.38 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.004876/0.9425, allocations: 1.8 MB / 1.415 GB, free: 9.574 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.003128/0.9456, allocations: 1.155 MB / 1.416 GB, free: 8.422 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.003777/0.9494, allocations: 2.791 MB / 1.418 GB, free: 5.621 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00186/0.9513, allocations: 1.205 MB / 1.42 GB, free: 4.387 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003858/0.9552, allocations: 1.606 MB / 1.421 GB, free: 2.789 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001662/0.9568, allocations: 0.9495 MB / 1.422 GB, free: 1.836 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.0003328/0.9572, allocations: 120 kB / 1.422 GB, free: 1.719 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003353/0.9605, allocations: 1.723 MB / 1.424 GB, free: 15.99 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0007089/0.9613, allocations: 0.522 MB / 1.424 GB, free: 15.47 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.001239/0.9625, allocations: 0.7153 MB / 1.425 GB, free: 14.75 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.003969/0.9665, allocations: 2.352 MB / 1.427 GB, free: 12.39 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 6.612e-06/0.9665, allocations: 4 kB / 1.427 GB, free: 12.39 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.383e-06/0.9665, allocations: 0 / 1.427 GB, free: 12.39 MB / 1.154 GB Notification: Performance of Transformations before backend: time 7.459e-05/0.9666, allocations: 4 kB / 1.427 GB, free: 12.38 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: 253 * Number of variables: 253 Notification: Performance of Generate backend data structure: time 0.003373/0.97, allocations: 1.686 MB / 1.429 GB, free: 10.64 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.342e-05/0.97, allocations: 8.031 kB / 1.429 GB, free: 10.63 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001951/0.972, allocations: 326 kB / 1.429 GB, free: 10.31 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001749/0.9738, allocations: 0.9288 MB / 1.43 GB, free: 9.34 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.441e-05/0.9738, allocations: 74 kB / 1.43 GB, free: 9.27 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001751/0.974, allocations: 111.9 kB / 1.43 GB, free: 9.16 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001978/0.976, allocations: 1.179 MB / 1.432 GB, free: 7.941 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.388e-05/0.9761, allocations: 0 / 1.432 GB, free: 7.941 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.169e-05/0.9761, allocations: 44 kB / 1.432 GB, free: 7.898 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.14e-05/0.9762, allocations: 34 kB / 1.432 GB, free: 7.867 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001583/0.9778, allocations: 0.9368 MB / 1.433 GB, free: 6.93 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.005283/0.9831, allocations: 4.717 MB / 1.437 GB, free: 1.824 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001151/0.9842, allocations: 0.7186 MB / 1.438 GB, free: 1.098 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005473/0.9848, allocations: 391 kB / 1.438 GB, free: 0.7148 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005537/0.9854, allocations: 320.7 kB / 1.439 GB, free: 356 kB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.672e-05/0.9854, allocations: 39.12 kB / 1.439 GB, free: 308 kB / 1.154 GB Notification: Performance of pre-optimization done (n=68): time 2.334e-06/0.9854, allocations: 0 / 1.439 GB, free: 308 kB / 1.154 GB Notification: Performance of matching and sorting (n=68): time 0.001981/0.9874, allocations: 1.009 MB / 1.44 GB, free: 15.29 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.107e-05/0.9875, allocations: 59.97 kB / 1.44 GB, free: 15.21 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009517/0.9884, allocations: 0.7909 MB / 1.44 GB, free: 14.4 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 6.025e-05/0.9885, allocations: 41.7 kB / 1.44 GB, free: 14.35 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003637/0.9889, allocations: 0.5305 MB / 1.441 GB, free: 13.81 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002189/0.9891, allocations: 244.5 kB / 1.441 GB, free: 13.57 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002274/0.9893, allocations: 154.6 kB / 1.441 GB, free: 13.41 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001217/0.9895, allocations: 337.9 kB / 1.442 GB, free: 13.08 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004826/0.9899, allocations: 296.7 kB / 1.442 GB, free: 12.79 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006123/0.9906, allocations: 0.4967 MB / 1.442 GB, free: 12.21 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001097/0.9917, allocations: 0.7952 MB / 1.443 GB, free: 11.35 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.06e-06/0.9917, allocations: 0 / 1.443 GB, free: 11.35 MB / 1.17 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001435/0.9931, allocations: 0.9057 MB / 1.444 GB, free: 10.44 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.159e-05/0.9932, allocations: 9.875 kB / 1.444 GB, free: 10.43 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.138e-05/0.9932, allocations: 4 kB / 1.444 GB, free: 10.43 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.144e-05/0.9932, allocations: 8 kB / 1.444 GB, free: 10.42 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008108/0.994, allocations: 188.4 kB / 1.444 GB, free: 10.23 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003602/0.9944, allocations: 0.6093 MB / 1.445 GB, free: 9.602 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007319/0.9951, allocations: 79.14 kB / 1.445 GB, free: 9.523 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.478e-05/0.9952, allocations: 36 kB / 1.445 GB, free: 9.488 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008308/0.9961, allocations: 0.5448 MB / 1.446 GB, free: 8.941 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006001/0.9967, allocations: 0.497 MB / 1.446 GB, free: 8.367 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001059/0.9977, allocations: 0.7874 MB / 1.447 GB, free: 7.516 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.116e-06/0.9977, allocations: 4 kB / 1.447 GB, free: 7.512 MB / 1.17 GB Notification: Performance of matching and sorting (n=96) (initialization_lambda0): time 0.001405/0.9992, allocations: 0.9063 MB / 1.448 GB, free: 6.598 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.288e-05/0.9992, allocations: 12 kB / 1.448 GB, free: 6.586 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/0.9992, allocations: 4 kB / 1.448 GB, free: 6.582 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.14e-05/0.9992, allocations: 11.94 kB / 1.448 GB, free: 6.57 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006221/0.9998, allocations: 171.7 kB / 1.448 GB, free: 6.402 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.238e-05/0.9999, allocations: 8 kB / 1.448 GB, free: 6.395 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006816/1.001, allocations: 59.52 kB / 1.448 GB, free: 6.336 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.915e-05/1.001, allocations: 35.98 kB / 1.448 GB, free: 6.301 MB / 1.17 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.0002043/1.001, allocations: 236 kB / 1.448 GB, free: 6.062 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001691/1.001, allocations: 98.78 kB / 1.448 GB, free: 5.965 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001331/1.002, allocations: 0.8014 MB / 1.449 GB, free: 5.152 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001044/1.003, allocations: 0.871 MB / 1.45 GB, free: 4.211 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.548e-06/1.003, allocations: 3.984 kB / 1.45 GB, free: 4.207 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003782/1.004, allocations: 255.6 kB / 1.45 GB, free: 3.938 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001304/1.004, allocations: 19.98 kB / 1.45 GB, free: 3.918 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004741/1.004, allocations: 16 kB / 1.45 GB, free: 3.902 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.236e-05/1.004, allocations: 36.5 kB / 1.45 GB, free: 3.867 MB / 1.17 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001906/1.006, allocations: 0.8626 MB / 1.451 GB, free: 2.992 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001901/1.008, allocations: 1.325 MB / 1.452 GB, free: 1.652 MB / 1.17 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004877/1.009, allocations: 340.3 kB / 1.453 GB, free: 1.32 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0007649/1.01, allocations: 0.5421 MB / 1.453 GB, free: 0.7656 MB / 1.17 GB Notification: Performance of Backend: time 4.7e-07/1.01, allocations: 3.938 kB / 1.453 GB, free: 0.7617 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.003556/1.013, allocations: 1.356 MB / 1.455 GB, free: 15.41 MB / 1.186 GB Notification: Performance of SimCode: time 0.004813/1.018, allocations: 2.779 MB / 1.457 GB, free: 12.59 MB / 1.186 GB Notification: Performance of Templates: time 0.03817/1.056, allocations: 23.77 MB / 1.481 GB, free: 5.055 MB / 1.201 GB make -j1 -f Buildings_latest_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.makefile (rm -f Buildings_latest_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.sim & ./Buildings_latest_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sensors_Conversions_Examples_To_VolumeFraction.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches