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.0009349/0.0009347, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.0009269/0.0009268, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.344/1.344, allocations: 223.3 MB / 240 MB, free: 5.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.696/2.696, allocations: 462.6 MB / 0.736 GB, free: 15.74 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003314/0.0003314, allocations: 11.03 kB / 0.9021 GB, free: 36.71 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2633/0.2637, allocations: 159.6 MB / 1.058 GB, free: 5.34 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction): time 0.1725/0.4362, allocations: 180.2 MB / 1.234 GB, free: 0.6562 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.01244/0.4487, allocations: 10.18 MB / 1.244 GB, free: 6.457 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009745/0.4497, allocations: 39.75 kB / 1.244 GB, free: 6.418 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001127/0.4509, allocations: 369.5 kB / 1.244 GB, free: 6.055 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.003117/0.454, allocations: 1.329 MB / 1.246 GB, free: 4.719 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002329/0.4563, allocations: 0.8784 MB / 1.246 GB, free: 3.848 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.003255/0.4596, allocations: 3.174 MB / 1.25 GB, free: 0.6602 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.5429/1.003, allocations: 0.8705 MB / 1.25 GB, free: 7.609 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003217/1.006, allocations: 1.23 MB / 1.252 GB, free: 7.609 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001667/1.008, allocations: 0.8968 MB / 1.252 GB, free: 7.609 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001863/1.008, allocations: 54.11 kB / 1.253 GB, free: 7.609 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00244/1.01, allocations: 1.032 MB / 1.254 GB, free: 7.609 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.000519/1.011, allocations: 447.4 kB / 1.254 GB, free: 7.609 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0006971/1.011, allocations: 275.5 kB / 1.254 GB, free: 23.58 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.00191/1.013, allocations: 1.622 MB / 1.256 GB, free: 23.52 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/1.013, allocations: 3.828 kB / 1.256 GB, free: 23.52 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.304e-06/1.013, allocations: 2.906 kB / 1.256 GB, free: 23.52 MB / 1.014 GB Notification: Performance of Transformations before backend: time 3.013e-05/1.013, allocations: 6.344 kB / 1.256 GB, free: 23.52 MB / 1.014 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.002233/1.016, allocations: 1.449 MB / 1.257 GB, free: 22.68 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.548e-05/1.016, allocations: 8.406 kB / 1.257 GB, free: 22.68 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00174/1.017, allocations: 327.6 kB / 1.258 GB, free: 22.6 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001641/1.019, allocations: 0.8851 MB / 1.258 GB, free: 22.29 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.191e-05/1.019, allocations: 81.62 kB / 1.259 GB, free: 22.29 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001362/1.019, allocations: 114.3 kB / 1.259 GB, free: 22.28 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001871/1.021, allocations: 1.17 MB / 1.26 GB, free: 22.14 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.571e-05/1.021, allocations: 4.172 kB / 1.26 GB, free: 22.14 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.112e-05/1.021, allocations: 49.23 kB / 1.26 GB, free: 22.14 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.847e-05/1.021, allocations: 35.89 kB / 1.26 GB, free: 22.13 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001517/1.023, allocations: 0.933 MB / 1.261 GB, free: 22.12 MB / 1.014 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.004948/1.028, allocations: 4.722 MB / 1.265 GB, free: 19.46 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001155/1.029, allocations: 0.7387 MB / 1.266 GB, free: 19.41 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000645/1.03, allocations: 404.1 kB / 1.266 GB, free: 19.4 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006103/1.03, allocations: 337.4 kB / 1.267 GB, free: 19.11 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.884e-05/1.03, allocations: 38.56 kB / 1.267 GB, free: 19.07 MB / 1.014 GB Notification: Performance of pre-optimization done (n=69): time 2.615e-06/1.03, allocations: 0 / 1.267 GB, free: 19.07 MB / 1.014 GB Notification: Performance of matching and sorting (n=69): time 0.002156/1.032, allocations: 1.022 MB / 1.268 GB, free: 18.97 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.698e-05/1.033, allocations: 61.94 kB / 1.268 GB, free: 18.91 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001184/1.034, allocations: 0.7915 MB / 1.269 GB, free: 18.75 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 6.771e-05/1.034, allocations: 37.42 kB / 1.269 GB, free: 18.72 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003627/1.034, allocations: 0.5332 MB / 1.269 GB, free: 18.49 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001967/1.034, allocations: 252.6 kB / 1.269 GB, free: 18.33 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.932e-05/1.034, allocations: 18.56 kB / 1.269 GB, free: 18.33 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001336/1.035, allocations: 337.2 kB / 1.27 GB, free: 18.02 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000511/1.035, allocations: 290.5 kB / 1.27 GB, free: 18.02 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006507/1.036, allocations: 0.5057 MB / 1.271 GB, free: 17.8 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006093/1.036, allocations: 374.9 kB / 1.271 GB, free: 17.79 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.608e-06/1.036, allocations: 2.125 kB / 1.271 GB, free: 17.79 MB / 1.014 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001573/1.038, allocations: 0.9112 MB / 1.272 GB, free: 17.7 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001109/1.038, allocations: 223.6 kB / 1.272 GB, free: 17.45 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.293e-05/1.038, allocations: 5.25 kB / 1.272 GB, free: 17.45 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.426e-05/1.038, allocations: 11.39 kB / 1.272 GB, free: 17.45 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000962/1.039, allocations: 184.2 kB / 1.272 GB, free: 17.44 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003688/1.039, allocations: 0.5997 MB / 1.273 GB, free: 16.86 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009589/1.04, allocations: 140.5 kB / 1.273 GB, free: 16.81 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.076e-05/1.041, allocations: 39.95 kB / 1.273 GB, free: 16.8 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.037e-05/1.041, allocations: 5.562 kB / 1.273 GB, free: 16.8 MB / 1.014 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001634/1.042, allocations: 0.798 MB / 1.274 GB, free: 16.79 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.193e-05/1.042, allocations: 10.42 kB / 1.274 GB, free: 16.79 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.784e-05/1.042, allocations: 8.688 kB / 1.274 GB, free: 16.79 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007366/1.043, allocations: 164 kB / 1.274 GB, free: 16.79 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.727e-05/1.043, allocations: 13.27 kB / 1.274 GB, free: 16.79 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008326/1.044, allocations: 129.3 kB / 1.274 GB, free: 16.75 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.514e-05/1.044, allocations: 30.22 kB / 1.274 GB, free: 16.75 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (97): * Single equations (assignments): 96 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000621/1.045, allocations: 407.3 kB / 1.275 GB, free: 16.55 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001518/1.045, allocations: 108.4 kB / 1.275 GB, free: 16.5 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001449/1.046, allocations: 0.8059 MB / 1.275 GB, free: 16.43 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.166e-06/1.046, allocations: 7.125 kB / 1.275 GB, free: 16.43 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.101e-06/1.046, allocations: 1.438 kB / 1.275 GB, free: 16.43 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001109/1.047, allocations: 0.8863 MB / 1.276 GB, free: 16.07 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003597/1.051, allocations: 2.178 MB / 1.278 GB, free: 15.56 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.881e-06/1.051, allocations: 3.094 kB / 1.278 GB, free: 15.56 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000739/1.052, allocations: 155.8 kB / 1.279 GB, free: 15.56 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.028e-05/1.052, allocations: 9.75 kB / 1.279 GB, free: 15.56 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.189e-05/1.052, allocations: 17.09 kB / 1.279 GB, free: 15.56 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002839/1.052, allocations: 0.5945 MB / 1.279 GB, free: 14.97 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.527e-06/1.052, allocations: 2.125 kB / 1.279 GB, free: 14.97 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001787/1.054, allocations: 1.303 MB / 1.28 GB, free: 14.68 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004204/1.054, allocations: 263 kB / 1.281 GB, free: 14.53 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001227/1.054, allocations: 19.22 kB / 1.281 GB, free: 14.53 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006237/1.055, allocations: 67.64 kB / 1.281 GB, free: 14.52 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.791e-05/1.055, allocations: 48.03 kB / 1.281 GB, free: 14.52 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.962e-05/1.055, allocations: 23.78 kB / 1.281 GB, free: 14.52 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0007505/1.056, allocations: 0.5411 MB / 1.281 GB, free: 14.41 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.51e-07/1.056, allocations: 0 / 1.281 GB, free: 14.41 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001594/1.058, allocations: 0.5655 MB / 1.282 GB, free: 14.32 MB / 1.014 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 (69): * Single equations (assignments): 68 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005605/1.058, allocations: 237 kB / 1.282 GB, free: 14.21 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.002204/1.06, allocations: 1.169 MB / 1.283 GB, free: 14.19 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 5.4e-06/1.06, allocations: 5.344 kB / 1.283 GB, free: 14.19 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0005925/1.061, allocations: 368.7 kB / 1.284 GB, free: 14.18 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00218/1.063, allocations: 496.3 kB / 1.284 GB, free: 14.14 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003652/1.067, allocations: 2.802 MB / 1.287 GB, free: 12.74 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007269/1.068, allocations: 1.175 MB / 1.288 GB, free: 12.02 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001247/1.069, allocations: 364.4 kB / 1.288 GB, free: 11.96 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002426/1.069, allocations: 85.42 kB / 1.288 GB, free: 11.96 MB / 1.014 GB Notification: Performance of SimCode: time 5.61e-07/1.069, allocations: 7.938 kB / 1.288 GB, free: 11.95 MB / 1.014 GB Notification: Performance of Templates: time 0.02638/1.095, allocations: 16.57 MB / 1.305 GB, free: 10.91 MB / 1.014 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/jenkins/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