Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001491/0.001491, allocations: 114.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.001583/0.001584, allocations: 183.9 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.291/1.291, allocations: 222.9 MB / 241.1 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.178/2.178, allocations: 390.3 MB / 0.6655 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001338/0.001338, allocations: 63.91 kB / 0.9516 GB, free: 7.641 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7009/0.7023, allocations: 140.4 MB / 1.089 GB, free: 5.512 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction): time 0.2064/0.9087, allocations: 198 MB / 1.282 GB, free: 7.645 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.01334/0.9221, allocations: 10.91 MB / 1.293 GB, free: 12.7 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001177/0.9233, allocations: 43.75 kB / 1.293 GB, free: 12.66 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001344/0.9247, allocations: 0.5394 MB / 1.293 GB, free: 12.12 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.003676/0.9283, allocations: 1.871 MB / 1.295 GB, free: 10.24 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.002496/0.9309, allocations: 1.167 MB / 1.296 GB, free: 9.078 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.003142/0.934, allocations: 2.792 MB / 1.299 GB, free: 6.277 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00144/0.9355, allocations: 1.209 MB / 1.3 GB, free: 5.051 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003563/0.939, allocations: 1.663 MB / 1.302 GB, free: 3.395 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001121/0.9402, allocations: 0.9632 MB / 1.303 GB, free: 2.43 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0001755/0.9403, allocations: 124 kB / 1.303 GB, free: 2.309 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002641/0.943, allocations: 1.727 MB / 1.304 GB, free: 0.5781 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0004266/0.9434, allocations: 0.522 MB / 1.305 GB, free: 56 kB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0006238/0.9441, allocations: 0.7077 MB / 1.306 GB, free: 15.34 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.002517/0.9466, allocations: 2.352 MB / 1.308 GB, free: 12.98 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.9466, allocations: 0 / 1.308 GB, free: 12.98 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.354e-06/0.9466, allocations: 4 kB / 1.308 GB, free: 12.98 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.561e-05/0.9466, allocations: 3.938 kB / 1.308 GB, free: 12.98 MB / 1.045 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.002349/0.949, allocations: 1.69 MB / 1.31 GB, free: 11.23 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.554e-05/0.949, allocations: 8.031 kB / 1.31 GB, free: 11.22 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001777/0.9508, allocations: 330 kB / 1.31 GB, free: 10.9 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001497/0.9523, allocations: 0.921 MB / 1.311 GB, free: 9.934 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.473e-05/0.9524, allocations: 78 kB / 1.311 GB, free: 9.859 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001411/0.9525, allocations: 104 kB / 1.311 GB, free: 9.758 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001712/0.9543, allocations: 1.183 MB / 1.312 GB, free: 8.535 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.17e-05/0.9543, allocations: 0 / 1.312 GB, free: 8.535 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.947e-05/0.9544, allocations: 40 kB / 1.312 GB, free: 8.496 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.967e-05/0.9544, allocations: 41.94 kB / 1.312 GB, free: 8.457 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001452/0.9559, allocations: 0.9408 MB / 1.313 GB, free: 7.512 MB / 1.045 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.004773/0.9607, allocations: 4.714 MB / 1.318 GB, free: 2.41 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001105/0.9618, allocations: 0.7128 MB / 1.318 GB, free: 1.691 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005421/0.9623, allocations: 402.9 kB / 1.319 GB, free: 1.297 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005633/0.9629, allocations: 316.7 kB / 1.319 GB, free: 0.9297 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.818e-05/0.9629, allocations: 39.06 kB / 1.319 GB, free: 0.8828 MB / 1.045 GB Notification: Performance of pre-optimization done (n=68): time 1.983e-06/0.963, allocations: 4 kB / 1.319 GB, free: 0.8789 MB / 1.045 GB Notification: Performance of matching and sorting (n=68): time 0.001774/0.9647, allocations: 1.002 MB / 1.32 GB, free: 15.87 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.345e-05/0.9648, allocations: 59.97 kB / 1.32 GB, free: 15.8 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008581/0.9656, allocations: 0.7909 MB / 1.321 GB, free: 14.98 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 5.673e-05/0.9657, allocations: 41.7 kB / 1.321 GB, free: 14.93 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003415/0.9661, allocations: 0.5305 MB / 1.322 GB, free: 14.39 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001757/0.9662, allocations: 248.4 kB / 1.322 GB, free: 14.15 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002062/0.9665, allocations: 146.6 kB / 1.322 GB, free: 14 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001081/0.9666, allocations: 341.9 kB / 1.322 GB, free: 13.66 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004643/0.967, allocations: 296.7 kB / 1.323 GB, free: 13.37 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005997/0.9676, allocations: 0.4968 MB / 1.323 GB, free: 12.79 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001065/0.9687, allocations: 0.7913 MB / 1.324 GB, free: 11.94 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.889e-06/0.9687, allocations: 4 kB / 1.324 GB, free: 11.93 MB / 1.061 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.00135/0.9701, allocations: 0.9057 MB / 1.325 GB, free: 11.02 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.611e-05/0.9701, allocations: 8 kB / 1.325 GB, free: 11.01 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.457e-06/0.9701, allocations: 7.984 kB / 1.325 GB, free: 11 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.762e-05/0.9702, allocations: 12.56 kB / 1.325 GB, free: 10.99 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008316/0.971, allocations: 179.7 kB / 1.325 GB, free: 10.82 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003432/0.9713, allocations: 0.6055 MB / 1.325 GB, free: 10.19 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006579/0.972, allocations: 83.11 kB / 1.326 GB, free: 10.11 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.797e-05/0.9721, allocations: 39.98 kB / 1.326 GB, free: 10.07 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007968/0.9729, allocations: 0.541 MB / 1.326 GB, free: 9.52 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006553/0.9736, allocations: 0.493 MB / 1.327 GB, free: 8.949 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001059/0.9746, allocations: 0.7913 MB / 1.327 GB, free: 8.094 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.494e-06/0.9746, allocations: 0 / 1.327 GB, free: 8.094 MB / 1.061 GB Notification: Performance of matching and sorting (n=96) (initialization_lambda0): time 0.001326/0.976, allocations: 0.9062 MB / 1.328 GB, free: 7.18 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.068e-05/0.976, allocations: 8 kB / 1.328 GB, free: 7.172 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.976, allocations: 4 kB / 1.328 GB, free: 7.168 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.747e-06/0.976, allocations: 8 kB / 1.328 GB, free: 7.16 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006405/0.9767, allocations: 175.7 kB / 1.328 GB, free: 6.988 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.344e-05/0.9767, allocations: 11.94 kB / 1.328 GB, free: 6.977 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006451/0.9773, allocations: 63.5 kB / 1.329 GB, free: 6.914 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.587e-05/0.9774, allocations: 32 kB / 1.329 GB, free: 6.883 MB / 1.061 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.0001875/0.9776, allocations: 232.1 kB / 1.329 GB, free: 6.648 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001446/0.9777, allocations: 102.8 kB / 1.329 GB, free: 6.547 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001325/0.9791, allocations: 0.7976 MB / 1.33 GB, free: 5.734 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00104/0.9801, allocations: 0.8788 MB / 1.331 GB, free: 4.789 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.9801, allocations: 0 / 1.331 GB, free: 4.789 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003642/0.9805, allocations: 255.7 kB / 1.331 GB, free: 4.52 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001252/0.9806, allocations: 16 kB / 1.331 GB, free: 4.504 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004745/0.9811, allocations: 16.73 kB / 1.331 GB, free: 4.488 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.426e-05/0.9812, allocations: 36.52 kB / 1.331 GB, free: 4.453 MB / 1.061 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00165/0.9829, allocations: 0.8665 MB / 1.332 GB, free: 3.578 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001663/0.9845, allocations: 1.329 MB / 1.333 GB, free: 2.234 MB / 1.061 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004643/0.985, allocations: 332.3 kB / 1.333 GB, free: 1.906 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0006135/0.9856, allocations: 0.5499 MB / 1.334 GB, free: 1.344 MB / 1.061 GB Notification: Performance of Backend: time 2.91e-07/0.9856, allocations: 0 / 1.334 GB, free: 1.344 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.002789/0.9884, allocations: 1.352 MB / 1.335 GB, free: 4 kB / 1.061 GB Notification: Performance of SimCode: time 0.003864/0.9923, allocations: 2.782 MB / 1.338 GB, free: 13.18 MB / 1.076 GB Notification: Performance of Templates: time 0.0346/1.027, allocations: 23.99 MB / 1.361 GB, free: 5.441 MB / 1.092 GB make -j1 -f Buildings_9_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.makefile (rm -f Buildings_9_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe >> ../files/Buildings_9_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.sim & ./Buildings_9_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Sensors_Conversions_Examples_To_VolumeFraction.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches