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.001533/0.001533, allocations: 107.3 kB / 16.41 MB, free: 6.406 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.001462/0.001462, allocations: 191.4 kB / 17.34 MB, free: 5.695 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.381/1.381, allocations: 222.9 MB / 241 MB, free: 15.08 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.271/2.271, allocations: 390.3 MB / 0.6655 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001424/0.001424, allocations: 63.89 kB / 0.9516 GB, free: 7.641 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9296/0.931, allocations: 140.4 MB / 1.089 GB, free: 5.539 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction): time 0.2543/1.185, allocations: 198 MB / 1.282 GB, free: 7.625 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.01762/1.203, allocations: 10.91 MB / 1.293 GB, free: 12.68 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00213/1.205, allocations: 43.75 kB / 1.293 GB, free: 12.64 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.002129/1.207, allocations: 0.5355 MB / 1.293 GB, free: 12.1 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.006133/1.214, allocations: 1.871 MB / 1.295 GB, free: 10.22 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.003777/1.217, allocations: 1.16 MB / 1.296 GB, free: 9.062 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.004283/1.222, allocations: 2.792 MB / 1.299 GB, free: 6.262 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002164/1.224, allocations: 1.209 MB / 1.3 GB, free: 5.035 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004966/1.229, allocations: 1.663 MB / 1.302 GB, free: 3.379 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002112/1.231, allocations: 0.9556 MB / 1.303 GB, free: 2.422 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0005119/1.232, allocations: 124 kB / 1.303 GB, free: 2.301 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003943/1.235, allocations: 1.731 MB / 1.304 GB, free: 0.5664 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0008348/1.236, allocations: 0.5181 MB / 1.305 GB, free: 48 kB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.001548/1.238, allocations: 0.7155 MB / 1.306 GB, free: 15.32 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.004918/1.243, allocations: 2.356 MB / 1.308 GB, free: 12.96 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/1.243, allocations: 0 / 1.308 GB, free: 12.96 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.533e-06/1.243, allocations: 0 / 1.308 GB, free: 12.96 MB / 1.045 GB Notification: Performance of Transformations before backend: time 7.893e-05/1.243, allocations: 0 / 1.308 GB, free: 12.96 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.003883/1.247, allocations: 1.697 MB / 1.31 GB, free: 11.21 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.073e-05/1.247, allocations: 8.031 kB / 1.31 GB, free: 11.2 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002039/1.249, allocations: 326 kB / 1.31 GB, free: 10.88 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00181/1.251, allocations: 0.9171 MB / 1.311 GB, free: 9.922 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.553e-05/1.251, allocations: 74 kB / 1.311 GB, free: 9.852 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002052/1.251, allocations: 112 kB / 1.311 GB, free: 9.742 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002162/1.253, allocations: 1.171 MB / 1.312 GB, free: 8.531 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.667e-05/1.253, allocations: 0 / 1.312 GB, free: 8.531 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001005/1.253, allocations: 43.98 kB / 1.312 GB, free: 8.488 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.69e-05/1.253, allocations: 45.92 kB / 1.312 GB, free: 8.445 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001742/1.255, allocations: 0.9368 MB / 1.313 GB, free: 7.504 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.006736/1.262, allocations: 4.717 MB / 1.318 GB, free: 2.398 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001255/1.263, allocations: 0.7128 MB / 1.318 GB, free: 1.68 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005888/1.264, allocations: 395 kB / 1.319 GB, free: 1.293 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006343/1.264, allocations: 320.7 kB / 1.319 GB, free: 0.9219 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.813e-05/1.264, allocations: 43.12 kB / 1.319 GB, free: 0.8711 MB / 1.045 GB Notification: Performance of pre-optimization done (n=68): time 2.635e-06/1.264, allocations: 0 / 1.319 GB, free: 0.8711 MB / 1.045 GB Notification: Performance of matching and sorting (n=68): time 0.002093/1.267, allocations: 1.005 MB / 1.32 GB, free: 15.86 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.983e-05/1.267, allocations: 59.97 kB / 1.32 GB, free: 15.79 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001235/1.268, allocations: 0.7948 MB / 1.321 GB, free: 14.97 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 8.799e-05/1.268, allocations: 37.7 kB / 1.321 GB, free: 14.93 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004627/1.268, allocations: 0.5344 MB / 1.322 GB, free: 14.38 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002655/1.269, allocations: 248.5 kB / 1.322 GB, free: 14.14 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002511/1.269, allocations: 142.6 kB / 1.322 GB, free: 13.99 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001371/1.269, allocations: 345.9 kB / 1.322 GB, free: 13.65 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000519/1.27, allocations: 300.7 kB / 1.323 GB, free: 13.35 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006392/1.27, allocations: 0.4968 MB / 1.323 GB, free: 12.77 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001109/1.271, allocations: 0.7796 MB / 1.324 GB, free: 11.93 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.023e-06/1.271, allocations: 7.938 kB / 1.324 GB, free: 11.92 MB / 1.061 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001536/1.273, allocations: 0.9136 MB / 1.325 GB, free: 11 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.051e-05/1.273, allocations: 8 kB / 1.325 GB, free: 10.99 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.999e-06/1.273, allocations: 4 kB / 1.325 GB, free: 10.99 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.691e-05/1.273, allocations: 8 kB / 1.325 GB, free: 10.98 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000835/1.274, allocations: 180.4 kB / 1.325 GB, free: 10.8 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003999/1.274, allocations: 0.6055 MB / 1.325 GB, free: 10.18 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007906/1.275, allocations: 87.09 kB / 1.326 GB, free: 10.09 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.456e-05/1.275, allocations: 36 kB / 1.326 GB, free: 10.05 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009025/1.276, allocations: 0.5448 MB / 1.326 GB, free: 9.504 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006029/1.277, allocations: 0.493 MB / 1.327 GB, free: 8.934 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001056/1.278, allocations: 0.7874 MB / 1.327 GB, free: 8.082 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.855e-06/1.278, allocations: 4 kB / 1.327 GB, free: 8.078 MB / 1.061 GB Notification: Performance of matching and sorting (n=96) (initialization_lambda0): time 0.001395/1.279, allocations: 0.9063 MB / 1.328 GB, free: 7.164 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.287e-05/1.279, allocations: 8.062 kB / 1.328 GB, free: 7.156 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.694e-06/1.279, allocations: 8 kB / 1.328 GB, free: 7.148 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.516e-05/1.279, allocations: 11.94 kB / 1.328 GB, free: 7.137 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006298/1.28, allocations: 167.7 kB / 1.328 GB, free: 6.973 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.08e-05/1.28, allocations: 15.92 kB / 1.328 GB, free: 6.957 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006661/1.281, allocations: 59.52 kB / 1.329 GB, free: 6.898 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.767e-05/1.281, allocations: 36 kB / 1.329 GB, free: 6.863 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.0002398/1.281, allocations: 239.9 kB / 1.329 GB, free: 6.621 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001501/1.281, allocations: 98.78 kB / 1.329 GB, free: 6.523 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001364/1.282, allocations: 0.7859 MB / 1.33 GB, free: 5.723 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.118e-05/1.282, allocations: 4 kB / 1.33 GB, free: 5.719 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.126e-05/1.282, allocations: 7.984 kB / 1.33 GB, free: 5.711 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00111/1.284, allocations: 0.8788 MB / 1.331 GB, free: 4.766 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003358/1.287, allocations: 2.139 MB / 1.333 GB, free: 2.523 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.029e-05/1.287, allocations: 4 kB / 1.333 GB, free: 2.52 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007068/1.288, allocations: 147.8 kB / 1.333 GB, free: 2.375 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.928e-06/1.288, allocations: 4 kB / 1.333 GB, free: 2.371 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.082e-05/1.288, allocations: 23.98 kB / 1.333 GB, free: 2.348 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000344/1.288, allocations: 0.6057 MB / 1.333 GB, free: 1.719 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/1.288, allocations: 80 / 1.333 GB, free: 1.719 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001718/1.29, allocations: 1.284 MB / 1.335 GB, free: 400 kB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003628/1.29, allocations: 251.7 kB / 1.335 GB, free: 128 kB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001143/1.29, allocations: 23.94 kB / 1.335 GB, free: 104 kB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004692/1.291, allocations: 23.98 kB / 1.335 GB, free: 80 kB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.592e-05/1.291, allocations: 44.44 kB / 1.335 GB, free: 36 kB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.351e-05/1.291, allocations: 31.98 kB / 1.335 GB, free: 4 kB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0007041/1.292, allocations: 0.5384 MB / 1.335 GB, free: 15.45 MB / 1.076 GB Notification: Performance of sort global known variables: time 2.5e-07/1.292, allocations: 0 / 1.335 GB, free: 15.45 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.001323/1.293, allocations: 0.5647 MB / 1.336 GB, free: 14.88 MB / 1.076 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 7 (limPID.I.y,vol.dynBal.medium.Xi[1],vol.dynBal.U,vol.dynBal.m,vol.dynBal.mC[1],senTraSubPeo.C,senTraSubFre.C) * 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 (68): * Single equations (assignments): 67 * 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.0005659/1.294, allocations: 244.5 kB / 1.336 GB, free: 14.65 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.002115/1.296, allocations: 1.168 MB / 1.337 GB, free: 13.48 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 3.858e-06/1.296, allocations: 0 / 1.337 GB, free: 13.48 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0005454/1.296, allocations: 368.6 kB / 1.338 GB, free: 13.12 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001964/1.298, allocations: 498 kB / 1.338 GB, free: 12.65 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00355/1.302, allocations: 2.322 MB / 1.341 GB, free: 10.27 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000717/1.303, allocations: 1.171 MB / 1.342 GB, free: 9.066 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002545/1.303, allocations: 87.42 kB / 1.342 GB, free: 8.98 MB / 1.076 GB Notification: Performance of SimCode: time 6.31e-07/1.303, allocations: 0 / 1.342 GB, free: 8.98 MB / 1.076 GB Notification: Performance of Templates: time 0.03485/1.338, allocations: 21.24 MB / 1.362 GB, free: 3.879 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