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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.0008337/0.0008336, allocations: 92.7 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009697/0.0009697, allocations: 179.2 kB / 16.92 MB, free: 6.648 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.39/1.39, allocations: 223.3 MB / 241 MB, free: 5.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.492/2.492, allocations: 390.9 MB / 0.667 GB, free: 2.348 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000349/0.000349, allocations: 8 kB / 0.8166 GB, free: 13.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7277/0.7281, allocations: 142.4 MB / 0.9557 GB, free: 7.758 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction): time 0.2299/0.958, allocations: 193.1 MB / 1.144 GB, free: 13.54 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.01906/0.9771, allocations: 10.83 MB / 1.155 GB, free: 2.672 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00209/0.9793, allocations: 39.75 kB / 1.155 GB, free: 2.633 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.002131/0.9814, allocations: 437.5 kB / 1.155 GB, free: 2.203 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.00565/0.9871, allocations: 1.688 MB / 1.157 GB, free: 0.5078 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.003909/0.991, allocations: 1.046 MB / 1.158 GB, free: 15.47 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.005388/0.9965, allocations: 3.739 MB / 1.162 GB, free: 11.71 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002155/0.9986, allocations: 0.9977 MB / 1.163 GB, free: 10.7 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005051/1.004, allocations: 1.421 MB / 1.164 GB, free: 9.285 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002231/1.006, allocations: 0.9326 MB / 1.165 GB, free: 8.352 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0004007/1.006, allocations: 55.94 kB / 1.165 GB, free: 8.297 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00426/1.011, allocations: 1.902 MB / 1.167 GB, free: 6.391 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.000886/1.012, allocations: 450.7 kB / 1.167 GB, free: 5.949 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.001853/1.013, allocations: 0.6505 MB / 1.168 GB, free: 5.289 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.003344/1.017, allocations: 1.699 MB / 1.17 GB, free: 3.586 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.169e-06/1.017, allocations: 0 / 1.17 GB, free: 3.586 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.725e-06/1.017, allocations: 4 kB / 1.17 GB, free: 3.582 MB / 0.92 GB Notification: Performance of Transformations before backend: time 8.012e-05/1.017, allocations: 0 / 1.17 GB, free: 3.582 MB / 0.92 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.003591/1.021, allocations: 1.441 MB / 1.171 GB, free: 2.086 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.902e-05/1.021, allocations: 8.031 kB / 1.171 GB, free: 2.078 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002197/1.023, allocations: 322 kB / 1.171 GB, free: 1.762 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002107/1.025, allocations: 0.8781 MB / 1.172 GB, free: 0.8398 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.838e-05/1.025, allocations: 74 kB / 1.172 GB, free: 0.7695 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003021/1.025, allocations: 108 kB / 1.172 GB, free: 0.6641 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002445/1.028, allocations: 1.179 MB / 1.173 GB, free: 15.44 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.983e-05/1.028, allocations: 0 / 1.173 GB, free: 15.44 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000106/1.028, allocations: 36 kB / 1.174 GB, free: 15.41 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.954e-05/1.028, allocations: 42 kB / 1.174 GB, free: 15.37 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001913/1.03, allocations: 0.9446 MB / 1.174 GB, free: 14.42 MB / 0.9356 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.006838/1.037, allocations: 4.71 MB / 1.179 GB, free: 9.324 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001384/1.038, allocations: 0.7136 MB / 1.18 GB, free: 8.605 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006169/1.039, allocations: 402.9 kB / 1.18 GB, free: 8.211 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006734/1.04, allocations: 331.8 kB / 1.18 GB, free: 7.832 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.642e-05/1.04, allocations: 39.12 kB / 1.181 GB, free: 7.781 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=68): time 5.019e-06/1.04, allocations: 0 / 1.181 GB, free: 7.781 MB / 0.9356 GB Notification: Performance of matching and sorting (n=68): time 0.002085/1.042, allocations: 1.013 MB / 1.182 GB, free: 6.762 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.085e-05/1.042, allocations: 55.97 kB / 1.182 GB, free: 6.695 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001056/1.043, allocations: 0.7948 MB / 1.182 GB, free: 5.875 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 8.267e-05/1.043, allocations: 41.7 kB / 1.182 GB, free: 5.828 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004076/1.043, allocations: 0.5383 MB / 1.183 GB, free: 5.281 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.000232/1.044, allocations: 236.5 kB / 1.183 GB, free: 5.047 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.904e-05/1.044, allocations: 65.69 kB / 1.183 GB, free: 4.977 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.000127/1.044, allocations: 341.9 kB / 1.184 GB, free: 4.637 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004792/1.044, allocations: 293.8 kB / 1.184 GB, free: 4.348 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006713/1.045, allocations: 0.4968 MB / 1.184 GB, free: 3.773 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001142/1.046, allocations: 0.7913 MB / 1.185 GB, free: 2.918 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.1e-05/1.046, allocations: 4 kB / 1.185 GB, free: 2.914 MB / 0.9356 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001457/1.048, allocations: 0.9139 MB / 1.186 GB, free: 1.992 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001398/1.048, allocations: 221.1 kB / 1.186 GB, free: 1.711 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.073e-05/1.048, allocations: 4 kB / 1.186 GB, free: 1.707 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.061e-05/1.048, allocations: 11.98 kB / 1.186 GB, free: 1.695 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008502/1.049, allocations: 191.7 kB / 1.186 GB, free: 1.508 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003894/1.049, allocations: 0.6055 MB / 1.187 GB, free: 0.8789 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009886/1.05, allocations: 139.1 kB / 1.187 GB, free: 0.7422 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.328e-05/1.05, allocations: 32 kB / 1.187 GB, free: 0.7109 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.011e-05/1.05, allocations: 4 kB / 1.187 GB, free: 0.707 MB / 0.9356 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001307/1.051, allocations: 0.7882 MB / 1.188 GB, free: 15.92 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.327e-06/1.051, allocations: 11.94 kB / 1.188 GB, free: 15.91 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.082e-05/1.051, allocations: 8 kB / 1.188 GB, free: 15.9 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006189/1.052, allocations: 163.8 kB / 1.188 GB, free: 15.74 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.858e-05/1.052, allocations: 19.88 kB / 1.188 GB, free: 15.72 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000938/1.053, allocations: 123.8 kB / 1.188 GB, free: 15.6 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.563e-05/1.053, allocations: 35.98 kB / 1.188 GB, free: 15.56 MB / 0.9512 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.0006741/1.054, allocations: 402.2 kB / 1.189 GB, free: 15.16 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002236/1.054, allocations: 98.78 kB / 1.189 GB, free: 15.06 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001549/1.056, allocations: 0.7976 MB / 1.19 GB, free: 14.25 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.022e-05/1.056, allocations: 11.94 kB / 1.19 GB, free: 14.24 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.303e-06/1.056, allocations: 0 / 1.19 GB, free: 14.24 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001119/1.057, allocations: 0.8788 MB / 1.19 GB, free: 13.3 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003875/1.061, allocations: 2.155 MB / 1.192 GB, free: 11.04 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.454e-06/1.061, allocations: 4 kB / 1.192 GB, free: 11.04 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007439/1.061, allocations: 159.8 kB / 1.193 GB, free: 10.88 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.635e-05/1.061, allocations: 4.281 kB / 1.193 GB, free: 10.88 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.619e-05/1.062, allocations: 20 kB / 1.193 GB, free: 10.86 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003658/1.062, allocations: 0.6015 MB / 1.193 GB, free: 10.23 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/1.062, allocations: 0 / 1.193 GB, free: 10.23 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001888/1.064, allocations: 1.28 MB / 1.194 GB, free: 8.902 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005059/1.064, allocations: 255.8 kB / 1.195 GB, free: 8.633 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001751/1.065, allocations: 16 kB / 1.195 GB, free: 8.617 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007488/1.065, allocations: 73.36 kB / 1.195 GB, free: 8.547 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.77e-05/1.065, allocations: 48.5 kB / 1.195 GB, free: 8.5 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.878e-05/1.065, allocations: 20 kB / 1.195 GB, free: 8.48 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0008633/1.066, allocations: 0.546 MB / 1.195 GB, free: 7.922 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.71e-07/1.066, allocations: 4 kB / 1.195 GB, free: 7.918 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.001703/1.068, allocations: 0.557 MB / 1.196 GB, free: 7.359 MB / 0.9512 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.0006346/1.069, allocations: 241.4 kB / 1.196 GB, free: 7.133 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.002337/1.071, allocations: 1.165 MB / 1.197 GB, free: 5.969 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 5.159e-06/1.071, allocations: 256 / 1.197 GB, free: 5.969 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.00061/1.072, allocations: 363 kB / 1.198 GB, free: 5.613 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002827/1.075, allocations: 487.3 kB / 1.198 GB, free: 5.137 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00471/1.079, allocations: 2.922 MB / 1.201 GB, free: 2.156 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009346/1.08, allocations: 1.167 MB / 1.202 GB, free: 0.9609 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003438/1.081, allocations: 99.34 kB / 1.202 GB, free: 0.8633 MB / 0.9512 GB Notification: Performance of SimCode: time 8.51e-07/1.081, allocations: 4 kB / 1.202 GB, free: 0.8594 MB / 0.9512 GB Notification: Performance of Templates: time 0.03461/1.115, allocations: 21.02 MB / 1.223 GB, free: 11.98 MB / 0.9825 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