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.0019/0.0019, allocations: 108.4 kB / 15.99 MB, free: 6.348 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.002053/0.002054, allocations: 191.3 kB / 16.91 MB, free: 6.188 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.404/1.404, allocations: 222.9 MB / 240.6 MB, free: 15.42 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.684/2.684, allocations: 469.8 MB / 0.7427 GB, free: 3.625 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001966/0.001966, allocations: 71.52 kB / 0.9087 GB, free: 14.22 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3464/0.3484, allocations: 159.1 MB / 1.064 GB, free: 15.1 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction): time 0.7368/1.085, allocations: 195.5 MB / 1.255 GB, free: 5.707 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.01712/1.102, allocations: 10.81 MB / 1.266 GB, free: 10.86 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001812/1.104, allocations: 43.75 kB / 1.266 GB, free: 10.82 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001994/1.106, allocations: 457.5 kB / 1.266 GB, free: 10.37 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.005217/1.112, allocations: 1.677 MB / 1.268 GB, free: 8.688 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.003512/1.115, allocations: 1.068 MB / 1.269 GB, free: 7.629 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.004238/1.119, allocations: 2.784 MB / 1.271 GB, free: 4.836 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001837/1.121, allocations: 1.167 MB / 1.273 GB, free: 3.656 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005161/1.126, allocations: 1.597 MB / 1.274 GB, free: 2.066 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0023/1.129, allocations: 1.014 MB / 1.275 GB, free: 1.055 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0002389/1.129, allocations: 124 kB / 1.275 GB, free: 0.9336 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003634/1.133, allocations: 1.781 MB / 1.277 GB, free: 15.14 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.000636/1.133, allocations: 0.518 MB / 1.277 GB, free: 14.63 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001001/1.134, allocations: 0.7153 MB / 1.278 GB, free: 13.91 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.002711/1.137, allocations: 1.742 MB / 1.28 GB, free: 12.16 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/1.137, allocations: 11.88 kB / 1.28 GB, free: 12.15 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.894e-06/1.137, allocations: 0 / 1.28 GB, free: 12.15 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.773e-05/1.137, allocations: 0 / 1.28 GB, free: 12.15 MB / 0.9981 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.002966/1.14, allocations: 1.69 MB / 1.282 GB, free: 10.41 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.433e-05/1.14, allocations: 8.031 kB / 1.282 GB, free: 10.4 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001908/1.142, allocations: 326 kB / 1.282 GB, free: 10.08 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001574/1.143, allocations: 0.8703 MB / 1.283 GB, free: 9.164 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.55e-05/1.144, allocations: 82 kB / 1.283 GB, free: 9.086 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001596/1.144, allocations: 100 kB / 1.283 GB, free: 8.988 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002056/1.146, allocations: 1.175 MB / 1.284 GB, free: 7.773 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.056e-05/1.146, allocations: 0 / 1.284 GB, free: 7.773 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.925e-05/1.146, allocations: 47.94 kB / 1.284 GB, free: 7.727 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.484e-05/1.146, allocations: 38 kB / 1.284 GB, free: 7.691 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001633/1.148, allocations: 0.9446 MB / 1.285 GB, free: 6.742 MB / 0.9981 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.006012/1.154, allocations: 4.71 MB / 1.29 GB, free: 1.645 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001274/1.155, allocations: 0.7206 MB / 1.29 GB, free: 0.9102 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000612/1.156, allocations: 394.9 kB / 1.291 GB, free: 0.5234 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006463/1.156, allocations: 328.7 kB / 1.291 GB, free: 152 kB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.109e-05/1.156, allocations: 39.12 kB / 1.291 GB, free: 104 kB / 0.9981 GB Notification: Performance of pre-optimization done (n=68): time 2.835e-06/1.156, allocations: 0 / 1.291 GB, free: 104 kB / 0.9981 GB Notification: Performance of matching and sorting (n=68): time 0.002061/1.158, allocations: 1.001 MB / 1.292 GB, free: 15.09 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.885e-05/1.158, allocations: 55.97 kB / 1.292 GB, free: 15.03 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001088/1.16, allocations: 0.7987 MB / 1.293 GB, free: 14.2 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 6.989e-05/1.16, allocations: 37.7 kB / 1.293 GB, free: 14.16 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004511/1.16, allocations: 0.5383 MB / 1.293 GB, free: 13.61 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002409/1.16, allocations: 240.5 kB / 1.294 GB, free: 13.38 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002423/1.161, allocations: 146.6 kB / 1.294 GB, free: 13.23 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001581/1.161, allocations: 341.9 kB / 1.294 GB, free: 12.89 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005244/1.161, allocations: 300.6 kB / 1.294 GB, free: 12.59 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007069/1.162, allocations: 0.4981 MB / 1.295 GB, free: 12.02 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001213/1.163, allocations: 0.7913 MB / 1.296 GB, free: 11.16 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.438e-06/1.163, allocations: 4 kB / 1.296 GB, free: 11.16 MB / 1.014 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001672/1.165, allocations: 0.9141 MB / 1.297 GB, free: 10.23 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.231e-05/1.165, allocations: 8 kB / 1.297 GB, free: 10.23 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.296e-05/1.165, allocations: 4 kB / 1.297 GB, free: 10.22 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.373e-05/1.165, allocations: 12 kB / 1.297 GB, free: 10.21 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008927/1.166, allocations: 176.8 kB / 1.297 GB, free: 10.04 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004816/1.166, allocations: 0.6016 MB / 1.297 GB, free: 9.414 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001018/1.167, allocations: 139.1 kB / 1.298 GB, free: 9.277 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.07e-05/1.167, allocations: 39.92 kB / 1.298 GB, free: 9.238 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009664/1.168, allocations: 0.5409 MB / 1.298 GB, free: 8.691 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007063/1.169, allocations: 0.4979 MB / 1.299 GB, free: 8.117 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001218/1.17, allocations: 0.7874 MB / 1.299 GB, free: 7.266 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.236e-06/1.17, allocations: 4 kB / 1.299 GB, free: 7.262 MB / 1.014 GB Notification: Performance of matching and sorting (n=96) (initialization_lambda0): time 0.001609/1.172, allocations: 0.9063 MB / 1.3 GB, free: 6.348 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.64e-05/1.172, allocations: 8.031 kB / 1.3 GB, free: 6.34 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.316e-05/1.172, allocations: 8 kB / 1.3 GB, free: 6.332 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.125e-05/1.172, allocations: 11.94 kB / 1.3 GB, free: 6.32 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006651/1.173, allocations: 167.7 kB / 1.3 GB, free: 6.156 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.207e-05/1.173, allocations: 8 kB / 1.3 GB, free: 6.148 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009273/1.174, allocations: 123.5 kB / 1.301 GB, free: 6.027 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.773e-05/1.174, allocations: 35.92 kB / 1.301 GB, free: 5.992 MB / 1.014 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.000301/1.174, allocations: 224.1 kB / 1.301 GB, free: 5.766 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001763/1.174, allocations: 98.78 kB / 1.301 GB, free: 5.668 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001563/1.176, allocations: 0.8094 MB / 1.302 GB, free: 4.848 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.887e-06/1.176, allocations: 8 kB / 1.302 GB, free: 4.84 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/1.176, allocations: 0 / 1.302 GB, free: 4.84 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001189/1.177, allocations: 0.8749 MB / 1.303 GB, free: 3.895 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004043/1.181, allocations: 2.135 MB / 1.305 GB, free: 1.656 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.005e-06/1.181, allocations: 8.219 kB / 1.305 GB, free: 1.648 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007652/1.182, allocations: 151.9 kB / 1.305 GB, free: 1.5 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.494e-05/1.182, allocations: 8 kB / 1.305 GB, free: 1.492 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.611e-05/1.182, allocations: 19.98 kB / 1.305 GB, free: 1.473 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004083/1.182, allocations: 0.5938 MB / 1.305 GB, free: 0.8555 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.749e-06/1.182, allocations: 4 kB / 1.305 GB, free: 0.8516 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002012/1.184, allocations: 1.276 MB / 1.307 GB, free: 15.53 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004849/1.185, allocations: 259.7 kB / 1.307 GB, free: 15.25 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001195/1.185, allocations: 19.94 kB / 1.307 GB, free: 15.23 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006264/1.186, allocations: 63.8 kB / 1.307 GB, free: 15.17 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.284e-05/1.186, allocations: 56.44 kB / 1.307 GB, free: 15.12 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.403e-05/1.186, allocations: 23.98 kB / 1.307 GB, free: 15.09 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0007731/1.187, allocations: 0.5421 MB / 1.308 GB, free: 14.54 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.6e-07/1.187, allocations: 0 / 1.308 GB, free: 14.54 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.001475/1.188, allocations: 0.5648 MB / 1.308 GB, free: 13.97 MB / 1.029 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.0006385/1.189, allocations: 257.1 kB / 1.308 GB, free: 13.73 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.002806/1.192, allocations: 1.29 MB / 1.31 GB, free: 12.44 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 5.751e-06/1.192, allocations: 0 / 1.31 GB, free: 12.44 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0006103/1.192, allocations: 359 kB / 1.31 GB, free: 12.09 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002124/1.194, allocations: 0.4978 MB / 1.31 GB, free: 11.61 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004317/1.199, allocations: 2.802 MB / 1.313 GB, free: 8.75 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008893/1.2, allocations: 1.175 MB / 1.314 GB, free: 7.547 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003035/1.2, allocations: 87.42 kB / 1.314 GB, free: 7.461 MB / 1.029 GB Notification: Performance of SimCode: time 1.283e-06/1.2, allocations: 0 / 1.314 GB, free: 7.461 MB / 1.029 GB Notification: Performance of Templates: time 0.03268/1.233, allocations: 21.13 MB / 1.335 GB, free: 2.465 MB / 1.045 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